[ejabberd] LDAP Authentication

Badlop badlop at gmail.com
Fri Nov 13 19:12:34 MSK 2009


2009/11/13 Theo Cushion <theo at jivatechnology.com>:
> I've discovered in /var/log/ejabberd/erlang.log
> =CRASH REPORT==== 13-Nov-2009::16:04:51 ===
>   crasher:
>     pid: <0.248.0>
>     registered_name: 'ejabberd_auth_ldap_edge-ejabberd.local'
>     error_info: {badarg,[{erlang,'++',[none,")"]},
>                           {ejabberd_auth_ldap,parse_options,1},
>                           {ejabberd_auth_ldap,init,1},
>                           {gen_server,init_it,6},
>                           {proc_lib,init_p,5}]}
>
> So it seems a bad argument is responsible. Any ideas what I'm specifying
> wrong?

> On 13 Nov 2009, at 14:20, Theo Cushion wrote:
> {ldap_filter,          none }.

You are following the ejabberd Guide, which says:
> {ldap_filter, Filter}
>    RFC 4515 LDAP filter. The default is none.

But looking at the ejabberd source code, the documentation is
incorrect, and it should say instead:
> {ldap_filter, Filter}
>    RFC 4515 LDAP filter. The default Filter value is: undefined.

Can you try to configure like this and comment your results?
{ldap_filter,          undefined}.


---
Badlop
ProcessOne


More information about the ejabberd mailing list