From: Volker Lendecke Date: Mon, 16 Oct 2023 15:42:37 +0000 (+0200) Subject: smbd: Remove code #ifdef'ed out >23years ago X-Git-Tag: talloc-2.4.2~950 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a181283f5ce0fbcdb83969d5ae25a9b6dd193390;p=thirdparty%2Fsamba.git smbd: Remove code #ifdef'ed out >23years ago Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/smb1_pipes.c b/source3/smbd/smb1_pipes.c index 6daafccdd06..ea2fae5ebc0 100644 --- a/source3/smbd/smb1_pipes.c +++ b/source3/smbd/smb1_pipes.c @@ -77,16 +77,6 @@ void reply_open_pipe_and_X(connection_struct *conn, struct smb_request *req) DEBUG(4,("Opening pipe %s => %s.\n", pipe_name, fname)); -#if 0 - /* - * Hack for NT printers... JRA. - */ - if(should_fail_next_srvsvc_open(fname)) { - reply_nterror(req, NT_STATUS_ACCESS_DENIED); - return; - } -#endif - status = open_np_file(req, fname, &fsp); if (!NT_STATUS_IS_OK(status)) { if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) {