diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-12-04 06:17:39 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-12-04 06:17:39 +0000 |
commit | 8e8ce079b8c54b257111537d487a5419ce0d1479 (patch) | |
tree | 9938c5011a2259b69f576acb6e6fe687a9be5945 /source3/nsswitch/winbindd.h | |
parent | de98a82052f7f8dbd0785d8d5e26f84e19c32252 (diff) | |
download | samba-8e8ce079b8c54b257111537d487a5419ce0d1479.tar.gz samba-8e8ce079b8c54b257111537d487a5419ce0d1479.tar.xz samba-8e8ce079b8c54b257111537d487a5419ce0d1479.zip |
added a query_user backend
fixed a winbindd crash when the group membership can't be looked up
(This used to be commit 088f4cc5be4a1a38781e4d019146d53993ed8c6f)
Diffstat (limited to 'source3/nsswitch/winbindd.h')
-rw-r--r-- | source3/nsswitch/winbindd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h index a3c9d0afb71..01d334d4eb7 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 */ |