diff options
author | Gerald W. Carter <jerry@samba.org> | 2008-03-31 14:33:53 -0500 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-03-31 14:34:43 -0500 |
commit | 8940fd09a67c79d73712e2dd4b197fffd613dd04 (patch) | |
tree | e338e7c3a8c2db898b25538f2074f82b630e5c8d /source3/lib | |
parent | 4369c14a66060021259308d1c42372e75455953f (diff) | |
download | samba-8940fd09a67c79d73712e2dd4b197fffd613dd04.tar.gz samba-8940fd09a67c79d73712e2dd4b197fffd613dd04.tar.bz2 samba-8940fd09a67c79d73712e2dd4b197fffd613dd04.zip |
Patch from Nicholas Brealey <nick@brealey.org> to distinguish between WinXP and WinXP64.
Defines a new value for the %a variable when detecting a Windows XP 64-bit client.
(This used to be commit 0c94918fb52c5345ce30490046b79f81712c30bf)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index dba7142bad..00062b82a9 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2057,7 +2057,7 @@ void ra_lanman_string( const char *native_lanman ) if ( strcmp( native_lanman, "Windows 2002 5.1" ) == 0 ) set_remote_arch( RA_WINXP ); else if ( strcmp( native_lanman, "Windows XP 5.2" ) == 0 ) - set_remote_arch( RA_WINXP ); + set_remote_arch( RA_WINXP64 ); else if ( strcmp( native_lanman, "Windows Server 2003 5.2" ) == 0 ) set_remote_arch( RA_WIN2K3 ); } @@ -2098,6 +2098,9 @@ void set_remote_arch(enum remote_arch_types type) case RA_WINXP: remote_arch_str = "WinXP"; break; + case RA_WINXP64: + remote_arch_str = "WinXP64"; + break; case RA_WIN2K3: remote_arch_str = "Win2K3"; break; |