summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-11-14 08:54:18 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-15 09:46:28 +0100
commitb33c711851c4d2b47af5782ed4d58ec2e7d9039c (patch)
tree39a0411e6e73f874eb1b9db10dd327e8ed66fcb1 /source4/libnet
parent28d573168cb869a7c4cf85ad094eba3805676cbd (diff)
downloadsamba-b33c711851c4d2b47af5782ed4d58ec2e7d9039c.tar.gz
samba-b33c711851c4d2b47af5782ed4d58ec2e7d9039c.tar.bz2
samba-b33c711851c4d2b47af5782ed4d58ec2e7d9039c.zip
s4:libnet_vampire: use dsdb_modify(..., DSDB_FLAG_AS_SYSTEM) to store prefixMap
metze
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_vampire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c
index 7b4715b3ec..1daf5cf063 100644
--- a/source4/libnet/libnet_vampire.c
+++ b/source4/libnet/libnet_vampire.c
@@ -483,7 +483,7 @@ static NTSTATUS libnet_vampire_cb_apply_schema(struct libnet_vampire_cb_state *s
* somehow updated the prefixMap during this transaction */
prefixMap_el->flags = LDB_FLAG_MOD_ADD;
- ret = ldb_modify(s->ldb, msg);
+ ret = dsdb_modify(s->ldb, msg, DSDB_FLAG_AS_SYSTEM);
if (ret != LDB_SUCCESS) {
DEBUG(0,("Failed to add prefixMap: %s\n", ldb_errstring(s->ldb)));
return NT_STATUS_FOOBAR;