diff options
author | Noel Power <noel.power@suse.com> | 2018-11-19 18:29:23 +0000 |
---|---|---|
committer | Noel Power <npower@samba.org> | 2018-12-10 10:38:23 +0100 |
commit | 397ab3afbd107e3e5a33b87d2b1221221d21b7d5 (patch) | |
tree | 74bd4cabe4688d59369b4064969e8a4e82782491 | |
parent | 42cb270b48f11c8ac8104125acd2719f307c4a39 (diff) | |
download | samba-397ab3afbd107e3e5a33b87d2b1221221d21b7d5.tar.gz |
s4/dsdb/tests: PY3 fix failing samba4.ldap.notification
Convert ldb.bytes object to string for further processing
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-x | source4/dsdb/tests/python/notification.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/tests/python/notification.py b/source4/dsdb/tests/python/notification.py index 81be0e34b00..b8e897da910 100755 --- a/source4/dsdb/tests/python/notification.py +++ b/source4/dsdb/tests/python/notification.py @@ -325,7 +325,7 @@ delete: otherLoginWorkstations attrs=["lDAPDisplayName"], controls=["paged_results:1:2500"]) for msg in res: - va = msg["lDAPDisplayName"][0] + va = str(msg["lDAPDisplayName"][0]) if va in valid_attrs: continue |