summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-02-08 21:48:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:51 -0500
commit7db1c6873c15e7950bf7dcc10ce3cdc7bc10248c (patch)
tree8f342612e962b07ce0f29bbeaa6bc65bf0295134 /source3/include
parent92715eaf0bf20b25d02e6265be9c960ddc9d6b03 (diff)
downloadsamba-7db1c6873c15e7950bf7dcc10ce3cdc7bc10248c.tar.gz
samba-7db1c6873c15e7950bf7dcc10ce3cdc7bc10248c.tar.bz2
samba-7db1c6873c15e7950bf7dcc10ce3cdc7bc10248c.zip
r21250: Partial fix for BUG 4093: Make %a expand to "Vista"
based on the flags2 values in the negprot request. This also includes some code for testing the dialect strings for "SMB 2.001" but this is unreliable as Vista only sends that in the 1st negprot and caches the fact that we don't support it. Restartnig the WOrkstation service on the client clears the cache. (This used to be commit d781eeb0e4362b7af1497634d26315498a5257d4)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 7bc5c0a414..f9efa89958 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1469,6 +1469,7 @@ char *strdup(char *s);
#define FLAGS2_LONG_PATH_COMPONENTS 0x0001
#define FLAGS2_EXTENDED_ATTRIBUTES 0x0002
#define FLAGS2_SMB_SECURITY_SIGNATURES 0x0004
+#define FLAGS2_UNKNOWN_BIT4 0x0010
#define FLAGS2_IS_LONG_NAME 0x0040
#define FLAGS2_EXTENDED_SECURITY 0x0800
#define FLAGS2_DFS_PATHNAMES 0x1000
@@ -1532,7 +1533,8 @@ enum ldap_passwd_sync_types {LDAP_PASSWD_SYNC_ON, LDAP_PASSWD_SYNC_OFF, LDAP_PAS
/* Remote architectures we know about. */
enum remote_arch_types {RA_UNKNOWN, RA_WFWG, RA_OS2, RA_WIN95, RA_WINNT,
- RA_WIN2K, RA_WINXP, RA_WIN2K3, RA_SAMBA, RA_CIFSFS};
+ RA_WIN2K, RA_WINXP, RA_WIN2K3, RA_VISTA,
+ RA_SAMBA, RA_CIFSFS};
/* case handling */
enum case_handling {CASE_LOWER,CASE_UPPER};