From 40e7f362126407361dbaa56977e6e2463038dbcc Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 28 Dec 2006 13:06:29 +0000 Subject: r20382: systemAuxiliaryClass and auxiliaryClass are also multivalued attributes metze (This used to be commit 5440c0a99fd8dced9020a47af4dbee74df504219) --- source4/dsdb/schema/schema.h | 4 ++-- source4/dsdb/schema/schema_init.c | 32 ++++++++++++++++---------------- 2 files changed, 18 insertions(+), 18 deletions(-) (limited to 'source4/dsdb/schema') diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h index 34cfcdb401..4911407a21 100644 --- a/source4/dsdb/schema/schema.h +++ b/source4/dsdb/schema/schema.h @@ -77,12 +77,12 @@ struct dsdb_class { const char *subClassOf; - const char *systemAuxiliaryClass; + const char **systemAuxiliaryClass; const char **systemPossSuperiors; const char **systemMustContain; const char **systemMayContain; - const char *auxiliaryClass; + const char **auxiliaryClass; const char **possSuperiors; const char **mustContain; const char **mayContain; diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c index eff7a3c185..a2843385b8 100644 --- a/source4/dsdb/schema/schema_init.c +++ b/source4/dsdb/schema/schema_init.c @@ -305,15 +305,15 @@ WERROR dsdb_class_from_ldb(struct ldb_message *msg, TALLOC_CTX *mem_ctx, struct GET_STRING_LDB(msg, "subClassOf", mem_ctx, obj, subClassOf, True); - GET_STRING_LDB(msg, "systemAuxiliaryClass", mem_ctx, obj, systemAuxiliaryClass, False); - obj->systemPossSuperiors= NULL; - obj->systemMustContain = NULL; - obj->systemMayContain = NULL; + obj->systemAuxiliaryClass = NULL; + obj->systemPossSuperiors = NULL; + obj->systemMustContain = NULL; + obj->systemMayContain = NULL; - GET_STRING_LDB(msg, "auxiliaryClass", mem_ctx, obj, auxiliaryClass, False); - obj->possSuperiors = NULL; - obj->mustContain = NULL; - obj->mayContain = NULL; + obj->auxiliaryClass = NULL; + obj->possSuperiors = NULL; + obj->mustContain = NULL; + obj->mayContain = NULL; GET_STRING_LDB(msg, "defaultSecurityDescriptor", mem_ctx, obj, defaultSecurityDescriptor, False); @@ -573,15 +573,15 @@ WERROR dsdb_class_from_drsuapi(struct dsdb_schema *schema, GET_STRING_DS(schema, r, "subClassOf", mem_ctx, obj, subClassOf, True); - GET_STRING_DS(schema, r, "systemAuxiliaryClass", mem_ctx, obj, systemAuxiliaryClass, False); - obj->systemPossSuperiors= NULL; - obj->systemMustContain = NULL; - obj->systemMayContain = NULL; + obj->systemAuxiliaryClass = NULL; + obj->systemPossSuperiors = NULL; + obj->systemMustContain = NULL; + obj->systemMayContain = NULL; - GET_STRING_DS(schema, r, "auxiliaryClass", mem_ctx, obj, auxiliaryClass, False); - obj->possSuperiors = NULL; - obj->mustContain = NULL; - obj->mayContain = NULL; + obj->auxiliaryClass = NULL; + obj->possSuperiors = NULL; + obj->mustContain = NULL; + obj->mayContain = NULL; GET_STRING_DS(schema, r, "defaultSecurityDescriptor", mem_ctx, obj, defaultSecurityDescriptor, False); -- cgit