]> git.sur5r.net Git - openldap/commitdiff
Fix typo that prevented rootdn logins.
authorHoward Chu <hyc@openldap.org>
Sat, 24 Nov 2001 02:40:59 +0000 (02:40 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 24 Nov 2001 02:40:59 +0000 (02:40 +0000)
servers/slapd/back-bdb/bind.c

index 987c3e757dcd14e2f775a3a27e0c972b3508aa2b..a85fb468ba5cedbe4c05a69fee3e08a5319278cc 100644 (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 ) );