mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
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 518052be38
)
This commit is contained in:
parent
742a853875
commit
cfecca614f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user