From b1ffe82facfbbde118e03d09a057645dbab4cd4e Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Tue, 3 May 2011 20:38:13 +0400 Subject: s4-schema: add systemFlags to dsdb classes objects --- source4/dsdb/schema/schema.h | 1 + source4/dsdb/schema/schema_init.c | 1 + 2 files changed, 2 insertions(+) diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h index 5ba2254a50..75351798c2 100644 --- a/source4/dsdb/schema/schema.h +++ b/source4/dsdb/schema/schema.h @@ -143,6 +143,7 @@ struct dsdb_class { const char *defaultSecurityDescriptor; uint32_t schemaFlagsEx; + uint32_t systemFlags; struct ldb_val msDs_Schema_Extensions; bool showInAdvancedViewOnly; diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c index df6da65cca..70d177c799 100644 --- a/source4/dsdb/schema/schema_init.c +++ b/source4/dsdb/schema/schema_init.c @@ -757,6 +757,7 @@ WERROR dsdb_class_from_ldb(struct dsdb_schema *schema, GET_STRING_LDB(msg, "defaultSecurityDescriptor", obj, obj, defaultSecurityDescriptor, false); GET_UINT32_LDB(msg, "schemaFlagsEx", obj, schemaFlagsEx); + GET_UINT32_LDB(msg, "systemFlags", obj, systemFlags); GET_BLOB_LDB(msg, "msDs-Schema-Extensions", obj, obj, msDs_Schema_Extensions); GET_BOOL_LDB(msg, "showInAdvancedViewOnly", obj, showInAdvancedViewOnly, false); -- cgit