summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-01-04 14:43:43 -0800
committerJeremy Allison <jra@samba.org>2008-01-04 14:43:43 -0800
commit9394916e49d124461299af8d3e13e97d2c935d14 (patch)
treef5a907bea5b34d15db6462483d6de4d049109d79 /source3/smbd
parenta8d2664fec3867cc40894531615a9a2d8036fa25 (diff)
downloadsamba-9394916e49d124461299af8d3e13e97d2c935d14.tar.gz
samba-9394916e49d124461299af8d3e13e97d2c935d14.tar.bz2
samba-9394916e49d124461299af8d3e13e97d2c935d14.zip
We dont' modify the smb header for crypto anymore.
Jeremy. (This used to be commit f5b6b6dac66b4ecc113985a7e7db1855b324c465)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 1e421a70b6..4e2cceca36 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -7067,7 +7067,7 @@ static void handle_trans2(connection_struct *conn, struct smb_request *req,
SSVAL(req->inbuf,smb_flg2,req->flags2);
}
- if (conn->encrypt_level == Required && SVAL(req->inbuf,4) != 0x45FF ) {
+ if (conn->encrypt_level == Required && !req->encrypted) {
if (state->call != TRANSACT2_QFSINFO &&
state->call != TRANSACT2_SETFSINFO) {
DEBUG(0,("handle_trans2: encryption required "