From cfecca614f563e503a517ca86748e3e90dcdeca4 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 1 Mar 2007 19:22:31 +0000 Subject: 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) --- source3/nsswitch/winbindd_ads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit