Fill in the auxiliary classes into the dsdb_schema.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 2 Jul 2008 05:19:49 +0000 (15:19 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 2 Jul 2008 05:19:49 +0000 (15:19 +1000)
Andrew Bartlett
(This used to be commit 615564b3daec0ffe17d05599b7ec8688619f5c65)

source4/dsdb/schema/schema_init.c

index 9c70e9b7c8247d70835dfa9f74000fda9f6e3c58..f71c14a95dc75ac7c4da2572fc73612d36f29c56 100644 (file)
@@ -535,9 +535,8 @@ WERROR dsdb_class_from_ldb(const struct dsdb_schema *schema,
  
        GET_STRING_LDB(msg, "subClassOf", mem_ctx, obj, subClassOf, true);
 
  
        GET_STRING_LDB(msg, "subClassOf", mem_ctx, obj, subClassOf, true);
 
-       obj->systemAuxiliaryClass       = NULL;
-
-       obj->auxiliaryClass             = NULL;
+       GET_STRING_LIST_LDB(msg, "systemAuxiliaryClass", mem_ctx, obj, systemAuxiliaryClass, false);
+       GET_STRING_LIST_LDB(msg, "auxiliaryClass", mem_ctx, obj, auxiliaryClass, false);
 
        GET_STRING_LIST_LDB(msg, "systemMustContain", mem_ctx, obj, systemMustContain, false);
        GET_STRING_LIST_LDB(msg, "systemMayContain", mem_ctx, obj, systemMayContain, false);
 
        GET_STRING_LIST_LDB(msg, "systemMustContain", mem_ctx, obj, systemMustContain, false);
        GET_STRING_LIST_LDB(msg, "systemMayContain", mem_ctx, obj, systemMayContain, false);