summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-12 11:47:33 +0200
committerVolker Lendecke <vl@samba.org>2010-06-12 15:42:52 +0200
commit0d6f3d64fa076c9d5185062c04139c36d28ee14d (patch)
tree86e9fc87712496b2bc51781f441858aaa0a47ba1
parent8f8aac9c2fae57351785e28afc7096f9dc7be028 (diff)
downloadsamba-0d6f3d64fa076c9d5185062c04139c36d28ee14d.tar.gz
samba-0d6f3d64fa076c9d5185062c04139c36d28ee14d.tar.bz2
samba-0d6f3d64fa076c9d5185062c04139c36d28ee14d.zip
s3: Remove smbd_server_conn from reply_writebraw
-rw-r--r--source3/smbd/reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 67a955c980..894f10b105 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -3774,7 +3774,7 @@ void reply_writebraw(struct smb_request *req)
*/
SCVAL(req->inbuf,smb_com,SMBwritec);
- if (srv_is_signing_active(smbd_server_conn)) {
+ if (srv_is_signing_active(req->sconn)) {
END_PROFILE(SMBwritebraw);
exit_server_cleanly("reply_writebraw: SMB signing is active - "
"raw reads/writes are disallowed.");
@@ -3787,7 +3787,7 @@ void reply_writebraw(struct smb_request *req)
return;
}
- if (smbd_server_conn->smb1.echo_handler.trusted_fde) {
+ if (req->sconn->smb1.echo_handler.trusted_fde) {
DEBUG(2,("SMBwritebraw rejected with NOT_SUPPORTED because of "
"'async smb echo handler = yes'\n"));
reply_nterror(req, NT_STATUS_NOT_SUPPORTED);