diff --git a/servers/slapd/back-ldbm/add.c b/servers/slapd/back-ldbm/add.c index 1579b4607c..141bdb45b5 100644 --- a/servers/slapd/back-ldbm/add.c +++ b/servers/slapd/back-ldbm/add.c @@ -31,7 +31,7 @@ ldbm_back_add( int rc; const char *text; #ifdef SLAPD_SCHEMA_NOT_COMPAT - static AttributeDescription *children = NULL; + AttributeDescription *children = slap_schema.si_ad_children; #else static const char *children = "children"; #endif