Fix dsidm role subtree-status fails with TypeError Fix name cockpit_present is not defined. Fix typo Fix DirSrv has no attribute userid (cherry picked from commit 3cd6c638f27dd1fbb7d76e7cf6fa1383be0561ee)
12 lines
506 B
Diff
12 lines
506 B
Diff
--- 389-ds-base-3.1.1/src/lib389/lib389/cli_idm/role.py 2024-11-26 14:12:42.805280521 +0800
|
|
+++ 389-ds-base-3.1.1/src/lib389/lib389/cli_idm/role.py 2024-11-26 14:13:08.157340335 +0800
|
|
@@ -109,7 +109,7 @@
|
|
filter = ""
|
|
scope = ldap.SCOPE_SUBTREE
|
|
|
|
- role_list = Roles(inst, basedn).filter(filter, scope)
|
|
+ role_list = Roles(inst, basedn).filter(filter, scope=scope)
|
|
if not role_list:
|
|
raise ValueError(f"No entries were found under {basedn} or the user doesn't have an access")
|
|
|