summaryrefslogtreecommitdiff
path: root/source4/ntptr/simple_ldb/ntptr_simple_ldb.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/ntptr/simple_ldb/ntptr_simple_ldb.c
parentc6d85d67f9b52e4071c84749a1f55de646a5451c (diff)
downloadsamba-90203f87e7da3346ae9236e4d30c93b95a2ddad9.tar.gz
samba-90203f87e7da3346ae9236e4d30c93b95a2ddad9.tar.bz2
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/ntptr/simple_ldb/ntptr_simple_ldb.c')
-rw-r--r--source4/ntptr/simple_ldb/ntptr_simple_ldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntptr/simple_ldb/ntptr_simple_ldb.c b/source4/ntptr/simple_ldb/ntptr_simple_ldb.c
index feaa1a0e12..33632aa0fc 100644
--- a/source4/ntptr/simple_ldb/ntptr_simple_ldb.c
+++ b/source4/ntptr/simple_ldb/ntptr_simple_ldb.c
@@ -389,7 +389,7 @@ static WERROR sptr_SetPrintServerForm(struct ntptr_GenericHandle *server, TALLOC
return WERR_UNKNOWN_LEVEL;
}
- ret = samdb_replace(sptr_db, mem_ctx, msg);
+ ret = dsdb_replace(sptr_db, msg, 0);
if (ret != 0) {
return WERR_FOOBAR;
}