1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

We dont' modify the smb header for crypto anymore.

Jeremy.
(This used to be commit f5b6b6dac66b4ecc113985a7e7db1855b324c465)
This commit is contained in:
Jeremy Allison 2008-01-04 14:43:43 -08:00
parent a8d2664fec
commit 9394916e49

View File

@ -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 "