From: Günther Deschner Date: Fri, 16 Mar 2007 16:20:47 +0000 (+0000) Subject: r21857: Stop pretending to be Vista in the %a macro towards Samba clients. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~934 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f55e1a312e75dc72ea040a35a9c20ccf539c4ae4;p=thirdparty%2Fsamba.git r21857: Stop pretending to be Vista in the %a macro towards Samba clients. Guenther --- diff --git a/source/smbd/negprot.c b/source/smbd/negprot.c index fb5610b20bb..04b06a9bce3 100644 --- a/source/smbd/negprot.c +++ b/source/smbd/negprot.c @@ -259,7 +259,9 @@ static int reply_nt1(char *inbuf, char *outbuf) 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