summaryrefslogtreecommitdiffstats
path: root/source/smbd/uid.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-25 21:17:20 +0000
committerJeremy Allison <jra@samba.org>1998-11-25 21:17:20 +0000
commit6acb4b68f68d516e2ac3c47e500f5600d653435e (patch)
tree4417f4c67b94192480fe5139f5c62923f203d15e /source/smbd/uid.c
parent68342a29a892e515cf2b22d759476d61944bcd59 (diff)
downloadsamba-6acb4b68f68d516e2ac3c47e500f5600d653435e.tar.gz
samba-6acb4b68f68d516e2ac3c47e500f5600d653435e.tar.xz
samba-6acb4b68f68d516e2ac3c47e500f5600d653435e.zip
Makefile.in: Added maintainer mode fixes.
aclocal.m4: Added AC_LIBTESTFUNC. configure.in: Fixed -lsecurity -lsec problems. client.c: dos_ fixes. groupdb/aliasunix.c: Dead code removal. include/includes.h: Added default PRINTCAP_NAME. lib/genrand.c: dos_ fixes. lib/replace.c: Added strtoul. lib/system.c: dos_ fixes. lib/util.c: dos_ fixes. lib/util_sid.c: Signed/unsigned fixes. lib/util_str.c: removed bad const. locking/locking_slow.c: dos_ fixes. printing/printing.c: dos_ fixes. rpc_server/srv_samr.c: Dead code removal. rpc_server/srv_sid.c: global_myworkgroup defined with wrong size AGAIN ! smbd/dir.c: dos_ fixes. smbd/open.c: dos_ fixes. smbd/oplock.c: dos_ fixes. smbd/reply.c smbd/server.c smbd/service.c smbd/uid.c: dos_ fixes. Jeremy.
Diffstat (limited to 'source/smbd/uid.c')
-rw-r--r--source/smbd/uid.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/smbd/uid.c b/source/smbd/uid.c
index 7c951b461ad..f76fa49d56c 100644
--- a/source/smbd/uid.c
+++ b/source/smbd/uid.c
@@ -54,7 +54,7 @@ void init_uid(void)
current_user.conn = NULL;
current_user.vuid = UID_FIELD_INVALID;
- ChDir(OriginalDir);
+ dos_ChDir(OriginalDir);
}
@@ -303,7 +303,7 @@ BOOL unbecome_user(void )
if (!current_user.conn)
return(False);
- ChDir(OriginalDir);
+ dos_ChDir(OriginalDir);
if (initial_uid == 0)
{
@@ -336,7 +336,7 @@ BOOL unbecome_user(void )
current_user.uid = initial_uid;
current_user.gid = initial_gid;
- if (ChDir(OriginalDir) != 0)
+ if (dos_ChDir(OriginalDir) != 0)
DEBUG( 0, ( "chdir(%s) failed in unbecome_user\n", OriginalDir ) );
DEBUG(5,("unbecome_user now uid=(%d,%d) gid=(%d,%d)\n",
@@ -366,7 +366,7 @@ void become_root(BOOL save_dir)
DEBUG(0,("ERROR: become root depth is non zero\n"));
}
if (save_dir)
- GetWd(become_root_dir);
+ dos_GetWd(become_root_dir);
current_user_saved = current_user;
become_root_depth = 1;
@@ -415,7 +415,7 @@ void unbecome_root(BOOL restore_dir)
}
if (restore_dir)
- ChDir(become_root_dir);
+ dos_ChDir(become_root_dir);
current_user = current_user_saved;