mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
s4-drs: Save prefix map using LDB_CONTROL_AS_SYSTEM control
Signed-off-by: Andrew Tridgell <tridge@samba.org>
This commit is contained in:
parent
7685bbbc4e
commit
9f6c81874f
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user