diff options
author | Jeremy Allison <jra@samba.org> | 2006-12-06 23:14:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:23 -0500 |
commit | 155083547af5d50c485d60319f7a329842b83c82 (patch) | |
tree | c93d8bd59995310b32699d28d4370bc8c07a7529 /source3/nsswitch/winbindd_cache.c | |
parent | 4a1efb1abe1882173d25dbd6c4ebdbf53521b42c (diff) | |
download | samba-155083547af5d50c485d60319f7a329842b83c82.tar.gz samba-155083547af5d50c485d60319f7a329842b83c82.tar.bz2 samba-155083547af5d50c485d60319f7a329842b83c82.zip |
r20057: Attempt to fix connect timeouts when connected on
a network but not one on which any home DC's can
be found (hotel network problem). Still testing
but this is getting close.
Jeremy.
(This used to be commit 369c9e4138b93f7cfb6680f0beb541f58554e856)
Diffstat (limited to 'source3/nsswitch/winbindd_cache.c')
-rw-r--r-- | source3/nsswitch/winbindd_cache.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index 799eb5855c..7990068ee4 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -87,10 +87,11 @@ static struct winbind_cache *get_cache(struct winbindd_domain *domain) struct winbindd_domain *our_domain = domain; #endif - /* we have to know what type of domain we are dealing with first */ + /* We have to know what type of domain we are dealing with first. */ - if ( !domain->initialized ) + if ( !domain->initialized ) { init_dc_connection( domain ); + } /* OK. listen up becasue I'm only going to say this once. |