diff options
author | Gerald Carter <jerry@samba.org> | 2003-06-03 16:19:31 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-06-03 16:19:31 +0000 |
commit | e1e363e4e90237c638e5adea3bb3493a35a61268 (patch) | |
tree | 083c08e00eb97d5d6a08d04dd179c71f783decd1 /source3/nsswitch/winbindd_util.c | |
parent | 989c2a374e58a05f680db67523c7adf38c3d0246 (diff) | |
download | samba-e1e363e4e90237c638e5adea3bb3493a35a61268.tar.gz samba-e1e363e4e90237c638e5adea3bb3493a35a61268.tar.bz2 samba-e1e363e4e90237c638e5adea3bb3493a35a61268.zip |
* set winbind cache time to 5 minutes
* quit obsessing over the sequence number so much
* share the updated sequence number between parent
and child winbindd processes in dual mode
(This used to be commit 6fb5bdb30e2b1341ba600ce0dfd397394f7a831c)
Diffstat (limited to 'source3/nsswitch/winbindd_util.c')
-rw-r--r-- | source3/nsswitch/winbindd_util.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c index ac0b317b42..84f5d19568 100644 --- a/source3/nsswitch/winbindd_util.c +++ b/source3/nsswitch/winbindd_util.c @@ -124,13 +124,11 @@ static struct winbindd_domain *add_trusted_domain(const char *domain_name, const sid_copy(&domain->sid, sid); } - /* see if this is a native mode win2k domain, but only for our own domain */ + /* see if this is a native mode win2k domain */ - if ( strequal( lp_workgroup(), domain_name) ) { - domain->native_mode = cm_check_for_native_mode_win2k( domain_name ); - DEBUG(3,("add_trusted_domain: %s is a %s mode domain\n", domain_name, - domain->native_mode ? "native" : "mixed" )); - } + domain->native_mode = cm_check_for_native_mode_win2k( domain_name ); + DEBUG(3,("add_trusted_domain: %s is a %s mode domain\n", domain_name, + domain->native_mode ? "native" : "mixed (or NT4)" )); /* Link to domain list */ DLIST_ADD(_domain_list, domain); |