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:
committed by
Andrew Bartlett
parent
7562a5518f
commit
09f6b86403
@ -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:]
|
||||
|
Reference in New Issue
Block a user