mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
nbt.idl: fix parsing und pushing of dom_sids by using dom_sid0
metze (cherry picked from commit0e2f6d481b
) (This used to be commit70d99d8ed9
)
This commit is contained in:
parent
a4c60b2696
commit
d4d706e0fa
@ -440,9 +440,8 @@ interface nbt
|
|||||||
nstring unicode_domain;
|
nstring unicode_domain;
|
||||||
uint32 db_count;
|
uint32 db_count;
|
||||||
nbt_db_change dbchange[db_count];
|
nbt_db_change dbchange[db_count];
|
||||||
[value(ndr_size_dom_sid(&sid, ndr->flags))] uint32 sid_size;
|
[value(ndr_size_dom_sid0(&sid, ndr->flags))] uint32 sid_size;
|
||||||
[flag(NDR_ALIGN4)] DATA_BLOB _pad2;
|
[subcontext(0),subcontext_size(sid_size)] dom_sid0 sid;
|
||||||
dom_sid sid;
|
|
||||||
uint32 nt_version;
|
uint32 nt_version;
|
||||||
uint16 lmnt_token;
|
uint16 lmnt_token;
|
||||||
uint16 lm20_token;
|
uint16 lm20_token;
|
||||||
@ -560,9 +559,8 @@ interface nbt
|
|||||||
nstring user_name;
|
nstring user_name;
|
||||||
astring mailslot_name;
|
astring mailslot_name;
|
||||||
uint32 acct_control;
|
uint32 acct_control;
|
||||||
[value(ndr_size_dom_sid(&sid, ndr->flags))] uint32 sid_size;
|
[value(ndr_size_dom_sid0(&sid, ndr->flags))] uint32 sid_size;
|
||||||
[flag(NDR_ALIGN4)] DATA_BLOB _pad;
|
[subcontext(0),subcontext_size(sid_size)] dom_sid0 sid;
|
||||||
dom_sid sid;
|
|
||||||
uint32 nt_version;
|
uint32 nt_version;
|
||||||
uint16 lmnt_token;
|
uint16 lmnt_token;
|
||||||
uint16 lm20_token;
|
uint16 lm20_token;
|
||||||
|
Loading…
Reference in New Issue
Block a user