diff options
author | Jeremy Allison <jra@samba.org> | 1997-10-15 21:53:59 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1997-10-15 21:53:59 +0000 |
commit | 359d42c08d012b3e1c1bc6ac1071f8add706ba35 (patch) | |
tree | 459ec199cb796f91443349e3b4c67e6fa7264d8f /source3/smbd/trans2.c | |
parent | d83845241381fb6ff86890d1d43c3d3bf6522a2b (diff) | |
download | samba-359d42c08d012b3e1c1bc6ac1071f8add706ba35.tar.gz samba-359d42c08d012b3e1c1bc6ac1071f8add706ba35.tar.xz samba-359d42c08d012b3e1c1bc6ac1071f8add706ba35.zip |
ipc.c: Adding Andrews become_root code to the main branch.
locking.c: Adding Andrews become_root code to the main branch.
pipes.c: Fixing the close_file issue.
proto.h: The usual.
reply.c: Move smb_pass into NTDOMAIN defined code. Fixing the close_file issue.
server.c: Fixing the close_file issue.
trans2.c: Fixing the close_file issue.
uid.c: Adding Andrews become_root code to the main branch.
Jeremy (jallison@whistle.com)
(This used to be commit 16fd4337f79ce33f91050c96c4a566221c5d9126)
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r-- | source3/smbd/trans2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index a56df9cb9cc..e484b3b2e1a 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -226,7 +226,7 @@ static int call_trans2open(char *inbuf, char *outbuf, int bufsize, int cnum, } if (fstat(Files[fnum].fd_ptr->fd,&sbuf) != 0) { - close_file(fnum); + close_file(fnum,False); return(ERROR(ERRDOS,ERRnoaccess)); } @@ -235,7 +235,7 @@ static int call_trans2open(char *inbuf, char *outbuf, int bufsize, int cnum, mtime = sbuf.st_mtime; inode = sbuf.st_ino; if (fmode & aDIR) { - close_file(fnum); + close_file(fnum,False); return(ERROR(ERRDOS,ERRnoaccess)); } |