summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2011-05-03 20:38:13 +0400
committerAndrew Tridgell <tridge@samba.org>2011-07-21 11:44:33 +1000
commitb1ffe82facfbbde118e03d09a057645dbab4cd4e (patch)
tree12d5edecdf7f6509359301c6ac6f4cae64ccf797 /source4/dsdb/schema
parent88df1da2b203e6e7e2022aa0ea88c63acad62ed9 (diff)
downloadsamba-b1ffe82facfbbde118e03d09a057645dbab4cd4e.tar.gz
samba-b1ffe82facfbbde118e03d09a057645dbab4cd4e.tar.bz2
samba-b1ffe82facfbbde118e03d09a057645dbab4cd4e.zip
s4-schema: add systemFlags to dsdb classes objects
Diffstat (limited to 'source4/dsdb/schema')
-rw-r--r--source4/dsdb/schema/schema.h1
-rw-r--r--source4/dsdb/schema/schema_init.c1
2 files changed, 2 insertions, 0 deletions
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);