summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-03-16 16:20:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:39 -0500
commit8d5f85e0046c8fd2c0f8832788719e319751d358 (patch)
tree192fab40cdea8dd1fce3b01024e5fa6ea459579a
parentb067d986b4f45996a3920c2412210a397871af06 (diff)
downloadsamba-8d5f85e0046c8fd2c0f8832788719e319751d358.tar.gz
samba-8d5f85e0046c8fd2c0f8832788719e319751d358.tar.bz2
samba-8d5f85e0046c8fd2c0f8832788719e319751d358.zip
r21857: Stop pretending to be Vista in the %a macro towards Samba clients.
Guenther (This used to be commit f55e1a312e75dc72ea040a35a9c20ccf539c4ae4)
-rw-r--r--source3/smbd/negprot.c4
1 files changed, 3 insertions, 1 deletions
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