summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-03-01 19:22:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:19 -0500
commitcfecca614f563e503a517ca86748e3e90dcdeca4 (patch)
treea3032c4cf608edac37806117fd880e4fd5f8691a /source3
parent742a853875045e5f38b5c82b963dabc928141304 (diff)
downloadsamba-cfecca614f563e503a517ca86748e3e90dcdeca4.tar.gz
samba-cfecca614f563e503a517ca86748e3e90dcdeca4.tar.bz2
samba-cfecca614f563e503a517ca86748e3e90dcdeca4.zip
r21636: Was almost right before. We have to specify the short domain name to get the
Krb5 config stuff to work in the server affinity settings. (This used to be commit 518052be38385ad089c0cb092d07ccd210a27ef3)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c
index 9d965675c0..d5426f40ba 100644
--- a/source3/nsswitch/winbindd_ads.c
+++ b/source3/nsswitch/winbindd_ads.c
@@ -120,7 +120,7 @@ static ADS_STRUCT *ads_cached_connection(struct winbindd_domain *domain)
about the name. Just setup affinity and the KRB5_CONFIG
file. */
- get_dc_name( "", ads->auth.realm, dc_name, &dc_ip );
+ get_dc_name( ads->server.workgroup, ads->server.realm, dc_name, &dc_ip );
status = ads_connect(ads);
if (!ADS_ERR_OK(status) || !ads->config.realm) {