mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r5798: limit the size of an sid, 28 bytes complete is the biggest SID
that can be handled. tridge: do you think it would make sense to change the sub_auth[num_auths] to sub_auth[5], so we can copy the struct by sid1 = sid2; comments please metze
This commit is contained in:
parent
483bb1418f
commit
2fc8a604b0
@ -186,7 +186,7 @@ interface security
|
||||
so you can't copy them using assignment */
|
||||
typedef [public,noprint] struct {
|
||||
uint8 sid_rev_num; /**< SID revision number */
|
||||
uint8 num_auths; /**< Number of sub-authorities */
|
||||
[range(0,5)] int8 num_auths; /**< Number of sub-authorities */
|
||||
uint8 id_auth[6]; /**< Identifier Authority */
|
||||
uint32 sub_auths[num_auths];
|
||||
} dom_sid;
|
||||
|
Loading…
Reference in New Issue
Block a user