summaryrefslogtreecommitdiff
path: root/source4/kdc
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/kdc
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/kdc')
-rw-r--r--source4/kdc/kpasswdd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/kpasswdd.c b/source4/kdc/kpasswdd.c
index 8009f9c06a..2f4ebe0557 100644
--- a/source4/kdc/kpasswdd.c
+++ b/source4/kdc/kpasswdd.c
@@ -379,7 +379,7 @@ static bool kpasswd_process_request(struct kdc_server *kdc,
if (NT_STATUS_IS_OK(status)) {
/* modify the samdb record */
- ret = samdb_replace(samdb, mem_ctx, msg);
+ ret = dsdb_replace(samdb, msg, 0);
if (ret != 0) {
DEBUG(2,("Failed to modify record to set password on %s: %s\n",
ldb_dn_get_linearized(msg->dn),