From 5904e0013f8eb71253462cc332eb01442ee3dc9e Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 28 May 2000 01:36:03 +0000 Subject: [PATCH] SLAPD_SCHEMA_NOT_COMPAT: add missing AttributeDescriptions --- servers/slapd/back-ldbm/delete.c | 2 +- servers/slapd/back-ldbm/modrdn.c | 2 +- servers/slapd/back-ldbm/passwd.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/servers/slapd/back-ldbm/delete.c b/servers/slapd/back-ldbm/delete.c index 3c9f220f84..ad9a718632 100644 --- a/servers/slapd/back-ldbm/delete.c +++ b/servers/slapd/back-ldbm/delete.c @@ -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 diff --git a/servers/slapd/back-ldbm/modrdn.c b/servers/slapd/back-ldbm/modrdn.c index 978bf20dff..839a396157 100644 --- a/servers/slapd/back-ldbm/modrdn.c +++ b/servers/slapd/back-ldbm/modrdn.c @@ -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 diff --git a/servers/slapd/back-ldbm/passwd.c b/servers/slapd/back-ldbm/passwd.c index 35279e7542..ae427fc76b 100644 --- a/servers/slapd/back-ldbm/passwd.c +++ b/servers/slapd/back-ldbm/passwd.c @@ -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 -- 2.39.5