diff options
author | Noel Power <noel.power@suse.com> | 2018-10-01 14:47:06 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-10-23 05:50:27 +0200 |
commit | 17728c2f53acbb2a128440152d8d2d954f85f67a (patch) | |
tree | 5736b7cc1aa9e8539cde516e141b2b5a9455d967 /python/samba/dbchecker.py | |
parent | 8eae420fbc0377e7d64a16defe31b0f9e7976121 (diff) | |
download | samba-17728c2f53acbb2a128440152d8d2d954f85f67a.tar.gz |
python/samba: ldb attribute string fix for wafsamba.tests
Diffstat (limited to 'python/samba/dbchecker.py')
-rw-r--r-- | python/samba/dbchecker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/dbchecker.py b/python/samba/dbchecker.py index d1251a26299..8b621dc8221 100644 --- a/python/samba/dbchecker.py +++ b/python/samba/dbchecker.py @@ -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?'): |