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 | 689f45d2079d06b09947b2cdd314867df98c938d (patch) | |
tree | c0e24f2f7bd10945ef580d15d9f141ae58ea0808 /source/nsswitch/winbindd_ads.c | |
parent | e908f304a26b9f1100e301610151a9334bf117b0 (diff) | |
download | samba-689f45d2079d06b09947b2cdd314867df98c938d.tar.gz samba-689f45d2079d06b09947b2cdd314867df98c938d.tar.xz samba-689f45d2079d06b09947b2cdd314867df98c938d.zip |
moved lookup_usergroups() into the backend structure
Diffstat (limited to 'source/nsswitch/winbindd_ads.c')
-rw-r--r-- | source/nsswitch/winbindd_ads.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd_ads.c b/source/nsswitch/winbindd_ads.c index d86c498cfeb..a1c34bee66b 100644 --- a/source/nsswitch/winbindd_ads.c +++ b/source/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 |