diff options
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 3b9f6a76c5..fe0e717637 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -5241,7 +5241,7 @@ void reply_printwrite(struct smb_request *req) return; } - if (!CAN_PRINT(conn)) { + if (!fsp->print_file) { reply_nterror(req, NT_STATUS_ACCESS_DENIED); END_PROFILE(SMBsplwr); return; |