diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-03-19 15:47:11 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-03-22 17:15:13 +0100 |
commit | 5a069f7209855e69082a176969533cc0d0ac0f55 (patch) | |
tree | 52376dd8ede598d98d279a03d4f51aa4d4609921 /source3 | |
parent | d663b4c6c03450366375eb0951209bc374835935 (diff) | |
download | samba-5a069f7209855e69082a176969533cc0d0ac0f55.tar.gz samba-5a069f7209855e69082a176969533cc0d0ac0f55.tar.bz2 samba-5a069f7209855e69082a176969533cc0d0ac0f55.zip |
s3:smbd: disable SMB encryption when the echo handler is active
metze
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/trans2.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 09b1621f3d..0ee9be32b2 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -3585,6 +3585,16 @@ cap_low = 0x%x, cap_high = 0x%x\n", return; } + if (smbd_server_conn->smb1.echo_handler.trusted_fde) { + DEBUG( 2,("call_trans2setfsinfo: " + "request transport encryption disabled" + "with 'fork echo handler = yes'\n")); + reply_nterror( + req, + NT_STATUS_NOT_SUPPORTED); + return; + } + DEBUG( 4,("call_trans2setfsinfo: " "request transport encryption.\n")); |