diff options
author | Gerald Carter <jerry@samba.org> | 2007-02-08 21:48:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:51 -0500 |
commit | 7db1c6873c15e7950bf7dcc10ce3cdc7bc10248c (patch) | |
tree | 8f342612e962b07ce0f29bbeaa6bc65bf0295134 /source3/lib | |
parent | 92715eaf0bf20b25d02e6265be9c960ddc9d6b03 (diff) | |
download | samba-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/lib')
-rw-r--r-- | source3/lib/util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index b416907c41..efdb7f60fd 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2173,6 +2173,9 @@ void set_remote_arch(enum remote_arch_types type) case RA_WIN2K3: fstrcpy(remote_arch, "Win2K3"); break; + case RA_VISTA: + fstrcpy(remote_arch, "Vista"); + break; case RA_SAMBA: fstrcpy(remote_arch,"Samba"); break; |