From f55e1a312e75dc72ea040a35a9c20ccf539c4ae4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Fri, 16 Mar 2007 16:20:47 +0000 Subject: [PATCH] r21857: Stop pretending to be Vista in the %a macro towards Samba clients. Guenther --- source/smbd/negprot.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.47.2