summaryrefslogtreecommitdiff
path: root/source3/smbd/pipes.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-06-07 01:49:23 +0000
committerJeremy Allison <jra@samba.org>2000-06-07 01:49:23 +0000
commit0164047afbd082b0003147845a72ca08b4781b81 (patch)
tree97d07fd0749d687d0838efc2464520b7489128ed /source3/smbd/pipes.c
parentd253db1b9a10644940650cc802feb2a509adbaed (diff)
downloadsamba-0164047afbd082b0003147845a72ca08b4781b81.tar.gz
samba-0164047afbd082b0003147845a72ca08b4781b81.tar.bz2
samba-0164047afbd082b0003147845a72ca08b4781b81.zip
Fixing get/set of security descriptors.
Removed ugly hack for NT printing. Fixed up tdb parse stuff memory leaks. Jeremy. (This used to be commit 8ef41f31c53e14ad057d883810a1cd2301fede2a)
Diffstat (limited to 'source3/smbd/pipes.c')
-rw-r--r--source3/smbd/pipes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c
index c1d5c261fe..df7141764c 100644
--- a/source3/smbd/pipes.c
+++ b/source3/smbd/pipes.c
@@ -74,11 +74,13 @@ int reply_open_pipe_and_X(connection_struct *conn,
/* Strip \PIPE\ off the name. */
pstrcpy(fname,smb_buf(inbuf) + PIPELEN);
+#if 0
/*
* Hack for NT printers... JRA.
*/
if(should_fail_next_srvsvc_open(fname))
return(ERROR(ERRSRV,ERRaccess));
+#endif
/* Known pipes arrive with DIR attribs. Remove it so a regular file */
/* can be opened and add it in after the open. */