diff options
author | Luke Leighton <lkcl@samba.org> | 1997-10-07 14:58:07 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-10-07 14:58:07 +0000 |
commit | a3b7bdd7b997fd6d41b8b96676eb58471112d931 (patch) | |
tree | 78f25b13e323cf484d6c2827661e156326c34390 /source3/smbparse.c | |
parent | 0235299ea51eb553b157de0cffa117d01adf6a70 (diff) | |
download | samba-a3b7bdd7b997fd6d41b8b96676eb58471112d931.tar.gz samba-a3b7bdd7b997fd6d41b8b96676eb58471112d931.tar.bz2 samba-a3b7bdd7b997fd6d41b8b96676eb58471112d931.zip |
pipes.c:
some routines to create LSA RPC packets. none of them are used.
lsaparse.c:
smbparse.c:
smb.h:
more tidy-up.
(This used to be commit b37e21273e81b875876e8e8ddf6804714044ffd8)
Diffstat (limited to 'source3/smbparse.c')
-rw-r--r-- | source3/smbparse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbparse.c b/source3/smbparse.c index 95390522ff..7ea140f7cb 100644 --- a/source3/smbparse.c +++ b/source3/smbparse.c @@ -416,7 +416,7 @@ char* smb_io_pol_hnd(BOOL io, LSA_POL_HND *pol, char *q, char *base, int align) q = align_offset(q, base, align); - RW_PCVAL(io, q, pol->data, 20); q += 20; + RW_PCVAL(io, q, pol->data, POL_HND_SIZE); q += POL_HND_SIZE; return q; } @@ -448,6 +448,7 @@ char* smb_io_dom_query(BOOL io, DOM_QUERY *d_q, char *q, char *base, int align) RW_SVAL(io, q, d_q->uni_dom_max_len, 0); q += 2; /* domain name string length * 2 */ + RW_SVAL(io, q, d_q->padding , 0); q += 2; /* 2 padding bytes */ RW_SVAL(io, q, d_q->uni_dom_str_len, 0); q += 2; /* domain name string length * 2 */ RW_IVAL(io, q, d_q->buffer_dom_name, 0); q += 4; /* undocumented domain name string buffer pointer */ |