1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-31 20:22:15 +03:00

python/samba: PY3 port samba4.blackbox.functionalprep

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Noel Power
2018-10-08 15:21:45 +01:00
committed by Andrew Bartlett
parent 7562a5518f
commit 09f6b86403
2 changed files with 3 additions and 2 deletions

View File

@ -346,7 +346,7 @@ objectClass: container
controls=["search_options:1:2"])
assert len(msg) == 1
existing_sddl = msg[0][attr][0]
existing_sddl = str(msg[0][attr][0])
index = existing_sddl.rfind("S:")
if index != -1:
new_sddl = existing_sddl[:index] + ace + existing_sddl[index:]