git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
128ea9b
)
r21857: Stop pretending to be Vista in the %a macro towards Samba clients.
author
Günther Deschner
<gd@samba.org>
Fri, 16 Mar 2007 16:20:47 +0000
(16:20 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:18:39 +0000
(12:18 -0500)
Guenther
source/smbd/negprot.c
patch
|
blob
|
history
diff --git
a/source/smbd/negprot.c
b/source/smbd/negprot.c
index fb5610b20bb2a2449d9597e1e5d8fb0e220f7281..04b06a9bce38276aeccc01ccdc87425c57f43c4d 100644
(file)
--- 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