summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2008-11-23 11:17:42 +0100
committerKai Blin <kai@samba.org>2008-11-25 09:28:24 +0100
commitddf821685436f7f49f49dda8fb4abb63ea1945cb (patch)
tree388de6774170559b3ee1b664d6b3927cd785fb4d
parentd1d9c06294596cc34e19277b77a5316b8f3d2200 (diff)
downloadsamba-ddf821685436f7f49f49dda8fb4abb63ea1945cb.tar.gz
samba-ddf821685436f7f49f49dda8fb4abb63ea1945cb.tar.bz2
samba-ddf821685436f7f49f49dda8fb4abb63ea1945cb.zip
libwbclient: Add placeholder function for WINBINDD_GETGRLST
-rw-r--r--source3/nsswitch/libwbclient/wbc_pwd.c14
-rw-r--r--source3/nsswitch/libwbclient/wbclient.h2
2 files changed, 16 insertions, 0 deletions
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);