summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-05-23 18:51:56 +0000
committerGerald Carter <jerry@samba.org>2006-05-23 18:51:56 +0000
commitf15942db1b478afbdb4de8d11151366abc66bfd1 (patch)
treec76c25d6d049bdc67379adcf2617c75732fe41c3
parent1f25a5c65a10e77eba8643c99424c8910142be8a (diff)
downloadsamba-f15942db1b478afbdb4de8d11151366abc66bfd1.tar.gz
r15843: grab volker's winbindd-get-your-own-dc patch
-rw-r--r--WHATSNEW.txt2
-rw-r--r--source/nsswitch/winbindd_util.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index a6ff0bc0628..383c6519ea7 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -185,6 +185,8 @@ o Volker Lendecke <vl@samba.org>
* 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 <jmcd@us.ibm.com>
diff --git a/source/nsswitch/winbindd_util.c b/source/nsswitch/winbindd_util.c
index 4e5075d89d0..5caf48942b0 100644
--- a/source/nsswitch/winbindd_util.c
+++ b/source/nsswitch/winbindd_util.c
@@ -363,7 +363,7 @@ enum winbindd_result init_child_connection(struct winbindd_domain *domain,
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);