libcli/security/dom_sid: hex but not octal is OK for sub-auth
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Sun, 16 Apr 2023 00:21:16 +0000 (12:21 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 28 Apr 2023 02:15:36 +0000 (02:15 +0000)
commit1149d391592a919c768df0e0959d7987c62fc7de
tree6d3eb180c5be512801122e83ff689fc1ed34bc65
parent67ff4ca200e69a112afa3a25362da707e00732e6
libcli/security/dom_sid: hex but not octal is OK for sub-auth

Following Windows, the numbers that would be octal (e.g. "0123") are
converted to decimal by skipping over the zeros.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/security/dom_sid.c
selftest/knownfail.d/sid-strings