diff options
author | Gerald Carter <jerry@samba.org> | 2006-05-23 18:51:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:17:10 -0500 |
commit | ee8079732d15df0419b2d66fcae55e9ccd5c656f (patch) | |
tree | cb63e3b36640073cefe1f9a278dc02963f80a8bd | |
parent | 07c8c98cad2badc33133082a925179160c64bd57 (diff) | |
download | samba-ee8079732d15df0419b2d66fcae55e9ccd5c656f.tar.gz samba-ee8079732d15df0419b2d66fcae55e9ccd5c656f.tar.bz2 samba-ee8079732d15df0419b2d66fcae55e9ccd5c656f.zip |
r15842: patch from volker to instruct winbindd to find a trusted DC on its own when runing on a Samba DC (since we don't implement the getdcname() call that well
(This used to be commit 39f7ff75a7a21b85b54cba954f1c5552e562be5c)
-rw-r--r-- | source3/nsswitch/winbindd_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c index 4e5075d89d..5caf48942b 100644 --- a/source3/nsswitch/winbindd_util.c +++ b/source3/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); |