summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-05-14 05:41:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:45 -0500
commit6b921d1d2175f3b6267cb6e89b463cff852880cc (patch)
treee9e18fa5906eb0e9c6851205666b6caeb00a30c2 /source4/auth
parent5767c107735f83bd564a30abf8f374b326667966 (diff)
downloadsamba-6b921d1d2175f3b6267cb6e89b463cff852880cc.tar.gz
samba-6b921d1d2175f3b6267cb6e89b463cff852880cc.tar.bz2
samba-6b921d1d2175f3b6267cb6e89b463cff852880cc.zip
r719: Follow the trend - remove more unused functions.
Andrew Bartlett (This used to be commit 62eef851fd79b2739b93b4ed7829514a3dcbf1d0)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth.c3
-rw-r--r--source4/auth/auth_util.c15
2 files changed, 0 insertions, 18 deletions
diff --git a/source4/auth/auth.c b/source4/auth/auth.c
index 83446721e6..5016292e39 100644
--- a/source4/auth/auth.c
+++ b/source4/auth/auth.c
@@ -133,9 +133,6 @@ static BOOL check_domain_match(const char *user, const char *domain)
* Check a user's password, as given in the user_info struct and return various
* interesting details in the server_info struct.
*
- * This function does NOT need to be in a become_root()/unbecome_root() pair
- * as it makes the calls itself when needed.
- *
* The return value takes precedence over the contents of the server_info
* struct. When the return is other than NT_STATUS_OK the contents
* of that structure is undefined.
diff --git a/source4/auth/auth_util.c b/source4/auth/auth_util.c
index fda8c18fa4..e72368132a 100644
--- a/source4/auth/auth_util.c
+++ b/source4/auth/auth_util.c
@@ -407,21 +407,6 @@ void debug_nt_user_token(int dbg_class, int dbg_lev, NT_USER_TOKEN *token)
}
/****************************************************************************
- prints a UNIX 'token' to debug output.
-****************************************************************************/
-
-void debug_unix_user_token(int dbg_class, int dbg_lev, uid_t uid, gid_t gid, int n_groups, gid_t *groups)
-{
- int i;
- DEBUGC(dbg_class, dbg_lev, ("UNIX token of user %ld\n", (long int)uid));
-
- DEBUGADDC(dbg_class, dbg_lev, ("Primary group is %ld and contains %i supplementary groups\n", (long int)gid, n_groups));
- for (i = 0; i < n_groups; i++)
- DEBUGADDC(dbg_class, dbg_lev, ("Group[%3i]: %ld\n", i,
- (long int)groups[i]));
-}
-
-/****************************************************************************
Create the SID list for this user.
****************************************************************************/