Author: jerry Date: 2006-05-23 18:51:56 +0000 (Tue, 23 May 2006) New Revision: 15843
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15843 Log: grab volker's winbindd-get-your-own-dc patch Modified: branches/SAMBA_3_0_RELEASE/WHATSNEW.txt branches/SAMBA_3_0_RELEASE/source/nsswitch/winbindd_util.c Changeset: Modified: branches/SAMBA_3_0_RELEASE/WHATSNEW.txt =================================================================== --- branches/SAMBA_3_0_RELEASE/WHATSNEW.txt 2006-05-23 18:51:03 UTC (rev 15842) +++ branches/SAMBA_3_0_RELEASE/WHATSNEW.txt 2006-05-23 18:51:56 UTC (rev 15843) @@ -185,6 +185,8 @@ * Add special close handling for fake files. * BUG 3788: Fix nss_winbind's getgrouplist() call on AIX. * BUG 3435: Fix 'msdfs root = yes' in [homes]. + * Instruct winbindd to find a trusted DC on its own when runing on + a Samba DC. o Jim McDonough <[EMAIL PROTECTED]> Modified: branches/SAMBA_3_0_RELEASE/source/nsswitch/winbindd_util.c =================================================================== --- branches/SAMBA_3_0_RELEASE/source/nsswitch/winbindd_util.c 2006-05-23 18:51:03 UTC (rev 15842) +++ branches/SAMBA_3_0_RELEASE/source/nsswitch/winbindd_util.c 2006-05-23 18:51:56 UTC (rev 15843) @@ -363,7 +363,7 @@ state->continuation = continuation; state->private_data = private_data; - if (domain->primary) { + if (IS_DC || domain->primary) { /* The primary domain has to find the DC name itself */ request->cmd = WINBINDD_INIT_CONNECTION; fstrcpy(request->domain_name, domain->name);