summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorJustin Maggard <jmaggard10@gmail.com>2016-03-02 10:18:34 -0800
committerJeremy Allison <jra@samba.org>2016-03-03 05:50:17 +0100
commitb69b96fc14128f50a906b4f5b34934efbc94afbc (patch)
tree3e158f0fddd4433c7a74a1d199ee8fd7a729adbf /libcli
parent9c67ff461d73305530ea257820215cf1ba97f703 (diff)
downloadsamba-b69b96fc14128f50a906b4f5b34934efbc94afbc.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. Signed-off-by: Justin Maggard <jmaggard10@gmail.com> Reviewed-by: Ralph Boehme <rb@sernet.de> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'libcli')
-rw-r--r--libcli/smb/smb_constants.h1
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