mirror of
https://github.com/samba-team/samba.git
synced 2025-12-16 00:23:52 +03:00
r21262: Final part of BUG 4093: fix %a with Windows XP 64bit
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
7f1aee96a0
commit
e2681eb4be
@@ -2129,6 +2129,7 @@ BOOL is_myworkgroup(const char *s)
|
|||||||
/*******************************************************************
|
/*******************************************************************
|
||||||
we distinguish between 2K and XP by the "Native Lan Manager" string
|
we distinguish between 2K and XP by the "Native Lan Manager" string
|
||||||
WinXP => "Windows 2002 5.1"
|
WinXP => "Windows 2002 5.1"
|
||||||
|
WinXP 64bit => "Windows XP 5.2"
|
||||||
Win2k => "Windows 2000 5.0"
|
Win2k => "Windows 2000 5.0"
|
||||||
NT4 => "Windows NT 4.0"
|
NT4 => "Windows NT 4.0"
|
||||||
Win9x => "Windows 4.0"
|
Win9x => "Windows 4.0"
|
||||||
@@ -2137,9 +2138,11 @@ BOOL is_myworkgroup(const char *s)
|
|||||||
********************************************************************/
|
********************************************************************/
|
||||||
|
|
||||||
void ra_lanman_string( const char *native_lanman )
|
void ra_lanman_string( const char *native_lanman )
|
||||||
{
|
{
|
||||||
if ( strcmp( native_lanman, "Windows 2002 5.1" ) == 0 )
|
if ( strcmp( native_lanman, "Windows 2002 5.1" ) == 0 )
|
||||||
set_remote_arch( RA_WINXP );
|
set_remote_arch( RA_WINXP );
|
||||||
|
else if ( strcmp( native_lanman, "Windows XP 5.2" ) == 0 )
|
||||||
|
set_remote_arch( RA_WINXP );
|
||||||
else if ( strcmp( native_lanman, "Windows Server 2003 5.2" ) == 0 )
|
else if ( strcmp( native_lanman, "Windows Server 2003 5.2" ) == 0 )
|
||||||
set_remote_arch( RA_WIN2K3 );
|
set_remote_arch( RA_WIN2K3 );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user