Erlang/OTP Forums

Author Message

<  Ejabberd mailing list  ~  virtual hosts and ODBC

Guest
Posted: Wed Mar 07, 2007 8:37 pm Reply with quote
Guest
I'm trying to setup 2 virtual hosts using MySQL via ODBC.

Is there any magic to doing this? My /etc/odbc.ini file:

[ejabberd]
Driver = MySQL
DATABASE = ejabberd
PWD = XXXXXXXX
SERVER = ahbkdb1-2.mail.eds.com
PORT = 18000
UID = mailadm

[imrsvcs]
Driver = MySQL
DATABASE = ej_imrsvcs
PWD = XXXXXXXX
SERVER = ahbkdb1-2.mail.eds.com
PORT = 18000
UID = mailadm

My virtual host config :

{host_config, "eim.mail.eds.com",
[ {odbc_server, "DSN=ejabberd"},
{auth_method, ldap},
{ldap_servers, ["ahbkdb1-2.mail.eds.com"]},
{ldap_port, 17000},
{ldap_uids, [{"jabberid", "%u"}]},
{ldap_filter, "(objectClass=inetOrgPerson)"},
{ldap_base, "ou=eim.mail.eds.com,o=jabber,c=us"},
{ldap_rootdn, "cn=Manager,o=jabber,c=us"},
{ldap_password, "XXXXXXXX"},
{language, "en"},
...


{host_config, "eim.imrsvcs.com",
[
{odbc_server, "DSN=imrsvcs"},
{auth_method, ldap},
{ldap_servers, ["ahbkdb1-2.mail.eds.com"]},
{ldap_port, 17000},
{ldap_uids, [{"jabberid", "%u"}]},
{ldap_filter, "(objectClass=inetOrgPerson)"},
{ldap_base, "ou=eim.imrsvcs.com,o=jabber,c=us"},
{ldap_rootdn, "cn=Manager,o=jabber,c=us"},
{ldap_password, "XXXXXXX"},
{language, "en"},
...

The 'imrsvcs' database never gets a connection from the server.

Thoughts?

Regards,

Brian Safford
Senior Consultant
EDS - Managed Messaging Services
1075 W. Entrance Drive
Auburn Hills, MI 48326
+1 248-853-3544

_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

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