summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-03-12 15:41:39 +0000
committerGerald Carter <jerry@samba.org>2003-03-12 15:41:39 +0000
commitfd56ede2b6c6590616d66b524734dacfaf1a8f1b (patch)
treef450f30b004c21f685817a34e9f0f8d723a9fa69 /source3/smbd
parent834da49f63976c9c39b0d976e9cbc981a80821e4 (diff)
downloadsamba-fd56ede2b6c6590616d66b524734dacfaf1a8f1b.tar.gz
samba-fd56ede2b6c6590616d66b524734dacfaf1a8f1b.tar.bz2
samba-fd56ede2b6c6590616d66b524734dacfaf1a8f1b.zip
adding some initiaial code to sert %a to Win2K3 (using Native LanMan string from .NET RC2)
(This used to be commit e074cab810f9299d0b27881cddf8a74f10fe233e)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/sesssetup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index b0ef78f447..7e28592eeb 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -593,6 +593,8 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,
if ( ra_type == RA_WIN2K ) {
if ( 0 == strcmp( native_lanman, "Windows 2002 5.1" ) )
set_remote_arch( RA_WINXP );
+ else if ( 0 == strcmp( native_lanman, "Windows .NET 5.2" ) )
+ set_remote_arch( RA_WIN2K3 );
}