diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-12-04 12:10:05 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-12-04 12:10:05 +0000 |
commit | 7b64e61e68b3832775ab223c7c230f5ae77ffd8c (patch) | |
tree | a18ff98e879aaf7e7ae12ae2baae11dc6100dbc5 /source3/nsswitch/winbindd.h | |
parent | 3ec4a4def3f3a98606ad09ca9feaf366bae7fcb2 (diff) | |
download | samba-7b64e61e68b3832775ab223c7c230f5ae77ffd8c.tar.gz samba-7b64e61e68b3832775ab223c7c230f5ae77ffd8c.tar.xz samba-7b64e61e68b3832775ab223c7c230f5ae77ffd8c.zip |
added lookup_groups() to the ads backend
winbindd/ADS can now do initgroups()
(This used to be commit 43edeaca9f3a42699131939ed0d917111f57b678)
Diffstat (limited to 'source3/nsswitch/winbindd.h')
-rw-r--r-- | source3/nsswitch/winbindd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h index e290796e67b..a00bf54cad7 100644 --- a/source3/nsswitch/winbindd.h +++ b/source3/nsswitch/winbindd.h @@ -117,10 +117,11 @@ struct winbindd_methods { const char *user_name, uint32 user_rid, WINBIND_USERINFO *user_info); + /* the backend can also choose for this function */ NTSTATUS (*lookup_usergroups)(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, - uint32 user_rid, uint32 *num_groups, - uint32 **user_gids); + const char *user_name, uint32 user_rid, + uint32 *num_groups, uint32 **user_gids); }; /* Structures to hold per domain information */ |