libcli/smb: s/FLAGS2_UNKNOWN_BIT4/FLAGS2_SMB_SECURITY_SIGNATURES_REQUIRED
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Sep 2011 20:43:28 +0000 (22:43 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 9 Sep 2011 22:34:50 +0000 (00:34 +0200)
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Sep 10 00:34:50 CEST 2011 on sn-devel-104

libcli/smb/smb_constants.h
source3/smbd/negprot.c

index 11b1394264405a52a56ebc866e16cdae4350ef6a..c5d07ae1ac432c16a6f9f7c21b0819461cd4d66c 100644 (file)
@@ -49,7 +49,7 @@ enum protocol_types {
 #define FLAGS2_LONG_PATH_COMPONENTS    0x0001
 #define FLAGS2_EXTENDED_ATTRIBUTES     0x0002
 #define FLAGS2_SMB_SECURITY_SIGNATURES 0x0004
-#define FLAGS2_UNKNOWN_BIT4            0x0010
+#define FLAGS2_SMB_SECURITY_SIGNATURES_REQUIRED 0x0010
 #define FLAGS2_IS_LONG_NAME            0x0040
 #define FLAGS2_EXTENDED_SECURITY       0x0800
 #define FLAGS2_DFS_PATHNAMES           0x1000
index a38534f3239e91fb4665fcb3466380a876377689..71e0291c776c0a2e63066737e9bbaac14b7246f7 100644 (file)
@@ -315,7 +315,7 @@ static void reply_nt1(struct smb_request *req, uint16 choice)
           distinguish from NT which doesn't set it either. */
 
        if ( (req->flags2 & FLAGS2_EXTENDED_SECURITY) &&
-               ((req->flags2 & FLAGS2_UNKNOWN_BIT4) == 0) )
+               ((req->flags2 & FLAGS2_SMB_SECURITY_SIGNATURES_REQUIRED) == 0) )
        {
                if (get_remote_arch() != RA_SAMBA) {
                        set_remote_arch( RA_VISTA );