diff options
author | Justin Maggard <jmaggard10@gmail.com> | 2016-03-02 10:18:34 -0800 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2016-03-14 10:02:15 +0100 |
commit | 9d588a90d30e97d7ec41fd57f1b35d9083e0810b (patch) | |
tree | f7034393c165b447009e3f83e4b842b04297f2d9 /libcli | |
parent | 28e5e957a4b923329b5494fba9698a7aebd5fb96 (diff) | |
download | samba-9d588a90d30e97d7ec41fd57f1b35d9083e0810b.tar.gz |
s3:smbd: rework negprot remote arch detection
Negprot remote arch detection is very cryptic. Rework it so it's easier
to understand, and therefore more extensible, following the protocol table
in inline comments. This also allows us to remove some hacks.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11773
Signed-off-by: Justin Maggard <jmaggard10@gmail.com>
Reviewed-by: Ralph Boehme <rb@sernet.de>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit b69b96fc14128f50a906b4f5b34934efbc94afbc)
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/smb/smb_constants.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libcli/smb/smb_constants.h b/libcli/smb/smb_constants.h index c4cca1568ea..563a574521f 100644 --- a/libcli/smb/smb_constants.h +++ b/libcli/smb/smb_constants.h @@ -309,7 +309,6 @@ enum csc_policy { #define FLAGS2_READ_PERMIT_EXECUTE 0x2000 #define FLAGS2_32_BIT_ERROR_CODES 0x4000 #define FLAGS2_UNICODE_STRINGS 0x8000 -#define FLAGS2_WIN2K_SIGNATURE 0xC852 /* Hack alert ! For now... JRA. */ /* FileAttributes (search attributes) field */ #define FILE_ATTRIBUTE_READONLY 0x0001L |