[horde] trouble with prefs
A. Schulze
sca at andreasschulze.de
Thu Oct 14 12:58:05 UTC 2021
Ralf Lang:
> Can you run the horde-prefs tool to list your preferences from
> backend and possibly see where exactly it errors?
Hello Ralf,
thanks for the pointer to 'horde-prefs'. It require a dedicated
configuration file to be written by myself.
But there is not as much documentation for ldap only for File- an
Kolab-Drivers.
As a try, I took basically the array $conf['params']['ldap']
root at horde:~# cat /tmp/horde-prefs-conf
<?php
$conf['driver'] = 'Ldap';
$conf['params']['ldap']['hostspec'] = 'ldaps://ldap.corp';
$conf['params']['ldap']['port'] = 636;
$conf['params']['ldap']['version'] = '3';
$conf['params']['ldap']['basedn'] = 'dc=corp';
$conf['params']['ldap']['fetchdn'] = true;
$conf['params']['ldap']['uid'] = 'uid';
this raises an exception:
root at horde:~# horde-prefs /tmp/horde-prefs-conf example-user
PHP Fatal error: Uncaught Error: Call to a member function
findUserDN() on array in /usr/share/php/Horde/Prefs/Storage/Ldap.php:61
Stack trace:
#0 /usr/bin/horde-prefs(104): Horde_Prefs_Storage_Ldap->__construct()
#1 {main}
thrown in /usr/share/php/Horde/Prefs/Storage/Ldap.php on line 61
I think, my syntax in horde-prefs-conf is not correct.
Could you suggest a better version?
Andreas
More information about the horde
mailing list