I need to limit the access to my ejabberd to a series of users defined in a ldap group, let's call it EDY. This LDAP doesn't have memberOf entries for the users. Groups have an uniqueMember entry for each user, holding the DN of each user. This is my config:
auth_method: [ldap, internal]
If I have understood how this works properly, this will do two searchs, one with uid, and a second one will run the ldap_dn_filter , use the DN related to the uid, and see if group EDY have an uniqueMember entry with that DN.
But instead, I get this on the log:
2018-02-23 18:13:11.661 [error] <0.66.0>@ejabberd_config:validate_opts:1029 ignoring option 'ldap_dn_filter' with invalid value: [<<"(&(cn=EDY)(uniqueMember=%D)">>]
I have tried a lot of variations but can't get this to work. Any help would be appreciated.