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/pipes.c | |
parent | d83845241381fb6ff86890d1d43c3d3bf6522a2b (diff) | |
download | samba-359d42c08d012b3e1c1bc6ac1071f8add706ba35.tar.gz samba-359d42c08d012b3e1c1bc6ac1071f8add706ba35.tar.bz2 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/pipes.c')
-rw-r--r-- | source3/smbd/pipes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c index bf53fa84bc..8c7e6c69c5 100644 --- a/source3/smbd/pipes.c +++ b/source3/smbd/pipes.c @@ -147,7 +147,7 @@ int reply_open_pipe_and_X(char *inbuf,char *outbuf,int length,int bufsize) } if (fstat(Files[fnum].fd_ptr->fd,&sbuf) != 0) { - close_file(fnum); + close_file(fnum,False); return(ERROR(ERRDOS,ERRnoaccess)); } @@ -155,7 +155,7 @@ int reply_open_pipe_and_X(char *inbuf,char *outbuf,int length,int bufsize) fmode = dos_mode(cnum,fname,&sbuf); mtime = sbuf.st_mtime; if (fmode & aDIR) { - close_file(fnum); + close_file(fnum,False); return(ERROR(ERRDOS,ERRnoaccess)); } |