[ejabberd] external auth w/ odbc storage

Hajdú Zoltán zhajdu at jasmin.hu
Wed Apr 30 20:11:39 MSD 2008


Hello!

Is there any solution to use an external eutentication program with mod_*_odbc modules simultaneously?

A snippet from my configuration:

...
   {auth_method, external},
   {extauth_program, "/etc/ejabberd/auth_module.pl"}
   {odbc_server, {mysql, "localhost", "ejabberd", "ejabberd", "****"}}
...
{modules,
  [
   {mod_vcard_odbc,      []},
...

The authentication works, but the vcard module does'nt.

I got the following message in the ejabberd.log:

=ERROR REPORT==== 2008-04-30 10:43:35 ===
E(<0.324.0>:ejabberd_hooks:172): {noproc,
                                      {gen_server,
                                          call,
                                          ['ejabberd_odbc_sup_jabber.jasminmediagroup.com',
                                           which_children,
                                           infinity]}}

If i define {auth_method, odbc}, then everything works flawlessly from the database (but i need a custom auth script...).

Thanks for your assistance,

Yours sincerely,
Zoltan Hajdu


More information about the ejabberd mailing list