diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-15 07:51:19 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-15 07:51:19 +0000 |
commit | bcfbaa312a8493aa2b6ef76a7ebeee55625e5a9c (patch) | |
tree | 539a1fb803b4b762bad8fdbad9d1e6446d5240f0 /source4/librpc/ndr/ndr_lsa.c | |
parent | 5a28ca7bf3250f951826aa0726e4487b88062abe (diff) | |
download | samba-bcfbaa312a8493aa2b6ef76a7ebeee55625e5a9c.tar.gz samba-bcfbaa312a8493aa2b6ef76a7ebeee55625e5a9c.tar.bz2 samba-bcfbaa312a8493aa2b6ef76a7ebeee55625e5a9c.zip |
run LookupDomain on each domain returned from EnumDomains in samr
(This used to be commit 947b9f8ced486d34ee6710a921fb985ea14e2bb1)
Diffstat (limited to 'source4/librpc/ndr/ndr_lsa.c')
-rw-r--r-- | source4/librpc/ndr/ndr_lsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/ndr/ndr_lsa.c b/source4/librpc/ndr/ndr_lsa.c index 587093ed69..db17c1e63d 100644 --- a/source4/librpc/ndr/ndr_lsa.c +++ b/source4/librpc/ndr/ndr_lsa.c @@ -20,8 +20,8 @@ static NTSTATUS ndr_push_lsa_Name(struct ndr_push *ndr, int ndr_flags, struct ls { NDR_CHECK(ndr_push_align(ndr, 4)); if (!(ndr_flags & NDR_SCALARS)) goto buffers; - NDR_CHECK(ndr_push_uint16(ndr, r->name_len)); - NDR_CHECK(ndr_push_uint16(ndr, r->name_size)); + NDR_CHECK(ndr_push_uint16(ndr, 2*strlen_m(r->name))); + NDR_CHECK(ndr_push_uint16(ndr, 2*strlen_m(r->name))); NDR_CHECK(ndr_push_ptr(ndr, r->name)); buffers: if (!(ndr_flags & NDR_BUFFERS)) goto done; |