diff options
author | Luke Leighton <lkcl@samba.org> | 1997-10-27 19:00:38 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-10-27 19:00:38 +0000 |
commit | aee261e784915df4283e3bffaadac54ee36ec49e (patch) | |
tree | 3a2ef98c607713b82ac78321d45910c9ce2692f9 /source3/smbparse.c | |
parent | 6fc83d5c36ab92a832d32ebbeab5111086826e10 (diff) | |
download | samba-aee261e784915df4283e3bffaadac54ee36ec49e.tar.gz samba-aee261e784915df4283e3bffaadac54ee36ec49e.tar.bz2 samba-aee261e784915df4283e3bffaadac54ee36ec49e.zip |
added LSA_Q_CLOSE and LSA_R_CLOSE (also to smb.h). implemented in smbclient.
updated Query Info Policy to report domain name and domain sid for info levels
3 and 5.
fixed bug in dom_sid_to_string (idauths decoded wrong). fixed bug in DOM_SID:
subauths are 32 bit not 16.
(This used to be commit 2f3cca23e2465ca6a3a31fda005af1fd74f6af92)
Diffstat (limited to 'source3/smbparse.c')
-rw-r--r-- | source3/smbparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbparse.c b/source3/smbparse.c index 028f172b8e..6b02827006 100644 --- a/source3/smbparse.c +++ b/source3/smbparse.c @@ -136,7 +136,7 @@ char* smb_io_dom_sid(BOOL io, DOM_SID *sid, char *q, char *base, int align, int /* oops! XXXX should really issue a warning here... */ if (sid->num_auths > MAXSUBAUTHS) sid->num_auths = MAXSUBAUTHS; - DBG_RW_PIVAL("num_auths ", depth, base, io, q, sid->sub_auths, sid->num_auths); q += sid->num_auths * 4; + DBG_RW_PIVAL("sub_auths ", depth, base, io, q, sid->sub_auths, sid->num_auths); q += sid->num_auths * 4; return q; } @@ -278,7 +278,7 @@ char* smb_io_unistr2(BOOL io, UNISTR2 *uni2, char *q, char *base, int align, int /* buffer advanced by indicated length of string NOT by searching for null-termination */ - DBG_RW_PSVAL("buffer ", depth, base, io, q, uni2->buffer, uni2->uni_max_len); q += uni2->uni_max_len * 2; + DBG_RW_PSVAL("buffer ", depth, base, io, q, uni2->buffer, uni2->uni_max_len); q += uni2->uni_max_len * 2; return q; } |