dbcheck: use the str() value of the "name" attribute
authorStefan Metzmacher <metze@samba.org>
Tue, 19 Mar 2019 12:05:16 +0000 (13:05 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 28 Mar 2019 12:19:13 +0000 (12:19 +0000)
commitcf7d657a4d04cb3016b9f1c902f767123d3d1c34
tree006070851c0f5b560719ffad114bf02667382432
parenta41fa4dd1e9b1883397cc9dc1b349cc3657830d5
dbcheck: use the str() value of the "name" attribute

We do the same with the rdn attribute value
and we need the same logic on both in order to
check they are the same.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
(cherry picked from commit dd6f0dad218ec1d5aa38ea8aa6848ec81035cb3f)
python/samba/dbchecker.py
source4/selftest/provisions/release-4-5-0-pre1/expected-dbcheck-link-output-lost-deleted-user1.txt