“localhost”
ldap_rootdn: “cn=admin,dc=example,dc=com,dc=tr”
ldap_password: “123123”
ldap_base: “dc=example,dc=com,dc=tr”
host_config:
“im.example.com.tr”
root@pardus:/opt/ejabberd-16.06/bin# ./ejabberdctl register admin im.example.com.tr 123123
Problem ‘error {case_clause,
{‘EXIT’,
{aborted,
{no_exists,
[anonymous,
{<<“admin”>>,<<“im.example.com.tr”>>}]}}}}’ occurred executing the command.
Stacktrace: [{ejabberd_auth_anonymous,anonymous_user_exist,2,
[{file,“src/ejabberd_auth_anonymous.erl”},{line,128}]},
{ejabberd_auth,’-is_user_exists/2-fun-2-’,3,
[{file,“src/ejabberd_auth.erl”},{line,314}]},
{lists,any,2,[{file,“lists.erl”},{line,1224}]},
{ejabberd_auth,try_register,3,
[{file,“src/ejabberd_auth.erl”},{line,187}]},
{ejabberd_admin,register,3,
[{file,“src/ejabberd_admin.erl”},{line,377}]},
{ejabberd_ctl,call_command,4,
[{file,“src/ejabberd_ctl.erl”},{line,324}]},
{ejabberd_ctl,try_call_command,4,
[{file,“src/ejabberd_ctl.erl”},{line,298}]},
{ejabberd_ctl,process2,4,
[{file,“src/ejabberd_ctl.erl”},{line,247}]}]