File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,11 @@ def _retrieve_entries(
128
128
for parent_dict in oauth_groups + user_primary_groups + groups_of_groups
129
129
if child_dn in parent_dict ["member" ]
130
130
]
131
+ if self .debug :
132
+ for group_name in child_dict ["memberOf" ]:
133
+ log .msg (
134
+ f"... user '{ child_dict ['cn' ]} ' is a member of '{ group_name } '"
135
+ )
131
136
132
137
# Ensure memberOf is set correctly for groups
133
138
for child_dict in oauth_groups + user_primary_groups + groups_of_groups :
@@ -137,6 +142,11 @@ def _retrieve_entries(
137
142
for parent_dict in oauth_groups + user_primary_groups + groups_of_groups
138
143
if child_dn in parent_dict ["member" ]
139
144
]
145
+ if self .debug :
146
+ for group_name in child_dict ["memberOf" ]:
147
+ log .msg (
148
+ f"... group '{ child_dict ['cn' ]} ' is a member of '{ group_name } '"
149
+ )
140
150
141
151
# Annotate group and user dicts with the appropriate LDAP classes
142
152
annotated_groups = [
You can’t perform that action at this time.
0 commit comments