* 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.
sid_to_string(sid_str, token->user_sids[i])));
}
-/****************************************************************************
- 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.
****************************************************************************/
+++ /dev/null
-#include "includes.h"
-
-/*
-
- this is a set of temporary stub functions used during the libsmb rewrite.
- This file will need to go away before the rewrite is complete.
-*/
-
-void become_root(void)
-{}
-
-void unbecome_root(void)
-{}
-
-BOOL become_user_permanently(uid_t uid, gid_t gid)
-{ return True; }
-
-void set_effective_uid(uid_t uid)
-{}
-
-uid_t sec_initial_uid(void)
-{ return 0; }
BOOL pcap_printername_ok(const char *service, char *foo)
{ return True; }
-void become_root(void)
-{}
-
-void unbecome_root(void)
-{}
-
BOOL namecache_enable(void)
{ return True; }
SMB_BINARY(smbtorture, [ALL], [BIN],
[torture/torture.o
- torture/torture_util.o
- libcli/raw/clirewrite.o],
+ torture/torture_util.o],
[],
[TORTURE_BASIC TORTURE_RAW TORTURE_RPC TORTURE_NBENCH CONFIG LIBCMDLINE LIBBASIC])