freeradius-server
freeradius-server copied to clipboard
Debug message incorrect when resolving group by name in rlm_ldap
Issue type
- Defect - Unexpected behaviour (obvious or verified by project member).
Defect
How to reproduce the issue
When querying a non-cached group membership by name, debug output states that the object the user is a member of was the parent of the group object.
if (&LDAP-Group == 'my-group') {
# success
}
Will emit a debug message similar to ou=groups,dc=example,dc=com when it should be cn=my-group,ou=groups,dc=example,dc=com.