samdb/cracknames: support user and service principal as desired format
authorBob Campbell <bobcampbell@catalyst.net.nz>
Wed, 5 Jul 2017 04:08:11 +0000 (16:08 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 24 Jul 2017 09:10:26 +0000 (11:10 +0200)
commiteb2e77970e41c1cb62c041877565e939c78ff52d
tree348f62f17675c5d379e2069ed19047037f1c2c3d
parentc186e02b40c921d33e23c8b2f7c5f1abb235a438
samdb/cracknames: support user and service principal as desired format

This adds support for DRSUAPI_DS_NAME_FORMAT_USER_PRINCIPAL and
DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL as desired formats.

This also causes the test in cracknames.py to no longer fail.

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

Signed-off-by: Bob Campbell <bobcampbell@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jul 24 11:10:26 CEST 2017 on sn-devel-144
selftest/knownfail
source4/dsdb/samdb/cracknames.c