[ejabberd] PgSQL and Ext auth

Andrzej Smyk andrzej.smyk at kolporter.com.pl
Wed Dec 28 15:51:47 MSK 2005


Hi.

I have that entities in my config file:


{auth_method, external}.
{extauth_program, "/usr/home/ejabberd/bin/ldap"}.
%{odbc_server, {pgsql, Server, Database, Username, Password}}.
{odbc_server, {pgsql, "localhost","ejabberd","ejabberd","ejab123"}}.

and

  mod_roster_odbc
  mod_vcard_odbc
  mod_offline_odbc
  mod_last_odbc

It should to auth by external script with postgres storage.

I've compiled

pgsql.beam
pgsql_proto.beam
pgsql_tcp.beam
pgsql_util.beam

and copied into ebin directory.


But unfortunately it's not working. Console shows me that message:

E(<0.354.0>:ejabberd_hooks:187): {noproc,
                                     {gen_server,
                                         call,

['ejabberd_odbc_sup_somehost.com.pl',
                                          which_children,
                                          infinity]}}
running hook: {resend_offline_messages_hook,
                  ["name.surname","somehost.com"]}


Why? Any ideas? What i'm doing wrong?


Andrzej Smyk (YeYo)



More information about the ejabberd mailing list