diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-06-15 17:18:08 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2006-06-15 17:18:08 +0000 |
commit | c6be1bce01d3206458e0291628071f77efd3f4df (patch) | |
tree | 8c428bb3868b1b7489df8036e38b4e22bc4f5ded /source/rpc_server | |
parent | c03539f353458eafad38779e19be781e9594c8d8 (diff) | |
download | samba-c6be1bce01d3206458e0291628071f77efd3f4df.tar.gz samba-c6be1bce01d3206458e0291628071f77efd3f4df.tar.xz samba-c6be1bce01d3206458e0291628071f77efd3f4df.zip |
r16262: Another basedn fix.
Andrew Bartlett
Diffstat (limited to 'source/rpc_server')
-rw-r--r-- | source/rpc_server/samr/samr_password.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_server/samr/samr_password.c b/source/rpc_server/samr/samr_password.c index 2d34d9afbf3..4fbfaef09d3 100644 --- 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) { |