Hi,
I've configured an ejabberd-1.1.2 instance to use LDAP authentication. I would also want for this server to register new users (and hence make new LDAP entries).
Does ejabberd's LDAP implementation allow for registration of new users? I've also included parts of my configuration file and output from sasl.log.
Thanks in advance,
Nestor
ejabberd.cfg:
{auth_method, ldap}.
{ldap_servers, ["ldap.mydomain.com"]}.
{ldap_uidattr, "uid"}.
{ldap_base, "ou=users,dc=mydomain,dc=com"}.
{ldap_rootdn, "cn=Manager,dc=mydomain,dc=com"}.
{ldap_password, "somepassword"}.
...
{hosts, ["users.mydomain.com"]}.
...
{host_config, "users.mydomain.com", [{auth_method, ldap}]}.
From sasl.log:
registered_name: 'ejabberd_auth_ldap_mydomain_com'
error_info: {timeout,{gen_fsm,sync_send_event,
['eldap_ejabberd_auth_ldap_mydomain_com',
{search,
{eldap_search,
wholeSubtree,
"ou=users,dc=mydomain,dc=com",
{equalityMatch,
{'AttributeValueAssertion',
"uid",
"test1"}},
[],
false,
0}}]}}
initial_call: {gen,init_it,
[gen_server,
<0.691.0>,
<0.691.0>,
{local,'ejabberd_auth_ldap_mydomain_com'},
ejabberd_auth_ldap,
"mydomain.com",
[]]}