git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
742a853
)
r21636: Was almost right before. We have to specify the short domain name to get the
author
Gerald Carter
<jerry@samba.org>
Thu, 1 Mar 2007 19:22:31 +0000
(19:22 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:18:19 +0000
(12:18 -0500)
Krb5 config stuff to work in the server affinity settings.
(This used to be commit
518052be38385ad089c0cb092d07ccd210a27ef3
)
source3/nsswitch/winbindd_ads.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/winbindd_ads.c
b/source3/nsswitch/winbindd_ads.c
index 9d965675c0229dddd0471a99b47f9594124a06cc..d5426f40ba4388daa4ecd98b6a17a9aee172079d 100644
(file)
--- 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) {