From 49e3e8899d465701bd67b8d2aa7f6b75a96e6c5d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 24 Nov 2001 02:40:59 +0000 Subject: [PATCH] Fix typo that prevented rootdn logins. --- servers/slapd/back-bdb/bind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ); -- 2.39.5