summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-15 21:06:11 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-17 18:45:34 +0200
commit2a423e05476cfae4d3465683831aa4d5f03bd3c9 (patch)
treea989602c7a4b41455de0650ee9bc18f53458e573
parenteb345ebedf06ccef420f4352d145c54c1d39efe3 (diff)
downloadsamba-2a423e05476cfae4d3465683831aa4d5f03bd3c9.tar.gz
samba-2a423e05476cfae4d3465683831aa4d5f03bd3c9.tar.bz2
samba-2a423e05476cfae4d3465683831aa4d5f03bd3c9.zip
s4:kdc/rpc server - adapt the "samdb_set_password" calls which perform password sets
-rw-r--r--source4/kdc/kpasswdd.c2
-rw-r--r--source4/rpc_server/samr/samr_password.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/kdc/kpasswdd.c b/source4/kdc/kpasswdd.c
index 9c02ac3465..6767f30c9d 100644
--- a/source4/kdc/kpasswdd.c
+++ b/source4/kdc/kpasswdd.c
@@ -377,7 +377,7 @@ static bool kpasswd_process_request(struct kdc_server *kdc,
status = samdb_set_password(samdb, mem_ctx,
set_password_on_dn, NULL,
&password, NULL, NULL,
- false, /* this is not a user password change */
+ NULL, NULL, /* this is not a user password change */
&reject_reason, &dominfo);
}
diff --git a/source4/rpc_server/samr/samr_password.c b/source4/rpc_server/samr/samr_password.c
index f7aa376501..d5d089d43c 100644
--- a/source4/rpc_server/samr/samr_password.c
+++ b/source4/rpc_server/samr/samr_password.c
@@ -501,7 +501,7 @@ NTSTATUS samr_set_password(struct dcesrv_call_state *dce_call,
account_dn, domain_dn,
&new_password,
NULL, NULL,
- false, /* This is a password set, not change */
+ NULL, NULL, /* This is a password set, not change */
NULL, NULL);
}
@@ -550,7 +550,7 @@ NTSTATUS samr_set_password_ex(struct dcesrv_call_state *dce_call,
account_dn, domain_dn,
&new_password,
NULL, NULL,
- false, /* This is a password set, not change */
+ NULL, NULL, /* This is a password set, not change */
NULL, NULL);
}
@@ -596,7 +596,7 @@ NTSTATUS samr_set_password_buffers(struct dcesrv_call_state *dce_call,
nt_status = samdb_set_password(sam_ctx, mem_ctx, account_dn,
domain_dn, NULL,
d_lm_pwd_hash, d_nt_pwd_hash,
- false, /* this is a password set */
+ NULL, NULL, /* this is a password set */
NULL, NULL);
}