IMAP: "error adding to ldap: can't find the LDAP Server"

Support knowledgebase (hacht_imap_imapwusr_error_adding_to_ldap)
Applies to

SuSE Imap-Server: Version 1.0

Symptom:

When trying to edit the user information in the IMAP "imapwusr" web interface, you get the error message:
error adding to ldap: can't find the LDAP Server

Reason:

The file /etc/openldap/ldap.conf is owned by root instead of wwwrun, and can therefore not be read by PHP3. You can verify this with the command:
hostname# ll /etc/openldap/ldap.conf
-rw-r--r--   1 root   root          254 May 12 15:27 /etc/openldap/ldap.conf

Solution:

Set the correct ownership on the file with this command:
#chown wwwrun.root /etc/openldap/ldap.conf

Keywords: IMAP, IMAP-SERVER, IMAPWUSR, LDAP

Categories: User

SDB-hacht_imap_imapwusr_error_adding_to_ldap, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 06. Jul 2000
SuSE Linux AG - Last generated: 09. Sep 2000 by hacht (sdb_gen 1.40.0)