]> git.sur5r.net Git - openldap/commitdiff
SLAPD_SCHEMA_NOT_COMPAT: add missing AttributeDescriptions
authorKurt Zeilenga <kurt@openldap.org>
Sun, 28 May 2000 01:36:03 +0000 (01:36 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 28 May 2000 01:36:03 +0000 (01:36 +0000)
servers/slapd/back-ldbm/delete.c
servers/slapd/back-ldbm/modrdn.c
servers/slapd/back-ldbm/passwd.c

index 3c9f220f8403167ac3e7f491d4707bbca1dee7f9..ad9a718632da36cd3e52d4510d3b4018da7f2767 100644 (file)
@@ -33,7 +33,7 @@ ldbm_back_delete(
        int     rc = -1;
        int             manageDSAit = get_manageDSAit( op );
 #ifdef SLAPD_SCHEMA_NOT_COMPAT
-       static AttributeDescription *children = NULL;
+       AttributeDescription *children = slap_schema.si_ad_children;
 #else
        static const char *children = "children";
 #endif
index 978bf20dfff66b101214cbe5222fee15c822ec90..839a39615725b692335acd3a3deb4a82db39c722 100644 (file)
@@ -45,7 +45,7 @@ ldbm_back_modrdn(
 )
 {
 #ifdef SLAPD_SCHEMA_NOT_COMPAT
-       static AttributeDescription *children = NULL;
+       AttributeDescription *children = slap_schema.si_ad_children;
 #else
        static const char *children = "children";
 #endif
index 35279e7542af00b71065ad06ece02eda993056a8..ae427fc76bf09f65cd2db4de2999f134dc18f136 100644 (file)
@@ -41,7 +41,7 @@ ldbm_back_exop_passwd(
        char *dn;
 
 #ifdef SLAPD_SCHEMA_NOT_COMPAT
-       static AttributeDescription *entry = NULL;
+       AttributeDescription *entry = slap_schema.si_ad_entry;
 #else
        static const char *entry = "entry";
 #endif