Author: abartlet
Date: 2006-06-15 17:18:08 +0000 (Thu, 15 Jun 2006)
New Revision: 16262

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16262

Log:
Another basedn fix.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/rpc_server/samr/samr_password.c


Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/samr/samr_password.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/samr/samr_password.c   2006-06-15 
16:09:31 UTC (rev 16261)
+++ branches/SAMBA_4_0/source/rpc_server/samr/samr_password.c   2006-06-15 
17:18:08 UTC (rev 16262)
@@ -356,7 +356,7 @@
           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) {

Reply via email to