OPEN-XCHANGE
You are here: Community > Mailinglist
freshmeat.net
[OX User] Using external LDAP - Server

Artur Mücke muecke at tyntec.biz
Tue Nov 6 17:27:12 CET 2007


Hi guys, I installed OpenXchange5 (oxinstall-2.4.3.RHEL.bin) on my Red
Hat server (RHEL4 update2)
The whole OpenXchange system is working fine but I want (have) to use an
external LDAP-Server which is running on da Debian-Etch.

Here is some information about my ldap-versions:

RHEL4:  slapd version 2.2.13
Debian: slapd version 2.3.30

Because of the different versions I migrated the root-dn from my
OX5-machine to the Debian-machine by using slapcat and slapadd:

- RHEL: slapcat -l /var/oxtree.ldif
- Copied oxtree.ldif: RHEL -> Debian
- Adopted the ldap.conf, slapd.conf and the schemas from RHEL to Debian
- Deleted the the standard Debian root-dn
- Debian: sladadd -l /oxtree.ldif

The whole root-dn is copied completely to the debian-machine. There were
no errors at all. As far as i know that should be everything I need to
get it work with the debian machine.

Now I tried to change the configuration on my OpenXchange server to get
it work with the external LDAP on the debian machine.

Thats what I have done so far: (10.3.5.195 is the ip address of the
debian system)

EDITED:
/etc/openldap/ldap.conf
=======================
#changed:
host 127.0.0.1
#to:
host 10.3.5.195

EDITED:
/opt/openexchange/ox_admin_tools/openexchange-daemons/modules/Ldap.properties
=============================================================================
#changed:
LDAP_URI=ldap://127.0.0.1:389
#to
LDAP_URI=ldap://10.3.5.195:389

At the end I stopped the local slapd on the RHEL-machine.

Unfortunately its not working yet.

The groupware-login kind of works. I can login with some user-accounts
but its not working 100%. e.g. the webmail-program isnt working. When I
try to change to it, it says: WebMail - OPEN-XCHANGE 5607
!!! SYSTEM - ERROR !!!

The admin-login (mailadmin) isnt working either. I cant login at all.
When I try to login with my admin user (mailadmin), the login website
says Username/Password wrong.

I examined all configuration files in "/opt/openxchange" but I cant find
anything else, that I should/could change according to ldap.

I hope someone can help me out.

Cheers, Artur



"There are 10 kinds of people in the world, those who understand binary
math, and those who don't."



More information about the User mailing list