From ddf821685436f7f49f49dda8fb4abb63ea1945cb Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Sun, 23 Nov 2008 11:17:42 +0100 Subject: libwbclient: Add placeholder function for WINBINDD_GETGRLST --- source3/nsswitch/libwbclient/wbc_pwd.c | 14 ++++++++++++++ source3/nsswitch/libwbclient/wbclient.h | 2 ++ 2 files changed, 16 insertions(+) diff --git a/source3/nsswitch/libwbclient/wbc_pwd.c b/source3/nsswitch/libwbclient/wbc_pwd.c index 0d17b312ef..5bb9a9fde4 100644 --- a/source3/nsswitch/libwbclient/wbc_pwd.c +++ b/source3/nsswitch/libwbclient/wbc_pwd.c @@ -376,6 +376,20 @@ wbcErr wbcGetgrent(struct group **grp) return WBC_ERR_NOT_IMPLEMENTED; } +/** @brief Return the next struct group* entry from the pwent iterator + * + * This is similar to #wbcGetgrent, just that the member list is empty + * + * @param **grp Pointer to resulting struct group* from the query. + * + * @return #wbcErr + **/ + +wbcErr wbcGetgrlist(struct group **grp) +{ + return WBC_ERR_NOT_IMPLEMENTED; +} + /** @brief Return the unix group array belonging to the given user * * @param *account The given user name diff --git a/source3/nsswitch/libwbclient/wbclient.h b/source3/nsswitch/libwbclient/wbclient.h index 2495b9604a..9e74e1ed3c 100644 --- a/source3/nsswitch/libwbclient/wbclient.h +++ b/source3/nsswitch/libwbclient/wbclient.h @@ -602,6 +602,8 @@ wbcErr wbcEndgrent(void); wbcErr wbcGetgrent(struct group **grp); +wbcErr wbcGetgrlist(struct group **grp); + wbcErr wbcGetGroups(const char *account, uint32_t *num_groups, gid_t **_groups); -- cgit