summaryrefslogtreecommitdiff
path: root/source3/pipenetlog.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-17 13:43:01 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-17 13:43:01 +0000
commitf3c37f925ee06bbc76a89035b28dae0cf8c38088 (patch)
tree9536d7dd562090b0b58431cf5d4096ebca687d48 /source3/pipenetlog.c
parentf657f37b3a346dfe7e31bd2cb3e3c32551bceadf (diff)
downloadsamba-f3c37f925ee06bbc76a89035b28dae0cf8c38088.tar.gz
samba-f3c37f925ee06bbc76a89035b28dae0cf8c38088.tar.bz2
samba-f3c37f925ee06bbc76a89035b28dae0cf8c38088.zip
smbparse.c smb.h :
uni_max_len and uni_str_len are the other way round, in UNIHDR. util.c : increased the show_msg() data size from 256 bytes to 512 bytes: the LSA SAM Logon response can be about 500 bytes long. pipenetlog.c : forgot to set the authoritative field to 1. (This used to be commit 71c6678cd7ffe30a5da27766cf99147e1921feae)
Diffstat (limited to 'source3/pipenetlog.c')
-rw-r--r--source3/pipenetlog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/pipenetlog.c b/source3/pipenetlog.c
index 54769270af..14b2063951 100644
--- a/source3/pipenetlog.c
+++ b/source3/pipenetlog.c
@@ -242,6 +242,7 @@ static int lsa_reply_sam_logon(LSA_Q_SAM_LOGON *q_s, char *q, char *base,
r_s.user = user_info;
r_s.buffer_user = user_info != NULL ? 1 : 0;
r_s.status = user_info != NULL ? 0 : (0xC000000|NT_STATUS_NO_SUCH_USER);
+ r_s.auth_resp = 1; /* authoritative response */
/* store the response in the SMB stream */
q = lsa_io_r_sam_logon(False, &r_s, q, base, 4, 0);