diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-11-26 00:43:37 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-11-26 00:43:37 +0000 |
commit | 03439e183686567f632fa9c085691c4bb8d3e365 (patch) | |
tree | a92eb4190fe33817fd4289421b24368cd8aa6ad4 /source3 | |
parent | f45c2e52b756df6c1691a6f6b9957470bc217a48 (diff) | |
download | samba-03439e183686567f632fa9c085691c4bb8d3e365.tar.gz samba-03439e183686567f632fa9c085691c4bb8d3e365.tar.bz2 samba-03439e183686567f632fa9c085691c4bb8d3e365.zip |
fixed spnego, non-kerberos negprot
(This used to be commit 2e916222a915c27f919a9841bde5ba0967af2190)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/negprot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index 8a01a59bf2..a2666ae24e 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -271,6 +271,8 @@ static int reply_nt1(char *inbuf, char *outbuf) } SSVALS(outbuf,smb_vwv16+1,8); p += 8; + p += srvstr_push(outbuf, p, global_myworkgroup, -1, + STR_UNICODE|STR_TERMINATE|STR_NOALIGN); DEBUG(3,("not using SPNEGO\n")); } else { int len = negprot_spnego(p); @@ -279,8 +281,6 @@ static int reply_nt1(char *inbuf, char *outbuf) p += len; DEBUG(3,("using SPNEGO\n")); } - p += srvstr_push(outbuf, p, global_myworkgroup, -1, - STR_UNICODE|STR_TERMINATE|STR_NOALIGN); SSVAL(outbuf,smb_vwv17, p - q); /* length of challenge+domain strings */ set_message_end(outbuf, p); |