summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-06-23 05:54:49 +0000
committerTim Potter <tpot@samba.org>2000-06-23 05:54:49 +0000
commitdbc0b86d1647c8fbc8e550d01a03d88052606f15 (patch)
treec3e333380d2272744b2067f3a50435a1a3a23464 /source3/smbd/server.c
parent218653764f55b5fe16ffbda93d415a1495460956 (diff)
downloadsamba-dbc0b86d1647c8fbc8e550d01a03d88052606f15.tar.gz
samba-dbc0b86d1647c8fbc8e550d01a03d88052606f15.tar.bz2
samba-dbc0b86d1647c8fbc8e550d01a03d88052606f15.zip
Call init_sec_ctx() instead of init_uid().
Delete OriginalDir stuff. (This used to be commit db5e6ad3a69a6fd744d8a22066587908470e3815)
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c10
1 files changed, 1 insertions, 9 deletions
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();