diff options
author | Luke Leighton <lkcl@samba.org> | 1997-10-14 18:37:55 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-10-14 18:37:55 +0000 |
commit | eafd6e9e797c5badb07059d7eddabd6a8947c830 (patch) | |
tree | edeca4e5c2eedf44d579559ff52ef514642b878f /source/pipentlsa.c | |
parent | 9b095887df204393090d7da9a47508685ddd5163 (diff) | |
download | samba-eafd6e9e797c5badb07059d7eddabd6a8947c830.tar.gz samba-eafd6e9e797c5badb07059d7eddabd6a8947c830.tar.xz samba-eafd6e9e797c5badb07059d7eddabd6a8947c830.zip |
byteorder.h:
created a RW_PIVAL macro which was missing.
smbparse.c:
smb_io_dom_sid() was storing its sub-authorities as uint16s instead
of uint32s. used the DBG_RW_PIVAL macro instead of DBG_RW_PSVAL.
pipentlsa.c:
not sure. something to do with the Query Info reply.
pipeutil.c:
make_rpc_reply() had the packed representation field set to 0x0100 0000
instead of 0x1000 0000, which had the interesting result of turning all
uint32 and uint16 field byte ordering the other way round!
Diffstat (limited to 'source/pipentlsa.c')
-rw-r--r-- | source/pipentlsa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/pipentlsa.c b/source/pipentlsa.c index 9a57b6df9b7..030e00e87ab 100644 --- a/source/pipentlsa.c +++ b/source/pipentlsa.c @@ -61,8 +61,8 @@ static void make_dom_query(DOM_QUERY *d_q, char *dom_name, char *dom_sid) d_q->uni_dom_max_len = domlen * 2; d_q->uni_dom_str_len = domlen * 2; - d_q->buffer_dom_name = 1; /* domain buffer pointer */ - d_q->buffer_dom_sid = 1; /* domain sid pointer */ + d_q->buffer_dom_name = 4; /* domain buffer pointer */ + d_q->buffer_dom_sid = 2; /* domain sid pointer */ /* this string is supposed to be character short */ make_unistr2(&(d_q->uni_domain_name), dom_name, domlen); @@ -77,7 +77,7 @@ static int lsa_reply_query_info(LSA_Q_QUERY_INFO *q_q, char *q, char *base, /* set up the LSA QUERY INFO response */ - r_q.undoc_buffer = 1; /* not null */ + r_q.undoc_buffer = 0x22000000; /* bizarre */ r_q.info_class = q_q->info_class; make_dom_query(&r_q.dom.id5, dom_name, dom_sid); |