From dbc0b86d1647c8fbc8e550d01a03d88052606f15 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 23 Jun 2000 05:54:49 +0000 Subject: Call init_sec_ctx() instead of init_uid(). Delete OriginalDir stuff. (This used to be commit db5e6ad3a69a6fd744d8a22066587908470e3815) --- source3/smbd/server.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'source3/smbd/server.c') diff --git a/source3/smbd/server.c b/source3/smbd/server.c index b28ba6d4ef..854a61d385 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -43,10 +43,7 @@ extern pstring user_socket_options; extern int dcelogin_atmost_once; #endif /* WITH_DFS */ - extern fstring remote_machine; -extern pstring OriginalDir; - /* really we should have a top level context structure that has the client file descriptor as an element. That would require a major rewrite :( @@ -395,7 +392,6 @@ static BOOL dump_core(void) } #endif - /**************************************************************************** exit the server ****************************************************************************/ @@ -440,8 +436,6 @@ void exit_server(char *reason) exit(0); } - - /**************************************************************************** initialise connect, service and file structs ****************************************************************************/ @@ -634,9 +628,7 @@ static void usage(char *pname) so set our umask to 0 */ umask(0); - dos_GetWd(OriginalDir); - - init_uid(); + init_sec_ctx(); reopen_logs(); -- cgit