summaryrefslogtreecommitdiff
path: root/source3/smbd/password.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-06-23 05:57:48 +0000
committerTim Potter <tpot@samba.org>2000-06-23 05:57:48 +0000
commit2a1dbb0acdc3acd837681e148729899fb0160836 (patch)
tree4722167c89b34ef467978427b18d4d846c3486cf /source3/smbd/password.c
parentdd4c0901b6da73452d2d748cb425a8d715bc56c0 (diff)
downloadsamba-2a1dbb0acdc3acd837681e148729899fb0160836.tar.gz
samba-2a1dbb0acdc3acd837681e148729899fb0160836.tar.bz2
samba-2a1dbb0acdc3acd837681e148729899fb0160836.zip
Delete OriginalDir stuff.
(This used to be commit 3d0f1845c8cefccfabcfd35694264c1e5f52c3af)
Diffstat (limited to 'source3/smbd/password.c')
-rw-r--r--source3/smbd/password.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 06f4d72a40..209e4402df 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -329,10 +329,10 @@ static BOOL update_smbpassword_file(char *user, char *password)
struct smb_passwd *smbpw;
BOOL ret;
- become_root(0);
+ become_root();
smbpw = getsmbpwnam(user);
- unbecome_root(0);
-
+ unbecome_root();
+
if(smbpw == NULL) {
DEBUG(0,("getsmbpwnam returned NULL\n"));
return False;