summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd.h
diff options
context:
space:
mode:
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 */