diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-12-04 06:46:53 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-12-04 06:46:53 +0000 |
commit | 1d66a6beba888a1be33e4b48e2b0d2a51fdbcbc0 (patch) | |
tree | a11faf18a9f3b7da45cb9e5b21eb341cf17bd0a8 /source3/nsswitch/winbindd_ads.c | |
parent | 1838d83e241ceaa73c61c53b50d5f7104b2f6143 (diff) | |
download | samba-1d66a6beba888a1be33e4b48e2b0d2a51fdbcbc0.tar.gz samba-1d66a6beba888a1be33e4b48e2b0d2a51fdbcbc0.tar.bz2 samba-1d66a6beba888a1be33e4b48e2b0d2a51fdbcbc0.zip |
moved lookup_usergroups() into the backend structure
(This used to be commit 689f45d2079d06b09947b2cdd314867df98c938d)
Diffstat (limited to 'source3/nsswitch/winbindd_ads.c')
-rw-r--r-- | source3/nsswitch/winbindd_ads.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c index d86c498cfe..a1c34bee66 100644 --- a/source3/nsswitch/winbindd_ads.c +++ b/source3/nsswitch/winbindd_ads.c @@ -341,6 +341,15 @@ error: return NT_STATUS_UNSUCCESSFUL; } +/* Lookup groups a user is a member of. */ +static NTSTATUS lookup_usergroups(struct winbindd_domain *domain, + TALLOC_CTX *mem_ctx, + uint32 user_rid, uint32 *num_groups, + uint32 **user_gids) +{ + return NT_STATUS_NOT_IMPLEMENTED; +} + /* the ADS backend methods are exposed via this structure */ struct winbindd_methods ads_methods = { query_user_list, @@ -350,7 +359,8 @@ struct winbindd_methods ads_methods = { and MS servers always allow RPC for this (even in native mode) so just use RPC for sid_to_name. Maybe that's why they allow it? */ winbindd_rpc_sid_to_name, - query_user + query_user, + lookup_usergroups }; #endif |