diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-04-17 16:26:59 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2008-04-22 08:51:55 +0200 |
commit | 4c1040464b1c0b3e57560269cf8348999f337dda (patch) | |
tree | 85c7871519e591031ca38a2c1ab757e831c76882 /source/librpc | |
parent | 84617bafd22ef45ddec20b32888c1c371edfd5e8 (diff) | |
download | samba-4c1040464b1c0b3e57560269cf8348999f337dda.tar.gz samba-4c1040464b1c0b3e57560269cf8348999f337dda.tar.xz samba-4c1040464b1c0b3e57560269cf8348999f337dda.zip |
nbt.idl: fix parsing und pushing of dom_sids by using dom_sid0
metze
(cherry picked from commit 0e2f6d481b3e35ed392b2b3340b244c77593819c)
(cherry picked from commit 70d99d8ed92d13fa3ec308df170595316d091988)
Diffstat (limited to 'source/librpc')
-rw-r--r-- | source/librpc/idl/nbt.idl | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source/librpc/idl/nbt.idl b/source/librpc/idl/nbt.idl index ca764d2a2b0..e5efe1746d7 100644 --- a/source/librpc/idl/nbt.idl +++ b/source/librpc/idl/nbt.idl @@ -440,9 +440,8 @@ interface nbt nstring unicode_domain; uint32 db_count; nbt_db_change dbchange[db_count]; - [value(ndr_size_dom_sid(&sid, ndr->flags))] uint32 sid_size; - [flag(NDR_ALIGN4)] DATA_BLOB _pad2; - dom_sid sid; + [value(ndr_size_dom_sid0(&sid, ndr->flags))] uint32 sid_size; + [subcontext(0),subcontext_size(sid_size)] dom_sid0 sid; uint32 nt_version; uint16 lmnt_token; uint16 lm20_token; @@ -560,9 +559,8 @@ interface nbt nstring user_name; astring mailslot_name; uint32 acct_control; - [value(ndr_size_dom_sid(&sid, ndr->flags))] uint32 sid_size; - [flag(NDR_ALIGN4)] DATA_BLOB _pad; - dom_sid sid; + [value(ndr_size_dom_sid0(&sid, ndr->flags))] uint32 sid_size; + [subcontext(0),subcontext_size(sid_size)] dom_sid0 sid; uint32 nt_version; uint16 lmnt_token; uint16 lm20_token; |