[horde] Prefs in LDAP not working

David Pieper david at dpieper.com
Fri May 30 07:52:41 PDT 2003


Anders Bruun Olsen wrote:
 > Hi,
 >
 > I have horde/IMP setup and working with a postfix/courier-imap/ldap
 > solution, but when I try to get horde to keep the user prefs in ldap too
 > I get this error when logging in:
 >
 > ---
 > Warning: ldap_mod_replace(): Modify: No such object in
 > /var/hosting/dsl.dk/webmail/htdocs/horde/lib/Prefs/ldap.php on line 470
 >
 > Warning: Cannot modify header information - headers already sent by
 > (output started at
 > /var/hosting/dsl.dk/webmail/htdocs/horde/lib/Prefs/ldap.php:470) in
 > /var/hosting/dsl.dk/webmail/htdocs/horde/imp/redirect.php on line 103
 > ---
 >
 > If I then press reload I am in correctly but at the bottom of all pages
 > this error occurs:
 >
 > Warning: ldap_mod_replace(): Modify: No such object in
 > /var/hosting/dsl.dk/webmail/htdocs/horde/lib/Prefs/ldap.php on line 470
 >
 > I have checked and the users have sufficient access to change the
 > horde attributes.
 >
 > All users have the following attributes available:
 > mailAddress
 > uid
 > homeDirectory
 > mailMessageStore
 > userPassword
 > uidNumber
 > gidNumber
 > homeDirectory
 > mailForwardingAddress
 > mailAlternateAddress
 > accountStatus
 > mailHost
 > loginShell
 > hordePrefs
 > impPrefs
 > turbaPrefs
 > kronolithPrefs
 > mnemoPrefs
 > nagPrefs
 > klutzPrefs
 > choraPrefs
 > mailbox
 > quota
 >
 > I am running Horde 2.2.3 and IMP 3.2.1
 >

 >
 > I forgot to add the lines I have in config/horde.php:
 >
 > $conf['prefs']['driver'] = 'ldap';
 > $conf['prefs']['params']['hostspec'] = 'ldap.dsl.dk';
 > $conf['prefs']['params']['port'] = '389';
 > $conf['prefs']['params']['basedn'] = 'ou=accounts,dc=dsl,dc=dk';
 > $conf['prefs']['params']['uid'] = 'uid';


Are you sure your ldap access rules are working?
Do you get an error in your LDAP logs?

Is the LDAP server on the same machine as your Horde installation?

Enjoy,
David Pieper

-- 
programmer n. /pro gram er/ A device for transmuting caffeine into code.





More information about the horde mailing list