summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-11-11 15:56:01 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-15 09:46:26 +0100
commit54a9a47a9100ffbe185b35f4067b08fc3374205a (patch)
treec5e639eb42ca6298ff4b917532ce9d0d1b33cb71 /source4/dsdb/samdb/ldb_modules
parent236e6fecdad7d224a86b6c4bf789214e31018da1 (diff)
downloadsamba-54a9a47a9100ffbe185b35f4067b08fc3374205a.tar.gz
samba-54a9a47a9100ffbe185b35f4067b08fc3374205a.tar.bz2
samba-54a9a47a9100ffbe185b35f4067b08fc3374205a.zip
s4:dsdb/samldb: use DSDB_FLAG_AS_SYSTEM in samldb_schema_info_update()
We should only be able to update the schemaInfo internaly. metze
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/samldb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c
index 6c1452012a..d8f68c884b 100644
--- a/source4/dsdb/samdb/ldb_modules/samldb.c
+++ b/source4/dsdb/samdb/ldb_modules/samldb.c
@@ -803,7 +803,9 @@ static int samldb_schema_info_update(struct samldb_ctx *ac)
}
ret = dsdb_module_schema_info_update(ac->module, schema,
- DSDB_FLAG_NEXT_MODULE, ac->req);
+ DSDB_FLAG_NEXT_MODULE|
+ DSDB_FLAG_AS_SYSTEM,
+ ac->req);
if (ret != LDB_SUCCESS) {
ldb_asprintf_errstring(ldb,
"samldb_schema_info_update: dsdb_module_schema_info_update failed with %s",