summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-06 14:16:06 +0200
committerVolker Lendecke <vl@samba.org>2008-05-06 14:18:20 +0200
commit89ac43d49859ef9169283341f2917e9100820bb4 (patch)
treee78e304054cc3857473799389743ca55516f013e
parent3643aa9a63588b60797cb13e00a46e6c5dc845e8 (diff)
downloadsamba-89ac43d49859ef9169283341f2917e9100820bb4.tar.gz
samba-89ac43d49859ef9169283341f2917e9100820bb4.tar.bz2
samba-89ac43d49859ef9169283341f2917e9100820bb4.zip
Remove some unused code
(This used to be commit 87383a4605ab99d32fccae7793dc5292b8f3e25b)
-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.
****************************************************************************/