summaryrefslogtreecommitdiffstats
path: root/source4/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-09-09 17:56:11 +0200
committerStefan Metzmacher <metze@samba.org>2008-09-23 11:30:03 +0200
commit7deacc615e92221548fea940b0e90fe03a3ec098 (patch)
treef68ab9d1a64cf343a87b17da5cab10bf189fd285 /source4/libcli
parente00ab641b4aeafa70d035c66baf31b965a7e5734 (diff)
downloadsamba-7deacc615e92221548fea940b0e90fe03a3ec098.tar.gz
samba-7deacc615e92221548fea940b0e90fe03a3ec098.tar.xz
samba-7deacc615e92221548fea940b0e90fe03a3ec098.zip
libcli/raw: in SMB_SIGNING_ENGINE_BSRSPYL state it's ok to accept any signature
Even if signing is mandatory. With NTLMSSP this happens for the session setup: request1 => BSRSPYL response1 => BSRSPYL request2 => BSRSPYL response2 => <SIGNATURE> and with krb5: request1 => BSRSPYL response1 => <SIGNATURE> metze
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/raw/smb_signing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/raw/smb_signing.c b/source4/libcli/raw/smb_signing.c
index ae17dadf335..c23fb161283 100644
--- a/source4/libcli/raw/smb_signing.c
+++ b/source4/libcli/raw/smb_signing.c
@@ -310,6 +310,8 @@ bool smbcli_request_check_sign_mac(struct smbcli_request *req)
case SMB_SIGNING_ENGINE_OFF:
return true;
case SMB_SIGNING_ENGINE_BSRSPYL:
+ return true;
+
case SMB_SIGNING_ENGINE_ON:
{
if (req->in.size < (HDR_SS_FIELD + 8)) {