git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f10461
)
r16262: Another basedn fix.
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 15 Jun 2006 17:18:08 +0000
(17:18 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:09:08 +0000
(14:09 -0500)
Andrew Bartlett
source/rpc_server/samr/samr_password.c
patch
|
blob
|
history
diff --git
a/source/rpc_server/samr/samr_password.c
b/source/rpc_server/samr/samr_password.c
index 2d34d9afbf34d643de548da9d3d4714ba1c84430..4fbfaef09d33ac0c32bf1293f0f83ff210093bff 100644
(file)
--- a/
source/rpc_server/samr/samr_password.c
+++ b/
source/rpc_server/samr/samr_password.c
@@
-356,7
+356,7
@@
NTSTATUS samr_ChangePasswordUser3(struct dcesrv_call_state *dce_call,
user SID). We also need the current lm and nt password hashes
in order to decrypt the incoming passwords */
ret = gendb_search(sam_ctx,
- mem_ctx,
NULL
, &res, attrs,
+ mem_ctx,
samdb_base_dn(mem_ctx)
, &res, attrs,
"(&(sAMAccountName=%s)(objectclass=user))",
r->in.account->string);
if (ret != 1) {