diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-12-10 06:05:21 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-12-10 06:05:21 +0000 |
commit | 2bbc91978b7d0b18191acb650a96f5e39d538c1c (patch) | |
tree | 6e75e97f0e0ac39fcc66844fca00d8eea31f4d7b /source3/nsswitch/winbindd.h | |
parent | ddeecec1f8fb1095a48240e25b7b45dda95001d8 (diff) | |
download | samba-2bbc91978b7d0b18191acb650a96f5e39d538c1c.tar.gz samba-2bbc91978b7d0b18191acb650a96f5e39d538c1c.tar.bz2 samba-2bbc91978b7d0b18191acb650a96f5e39d538c1c.zip |
winbindd backends can now be marked "consistent" or "inconsistent"
consistent backends (like ADS) always give correct primary group
info, so we can play cache tricks to speed things up a lot
inconsistent backends (like MSRPC) need to fetch stuff more often
(This used to be commit 217c39f23282e20f96a61a0d5a2434b3f5f66a86)
Diffstat (limited to 'source3/nsswitch/winbindd.h')
-rw-r--r-- | source3/nsswitch/winbindd.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h index 26181326bb..e22824f33c 100644 --- a/source3/nsswitch/winbindd.h +++ b/source3/nsswitch/winbindd.h @@ -85,10 +85,12 @@ typedef struct { } WINBIND_USERINFO; /* per-domain methods. This is how LDAP vs RPC is selected - This will eventually be the sole entry point to all the methods, - I'm just starting small */ struct winbindd_methods { + /* does this backend provide a consistent view of the data? (ie. is the primary group + always correct) */ + BOOL consistent; + /* get a list of users, returning a WINBIND_USERINFO for each one */ NTSTATUS (*query_user_list)(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, |