0001-ldap-log-missing-mandatory-group-65725.patch
src/authentic2/backends/ldap_backend.py | ||
---|---|---|
1032 | 1032 |
for group_name in mandatory_groups: |
1033 | 1033 |
group = self.get_group_by_name(block, group_name) |
1034 | 1034 |
if group is None: |
1035 |
log.warning('error: couldn\'t retrieve group %r', group_name) |
|
1035 | 1036 |
continue |
1036 | 1037 |
if group not in groups: |
1037 | 1038 |
user.groups.add(group) |
1038 |
- |