diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-04-17 16:26:59 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-04-17 16:28:59 +0200 |
commit | e0fe8613a3621e7a1e0488f6698db56ef6c67dd9 (patch) | |
tree | 4df9ac67102a72e045ca3747d9df3cf13616ddeb /source4/librpc | |
parent | aa51981e9916bf8d145001e4ad592efd53527dfe (diff) | |
download | samba-e0fe8613a3621e7a1e0488f6698db56ef6c67dd9.tar.gz samba-e0fe8613a3621e7a1e0488f6698db56ef6c67dd9.tar.bz2 samba-e0fe8613a3621e7a1e0488f6698db56ef6c67dd9.zip |
nbt.idl: fix parsing und pushing of dom_sids by using dom_sid0
metze
(This used to be commit 0e2f6d481b3e35ed392b2b3340b244c77593819c)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/idl/nbt.idl | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source4/librpc/idl/nbt.idl b/source4/librpc/idl/nbt.idl index aa88360882..dddfa4e1ce 100644 --- a/source4/librpc/idl/nbt.idl +++ b/source4/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; |