git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42cb270
)
s4/dsdb/tests: PY3 fix failing samba4.ldap.notification
author
Noel Power
<noel.power@suse.com>
Mon, 19 Nov 2018 18:29:23 +0000
(18:29 +0000)
committer
Noel Power
<npower@samba.org>
Mon, 10 Dec 2018 09:38:23 +0000
(10:38 +0100)
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>
source4/dsdb/tests/python/notification.py
patch
|
blob
|
history
diff --git
a/source4/dsdb/tests/python/notification.py
b/source4/dsdb/tests/python/notification.py
index 81be0e34b00ab481c53e29a3b0d7e6b4d49e6643..b8e897da910fa824278704358951c08c0ff72154 100755
(executable)
--- 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