From: Howard Chu Date: Sat, 24 Nov 2001 02:40:59 +0000 (+0000) Subject: Fix typo that prevented rootdn logins. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~843 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=49e3e8899d465701bd67b8d2aa7f6b75a96e6c5d;p=openldap Fix typo that prevented rootdn logins. --- diff --git a/servers/slapd/back-bdb/bind.c b/servers/slapd/back-bdb/bind.c index 987c3e757d..a85fb468ba 100644 --- a/servers/slapd/back-bdb/bind.c +++ b/servers/slapd/back-bdb/bind.c @@ -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 ) );