summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/uid.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index 3779c3f608..78dff8ffee 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -23,29 +23,6 @@
extern struct current_user current_user;
/****************************************************************************
- Iterator functions for getting all gid's from current_user.
-****************************************************************************/
-
-gid_t get_current_user_gid_first(int *piterator)
-{
- *piterator = 0;
- return current_user.ut.gid;
-}
-
-gid_t get_current_user_gid_next(int *piterator)
-{
- gid_t ret;
-
- if (!current_user.ut.groups || *piterator >= current_user.ut.ngroups) {
- return (gid_t)-1;
- }
-
- ret = current_user.ut.groups[*piterator];
- (*piterator) += 1;
- return ret;
-}
-
-/****************************************************************************
Become the guest user without changing the security context stack.
****************************************************************************/