summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-06-10 03:50:38 +0000
committerAndrew Tridgell <tridge@samba.org>2003-06-10 03:50:38 +0000
commitcdd9b60a078b63e22f543d4c8d0956ff536f4d89 (patch)
tree323cbe7ea79f714d4feced788713c1bb10402d5e /source/nsswitch/winbindd.h
parent082084042307f5f7d532b28debdeac11753a05f9 (diff)
downloadsamba-cdd9b60a078b63e22f543d4c8d0956ff536f4d89.tar.gz
samba-cdd9b60a078b63e22f543d4c8d0956ff536f4d89.tar.xz
samba-cdd9b60a078b63e22f543d4c8d0956ff536f4d89.zip
- fixed the bug that forced us not to use the winbindd cache when we
have a primary ADS domain and a secondary (trusted) NT4 domain. This caused winbindd to be *really* slow for that setup. - fixed winbindd_getgrgid(), which was calling uid_to_sid instead of gid_to_sid(). When you make changes to winbind *PLEASE* test using nsstest.
Diffstat (limited to 'source/nsswitch/winbindd.h')
-rw-r--r--source/nsswitch/winbindd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd.h b/source/nsswitch/winbindd.h
index 987a58e502f..8e1c7edc7fb 100644
--- a/source/nsswitch/winbindd.h
+++ b/source/nsswitch/winbindd.h
@@ -98,9 +98,12 @@ struct winbindd_domain {
BOOL native_mode; /* is this a win2k domain in native mode ? */
/* Lookup methods for this domain (LDAP or RPC) */
-
struct winbindd_methods *methods;
+ /* the backend methods are used by the cache layer to find the right
+ backend */
+ struct winbindd_methods *backend;
+
/* Private data for the backends (used for connection cache) */
void *private;