diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-04-17 16:26:59 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-04-17 17:59:24 +0200 |
commit | d4d706e0fa6ed2c6b8cd1d788257c7bd096a170b (patch) | |
tree | 2adffa5800bd7b5a4d5f4bc612ab2558f840ce0f /source3 | |
parent | a4c60b2696962c7f83e033e00d97e4b1dacc05c9 (diff) | |
download | samba-d4d706e0fa6ed2c6b8cd1d788257c7bd096a170b.tar.gz samba-d4d706e0fa6ed2c6b8cd1d788257c7bd096a170b.tar.bz2 samba-d4d706e0fa6ed2c6b8cd1d788257c7bd096a170b.zip |
nbt.idl: fix parsing und pushing of dom_sids by using dom_sid0
metze
(cherry picked from commit 0e2f6d481b3e35ed392b2b3340b244c77593819c)
(This used to be commit 70d99d8ed92d13fa3ec308df170595316d091988)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/librpc/idl/nbt.idl | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source3/librpc/idl/nbt.idl b/source3/librpc/idl/nbt.idl index ca764d2a2b..e5efe1746d 100644 --- a/source3/librpc/idl/nbt.idl +++ b/source3/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; |