diff options
| author | Stefan Metzmacher <metze@samba.org> | 2014-10-13 10:39:45 +0200 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2014-10-16 19:30:04 +0200 |
| commit | 1ab23ac1e7c1f9a6f5c341c3b97b6035a17a762c (patch) | |
| tree | f6252002fa4d1c7b4c539a4461b8d4966c5a21da /python | |
| parent | d81d77ae03d1631b408c43d8d34953c663e8ac3b (diff) | |
| download | samba-1ab23ac1e7c1f9a6f5c341c3b97b6035a17a762c.tar.gz samba-1ab23ac1e7c1f9a6f5c341c3b97b6035a17a762c.tar.xz samba-1ab23ac1e7c1f9a6f5c341c3b97b6035a17a762c.zip | |
libcli/smb: use conn->smb2.server.cipher != 0 instead of conn->smb2.server.capabilities & SMB2_CAP_ENCRYPTION
SMB 3.10 servers don't report SMB2_CAP_ENCRYPTION anymore.
So using conn->smb2.server.cipher != 0 is a more consistent way to decide if
encryption is supported on the connection.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
