summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-04 12:10:05 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-04 12:10:05 +0000
commit7b64e61e68b3832775ab223c7c230f5ae77ffd8c (patch)
treea18ff98e879aaf7e7ae12ae2baae11dc6100dbc5 /source3/nsswitch/winbindd.h
parent3ec4a4def3f3a98606ad09ca9feaf366bae7fcb2 (diff)
downloadsamba-7b64e61e68b3832775ab223c7c230f5ae77ffd8c.tar.gz
samba-7b64e61e68b3832775ab223c7c230f5ae77ffd8c.tar.bz2
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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h
index e290796e67..a00bf54cad 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 */