libcli/security Merge source3/ string_to_sid() to common code
commit51ecf796549287b7f10092778ffb52e018ae32fe
authorAndrew Bartlett <abartlet@samba.org>
Sat, 4 Sep 2010 04:09:17 +0000 (4 14:09 +1000)
committerJeremy Allison <jra@samba.org>
Tue, 14 Sep 2010 21:48:49 +0000 (14 14:48 -0700)
tree62332ae3a9aa27de14a3c00479da82059950e24f
parent72a8ea4d1545190bad85ee9f2216499e78b3625a
libcli/security Merge source3/ string_to_sid() to common code

The source3 code repsects the limit of a maximum of 15 subauths,
while the source4 code does not, creating a security issue as
we parse string-form SIDs from clients.

Andrew Bartlett
libcli/security/dom_sid.c
source3/lib/util_sid.c