[ejabberd] LDAP authentication and MySQL roster storage

Michel Peterson cooldown at gmail.com
Tue Oct 31 17:31:54 MSK 2006


I think this should get you on the right track:
http://www.jabber.ru/bugzilla/show_bug.cgi?id=292

On 10/30/06, Dubromez Matthieu <matthieu.dubromez at insa-lyon.fr> wrote:
>
> Hello all,
>
> I have an issue using MySQL roster storage. I use LDAP to authenticate
> users and
> I want to store their rosters in a MySQL database, but I got this error
> when a
> user add a contact in his roster :
>
> =ERROR REPORT==== 30-Oct-2006::16:50:19 ===
> E(<0.279.0>:ejabberd_hooks:172): {noproc,
>                                      {gen_server,
>                                          call,
>
> ['ejabberd_odbc_sup_public.example.org',
>                                           which_children,
>                                           infinity]}}
> running hook: {roster_out_subscription,
>                   ["toto",
>                    "public.example.org",
>                    {jid,"titi",
>                         "public.example.org",
>                         [],
>                         "titi",
>                         "public.example.org",
>                         []},
>                    subscribe]}
>
> Here is the config I use :
>
> ...
>
> {host_config, "public.example.org", [{odbc_server, {mysql, "localhost",
> "ejabberd", "root", "toto"}}]}.
>
> ...
>
> {modules,
> [
>   {mod_roster_odbc, []},
>
> ...
>
> What is wrong in my config file?
>
> Thanks for your help,
> Matthieu Dubromez
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jabber.ru/pipermail/ejabberd/attachments/20061031/eee84705/attachment.htm


More information about the ejabberd mailing list