| Author |
Message |
< Ejabberd mailing list ~ LDAP authentication and MySQL roster storage |
| Guest |
Posted: Mon Oct 30, 2006 4:16 pm |
|
|
|
Guest
|
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@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Oct 31, 2006 2:32 pm |
|
|
|
Guest
|
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@insa-lyon.fr (matthieu.dubromez@insa-lyon.fr)> wrote:Quote: 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,
|
|
|
| Back to top |
|
| Guest |
Posted: Thu Nov 02, 2006 1:25 pm |
|
|
|
Guest
|
I put the ldap parameters in the host_config section and now it works!
However I have another issue about mod_vcard_ldap. Indeed when I try to retrieve
my VCard, I get this error in the ejabberd log :
** Reason for termination ==
** {'function not exported',[{eldap_utils,
case_insensitive_match,
["NICKNAME","NICKNAME"]},
{lists,'-filter/2-lc$^0/1-0-',2},
{mod_vcard_ldap,map_vcard_attr,4},
{mod_vcard_ldap,
'-ldap_attributes_to_vcard/3-fun-0-',
4},
{lists,map,2},
{mod_vcard_ldap,ldap_attributes_to_vcard,3},
{mod_vcard_ldap,handle_call,3},
{gen_server,handle_msg,6}]}
I just put {mod_vcard_ldap,[]}, in the module section. Did I forget something?
Thanks for your help,
Matthieu Dubromez
Selon Michel Peterson <cooldown@gmail.com>:
> 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@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@jabber.ru
> > http://lists.jabber.ru/mailman/listinfo/ejabberd
> >
>
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|