odbc mods don't work without odbc auth

Hi all, I would like to ask, why it's not posible to use odbc modules (last, vcard, offline, roster) when I use another authentification method than odbc, but I have odbc_server specified in my config file.

odbc mods don't work without odbc auth

nobody know ? :(

im also trying to do the

im also trying to do the same and, yeah, it looks like it doesn't work...

odbc mods don't work without odbc auth

I'm trying to use ldap for authentication with ODBC for all other storage (offline, roster, etc).

When ODBC is used for auth and storage, all is well, but when auth_method is switched to ldap, the odbc modules are ignored. Is my configuration wrong or is this a limitation of ejabberd?

{host_config, "myhost.com", [{auth_method, ldap},
{ldap_servers, ["ldap.myhost.com"]},
{ldap_uidattr, "uid"},
{ldap_uidattr_format, "%u"},
{ldap_base, "dc=myhost,dc=com"},
{ldap_rootdn, "cn=manager,dc=myhost,dc=com"},
{ldap_password, "xxx"},
{odbc_server, {pgsql, "127.0.0.1", "ejabberd", "xxx", "xxx"}}]}.

The documentation makes it sound like this should work, but so far that doesn't seem to be the case. Can anyone provide a definitive answer either way?

Syndicate content