svn commit: samba r21857 - in branches: SAMBA_3_0/source/smbd
SAMBA_3_0_25/source/smbd
gd at samba.org
gd at samba.org
Fri Mar 16 16:20:48 GMT 2007
Author: gd
Date: 2007-03-16 16:20:47 +0000 (Fri, 16 Mar 2007)
New Revision: 21857
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21857
Log:
Stop pretending to be Vista in the %a macro towards Samba clients.
Guenther
Modified:
branches/SAMBA_3_0/source/smbd/negprot.c
branches/SAMBA_3_0_25/source/smbd/negprot.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbd/negprot.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/negprot.c 2007-03-16 16:07:51 UTC (rev 21856)
+++ branches/SAMBA_3_0/source/smbd/negprot.c 2007-03-16 16:20:47 UTC (rev 21857)
@@ -259,7 +259,9 @@
if ( (SVAL(inbuf, smb_flg2) & FLAGS2_EXTENDED_SECURITY) &&
((SVAL(inbuf, smb_flg2) & FLAGS2_UNKNOWN_BIT4) == 0) )
{
- set_remote_arch( RA_VISTA );
+ if (get_remote_arch() != RA_SAMBA) {;
+ set_remote_arch( RA_VISTA );
+ }
}
/* do spnego in user level security if the client
Modified: branches/SAMBA_3_0_25/source/smbd/negprot.c
===================================================================
--- branches/SAMBA_3_0_25/source/smbd/negprot.c 2007-03-16 16:07:51 UTC (rev 21856)
+++ branches/SAMBA_3_0_25/source/smbd/negprot.c 2007-03-16 16:20:47 UTC (rev 21857)
@@ -259,7 +259,9 @@
if ( (SVAL(inbuf, smb_flg2) & FLAGS2_EXTENDED_SECURITY) &&
((SVAL(inbuf, smb_flg2) & FLAGS2_UNKNOWN_BIT4) == 0) )
{
- set_remote_arch( RA_VISTA );
+ if (get_remote_arch() != RA_SAMBA) {;
+ set_remote_arch( RA_VISTA );
+ }
}
/* do spnego in user level security if the client
More information about the samba-cvs
mailing list