]> git.sur5r.net Git - openldap/commitdiff
SLAPD_SCHEMA_NOT_COMPAT: fix bind acls
authorKurt Zeilenga <kurt@openldap.org>
Sat, 27 May 2000 23:16:30 +0000 (23:16 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 27 May 2000 23:16:30 +0000 (23:16 +0000)
servers/slapd/back-ldbm/bind.c

index 739a358f124ad90f7fc21fafb2989086a0c8410c..e901ad54cd2689262c5dce6f28e0dc079321d367 100644 (file)
@@ -41,8 +41,8 @@ ldbm_back_bind(
 #endif
 
 #ifdef SLAPD_SCHEMA_NOT_COMPAT
-       static AttributeDescription *password = NULL;
-       static AttributeDescription *entry = NULL;
+       AttributeDescription *password = slap_schema.si_ad_userPassword;
+       AttributeDescription *entry = slap_schema.si_ad_entry;
 #else
        static const char *password = "userpassword";
        static const char *entry = "entry";