From 8d5f85e0046c8fd2c0f8832788719e319751d358 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 16 Mar 2007 16:20:47 +0000 Subject: r21857: Stop pretending to be Vista in the %a macro towards Samba clients. Guenther (This used to be commit f55e1a312e75dc72ea040a35a9c20ccf539c4ae4) --- source3/smbd/negprot.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/smbd') diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index fb5610b20b..04b06a9bce 100644 --- a/source3/smbd/negprot.c +++ b/source3/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 -- cgit