summaryrefslogtreecommitdiff
path: root/source3/lsaparse.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-07 18:18:10 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-07 18:18:10 +0000
commit577ae65ca562ec05849a2e9e79689d00e0a0bcf2 (patch)
treeeeafef7e0e041769ae93d09632a3fa040747060a /source3/lsaparse.c
parenta9e1efc1adb9a1cd85222f992c9ea03b56e74125 (diff)
downloadsamba-577ae65ca562ec05849a2e9e79689d00e0a0bcf2.tar.gz
samba-577ae65ca562ec05849a2e9e79689d00e0a0bcf2.tar.bz2
samba-577ae65ca562ec05849a2e9e79689d00e0a0bcf2.zip
pipes.c:
more static unused functions in pipes.c for the LSA RPC stream. smb.h: corrections and altercations over the documentation lsaparse.c: reflecting alterations in LSA structures... (This used to be commit bef12478d212a950578843d6d4dece1f153bfd25)
Diffstat (limited to 'source3/lsaparse.c')
-rw-r--r--source3/lsaparse.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/lsaparse.c b/source3/lsaparse.c
index 43e7ef1d40..2113b19cd3 100644
--- a/source3/lsaparse.c
+++ b/source3/lsaparse.c
@@ -403,7 +403,10 @@ char* lsa_io_r_sam_logon(BOOL io, LSA_R_SAM_LOGON *r_l, char *q, char *base, int
q = smb_io_cred(io, &(r_l->srv_creds), q, base, align); /* server credentials. server time stamp appears to be ignored. */
RW_IVAL(io, q, r_l->buffer_user, 0); q += 4;
- q = lsa_io_user_info(io, &(r_l->user), q, base, align);
+ if (r_l->buffer_user != 0)
+ {
+ q = lsa_io_user_info(io, r_l->user, q, base, align);
+ }
RW_IVAL(io, q, r_l->auth_resp, 0); q += 4; /* 1 - Authoritative response; 0 - Non-Auth? */