At work, my main focus for the present time is getting our massive LTSP/LDAP/HTTP/DHCP/ACRONYM Linux server up and going in to production. I thought it would be a good idea to set up a message server for employees to use for quick office communication, and Jabber seemed the obvious choice. There were a few little hitches getting it integrated with LDAP, so in case anyone else comes across this problem, here's a small guide to the changes that need to be made to the jabberd2 conf files:
c2s.xml:
<host>
in the LDAP section to the appropriate host.username@192.168.100.1
or something). In the <local>
section, set up a new realm such as <id realm='company'>companyserver</id>
.<basedn realm='company'>ou=people,dc=company,dc=com</basedn>
, adjusting for your specific directory layout.sm.xml:
<id>companyserver</id>
.Now you should be able to restart jabberd2 and have users login as username@companyserver, authenticated against your LDAP directory.
If only I'd had this book beforehand: