summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-30 01:05:13 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-30 01:05:13 +0000
commita275e5d4e16142a9924f8b97980f364a80df3b64 (patch)
tree037c7e130d66a1c9b34593b6aa2ad51294e02dad /source3/smbd/reply.c
parentcbafcc4d03d960749fdeed111d0f78dadc399095 (diff)
downloadsamba-a275e5d4e16142a9924f8b97980f364a80df3b64.tar.gz
samba-a275e5d4e16142a9924f8b97980f364a80df3b64.tar.bz2
samba-a275e5d4e16142a9924f8b97980f364a80df3b64.zip
removed mechanism that created actual files NETLOGON, lsarpc and the like,
which are pipes on the IPC$ connection. created mechanism to record pipe names in a separate pipes_struct. it is planned to expand this, to return sensible things like interface structures, and policy handles (RPC_IFACE and LSA_POL_HND). and the like. (This used to be commit 33cce5fac0e2f818a19a6c4e6a797ef44f3b5c75)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 9484f3b85f..46425861d4 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -2283,7 +2283,12 @@ int reply_close(char *inbuf,char *outbuf)
cnum = SVAL(inbuf,smb_tid);
+ /* If it's an IPC, pass off to the pipe handler. */
+ if (IS_IPC(cnum))
+ return reply_pipe_close(inbuf,outbuf);
+
fnum = GETFNUM(inbuf,smb_vwv0);
+
CHECK_FNUM(fnum,cnum);
if(HAS_CACHED_ERROR(fnum)) {