mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
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>
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user