summaryrefslogtreecommitdiffstats
path: root/source4/libnet/libnet_join.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-16 14:45:16 +1100
committerAndrew Tridgell <tridge@samba.org>2010-02-16 21:10:50 +1100
commit90203f87e7da3346ae9236e4d30c93b95a2ddad9 (patch)
tree5eb2caa2f160e9a9f69c6d9eb673ff128fa66352 /source4/libnet/libnet_join.c
parentc6d85d67f9b52e4071c84749a1f55de646a5451c (diff)
downloadsamba-90203f87e7da3346ae9236e4d30c93b95a2ddad9.tar.gz
samba-90203f87e7da3346ae9236e4d30c93b95a2ddad9.tar.xz
samba-90203f87e7da3346ae9236e4d30c93b95a2ddad9.zip
s4-dsdb: change samdb_replace() to dsdb_replace() and allow for dsdb_flags
This allows for controls to be added easily where they are needed.
Diffstat (limited to 'source4/libnet/libnet_join.c')
-rw-r--r--source4/libnet/libnet_join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c
index e60d45e3164..5abe88bb89a 100644
--- a/source4/libnet/libnet_join.c
+++ b/source4/libnet/libnet_join.c
@@ -331,7 +331,7 @@ static NTSTATUS libnet_JoinADSDomain(struct libnet_context *ctx, struct libnet_J
return NT_STATUS_NO_MEMORY;
}
- rtn = samdb_replace(remote_ldb, tmp_ctx, msg);
+ rtn = dsdb_replace(remote_ldb, msg, 0);
if (rtn != 0) {
r->out.error_string
= talloc_asprintf(r,