diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-03-15 14:37:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:04 -0500 |
commit | 9743bdf86fe44babed74fc06264337ded8c43382 (patch) | |
tree | 4c78022bea2fc1b226ec5900c663f3e19605d709 /source4/librpc/idl | |
parent | a81a2c22a2a3684bcf3df441e9186ae414639db3 (diff) | |
download | samba-9743bdf86fe44babed74fc06264337ded8c43382.tar.gz samba-9743bdf86fe44babed74fc06264337ded8c43382.tar.bz2 samba-9743bdf86fe44babed74fc06264337ded8c43382.zip |
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 used to be commit 2fc8a604b003a6c3425eb7bbf77fbe467c956085)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/security.idl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/idl/security.idl b/source4/librpc/idl/security.idl index 71929cd843..691dd1d063 100644 --- a/source4/librpc/idl/security.idl +++ b/source4/librpc/idl/security.idl @@ -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; |