sipcapture / homer7-docker

HOMER 7 Docker Images
93 stars 87 forks source link

Bug in LDAP_GROUP_FILTER #128

Closed perrfect closed 2 years ago

perrfect commented 2 years ago

Hello. When I set LDAP_GROUP_FILTER to (member=uid=%s) username is not set and the filter is empty. Logs from my FreeIPA server:

[29/Jul/2022:15:07:47.866629112 +0200] conn=422609 op=4 SRCH base=“dc=ipa,dc=example,dc=com” scope=2 filter="(member=uid=)"attrs=“cn memberOf groupattribute distinguishedName distinguishedName member”

So mapping for LDAP groups is not working.

Could you fix it?

adubovikov commented 2 years ago

Probably, you have to escape % to set it available

perrfect commented 2 years ago

The problem is solved. I mistakenly cut the LDAP_ATTRIBUTES from my configuration. Thank you.