From 8e8ce079b8c54b257111537d487a5419ce0d1479 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 4 Dec 2001 06:17:39 +0000 Subject: added a query_user backend fixed a winbindd crash when the group membership can't be looked up (This used to be commit 088f4cc5be4a1a38781e4d019146d53993ed8c6f) --- source3/nsswitch/winbindd.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/nsswitch/winbindd.h') diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h index a3c9d0afb7..01d334d4eb 100644 --- a/source3/nsswitch/winbindd.h +++ b/source3/nsswitch/winbindd.h @@ -109,6 +109,13 @@ struct winbindd_methods { DOM_SID *sid, char **name, enum SID_NAME_USE *type); + + /* query_user is a bit strange. The backend has a choice of + doing the lookup by user name or rid */ + NTSTATUS (*query_user)(struct winbindd_domain *domain, + TALLOC_CTX *mem_ctx, + const char *user_name, uint32 user_rid, + WINBIND_USERINFO *user_info); }; /* Structures to hold per domain information */ -- cgit