diff options
author | Günther Deschner <gd@samba.org> | 2007-03-16 16:20:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:39 -0500 |
commit | f55e1a312e75dc72ea040a35a9c20ccf539c4ae4 (patch) | |
tree | c4c5b3a38371cf35bec741f37d26ca1789ac1411 /source/smbd/negprot.c | |
parent | 128ea9bebbb215e41d2f0576e1a73c6a362b7467 (diff) | |
download | samba-f55e1a312e75dc72ea040a35a9c20ccf539c4ae4.tar.gz samba-f55e1a312e75dc72ea040a35a9c20ccf539c4ae4.tar.xz samba-f55e1a312e75dc72ea040a35a9c20ccf539c4ae4.zip |
r21857: Stop pretending to be Vista in the %a macro towards Samba clients.
Guenther
Diffstat (limited to 'source/smbd/negprot.c')
-rw-r--r-- | source/smbd/negprot.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 |