svn commit: samba r11293 - in branches/SAMBA_4_0/source/auth: .
abartlet at samba.org
abartlet at samba.org
Tue Oct 25 13:38:00 GMT 2005
Author: abartlet
Date: 2005-10-25 13:38:00 +0000 (Tue, 25 Oct 2005)
New Revision: 11293
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11293
Log:
Use the right search when forming the data for the PAC.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/auth/auth_sam.c
Changeset:
Modified: branches/SAMBA_4_0/source/auth/auth_sam.c
===================================================================
--- branches/SAMBA_4_0/source/auth/auth_sam.c 2005-10-25 12:49:24 UTC (rev 11292)
+++ branches/SAMBA_4_0/source/auth/auth_sam.c 2005-10-25 13:38:00 UTC (rev 11293)
@@ -546,8 +546,8 @@
}
/* grab domain info */
- ret_domain = gendb_search_dn(sam_ctx, tmp_ctx,
- domain_dn, &msgs_domain, domain_attrs);
+ ret_domain = gendb_search(sam_ctx, tmp_ctx, NULL, &msgs_domain, domain_attrs,
+ "(ncName=%s)", ldb_dn_linearize(tmp_ctx, domain_dn));
if (ret_domain != 1) {
talloc_free(tmp_ctx);
More information about the samba-cvs
mailing list