mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix typo that prevented rootdn logins.
This commit is contained in:
parent
bd091ce276
commit
49e3e8899d
@ -149,7 +149,7 @@ bdb_bind(
|
||||
switch ( method ) {
|
||||
case LDAP_AUTH_SIMPLE:
|
||||
/* check for root dn/passwd */
|
||||
if ( be_isroot_pw( be, conn, dn, cred ) ) {
|
||||
if ( be_isroot_pw( be, conn, ndn, cred ) ) {
|
||||
/* front end will send result */
|
||||
if(*edn != NULL) free( *edn );
|
||||
*edn = ch_strdup( be_root_dn( be ) );
|
||||
|
Loading…
Reference in New Issue
Block a user