ldb-samba: simplify extended_dn_read_SID()
commit8c702735641aaad58c317843c547249c6bd1c716
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 17 Apr 2024 13:44:03 +0000 (18 01:44 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 7 May 2024 23:25:35 +0000 (7 23:25 +0000)
tree53c651b1c61d8faea7533abb47dec00c4bdc6f1f
parentc6c7cb8d4ba0e115034f4f0f7ff4a9943e54d914
ldb-samba: simplify extended_dn_read_SID()

This will allow the reading of SIDs that start with "s-", which
Windows allows, and we allow elsewhere.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10763

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