Fix typo that prevented rootdn logins.

This commit is contained in:
Howard Chu 2001-11-24 02:40:59 +00:00
parent bd091ce276
commit 49e3e8899d

View File

@ -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 ) );