1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

python/samba: ldb attribute string fix for wafsamba.tests

This commit is contained in:
Noel Power 2018-10-01 14:47:06 +01:00 committed by Andrew Bartlett
parent 8eae420fbc
commit 17728c2f53

@ -2473,7 +2473,7 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base)))
self.report('ERROR: dsServiceName missing in @ROOTDSE')
return error_count + 1
if not obj['dsServiceName'][0].startswith('<GUID='):
if not str(obj['dsServiceName'][0]).startswith('<GUID='):
self.report('ERROR: dsServiceName not in GUID form in @ROOTDSE')
error_count += 1
if not self.confirm('Change dsServiceName to GUID form?'):