summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2009-12-18 18:15:49 +0200
committerAndrew Tridgell <tridge@samba.org>2009-12-21 23:45:00 +1100
commit9f6c81874f6e63f30432814e4f443a69c4e04429 (patch)
tree1cf401a18857a7205d0b74d5630b3f72cf4d41d3 /source4
parent7685bbbc4ea2ffc522a1582a561477dad2c862b2 (diff)
downloadsamba-9f6c81874f6e63f30432814e4f443a69c4e04429.tar.gz
samba-9f6c81874f6e63f30432814e4f443a69c4e04429.tar.bz2
samba-9f6c81874f6e63f30432814e4f443a69c4e04429.zip
s4-drs: Save prefix map using LDB_CONTROL_AS_SYSTEM control
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/schema/schema_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c
index b8cbedcb7d..ccdf97cf2d 100644
--- a/source4/dsdb/schema/schema_init.c
+++ b/source4/dsdb/schema/schema_init.c
@@ -310,7 +310,7 @@ WERROR dsdb_write_prefixes_from_schema_to_ldb(TALLOC_CTX *mem_ctx, struct ldb_co
return WERR_NOMEM;
}
- ldb_ret = samdb_replace( ldb, msg, msg );
+ ldb_ret = samdb_replace_as_system(ldb, temp_ctx, msg);
talloc_free(temp_ctx);