Hi all,I have been trying to configure jabberd against my existing LDAP database, with no luck so far.
The key bit of the config is the LDAP query, which I have configured as per the example in the c2s.xml file:
<query>(&(mail...@%r)(objectClass=mailRecipient))</query>
When iChat connects, it immediately disconnects, with nothing logged.
Nothing is logged on the jabberd side either:
Mar 16 16:39:03 host jabberd/c2s[27531]: [8] [xx.xx.xx.xx, port=50253] connect Mar 16 16:39:04 host jabberd/c2s[27531]: [8] [xx.xx.xx.xx, port=50253] disconnect jid=unbound, packets: 0
Using the -D option and reverse engineering the source code, I have managed to find the following error logged:
Mon Mar 16 16:41:08 2009 c2s.c:185 no host available for requested domain 'foo.com'
It looks like it has something to do with virtual hosts, however I am struggling to find any information on virtual hosts or how they might be configured.
What I am trying to do is allow the user to log into the jabber server using their email address, and their email address does not necessarily have the same domain as the jabber server.
I tried these options in c2s.xml:<id realm='' password-change='true' require-starttls='true' pemfile='/etc/jabberd/server.pem'>jabber.domain.com</id>
<id password-change='true' require-starttls='true' pemfile='/etc/jabberd/server.pem'>jabber.domain.com</id>
<id realm='foo.com' password-change='true' require-starttls='true' pemfile='/etc/jabberd/server.pem'>jabber.domain.com</id>
And none of them worked. Has this kind of config been made to work before? Are there any further docs I should be looking at? Regards, Graham --
smime.p7s
Description: S/MIME Cryptographic Signature
