diff options
Diffstat (limited to 'source3/nsswitch/winbindd_cache.c')
-rw-r--r-- | source3/nsswitch/winbindd_cache.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index 8dec89a6aa..91834e476f 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -112,9 +112,13 @@ static struct winbind_cache *get_cache(struct winbindd_domain *domain) break; } - /* if it have either of the indications of ADS, - use ads_methods */ - if ( domain->active_directory || domain->native_mode ) { + /* only use ADS for native modes at the momment. + The problem is the correct detection of mixed + mode domains from NT4 BDC's --jerry */ + + if ( domain->native_mode ) { + DEBUG(5,("get_cache: Setting ADS methods for domain %s\n", + domain->name)); domain->backend = &ads_methods; break; } @@ -123,6 +127,8 @@ static struct winbind_cache *get_cache(struct winbindd_domain *domain) } #endif default: + DEBUG(5,("get_cache: Setting MS-RPC methods for domain %s\n", + domain->name)); domain->backend = &msrpc_methods; } } |