diff options
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/auth.c | 3 | ||||
-rw-r--r-- | source4/auth/auth_util.c | 15 |
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. ****************************************************************************/ |