[horde] trouble with prefs
Ralf Lang
lang at b1-systems.de
Thu Oct 14 14:52:02 UTC 2021
Hi Andreas,
Am 14.10.21 um 14:58 schrieb A. Schulze:
>
> 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
Unfortunately I just noticed I have not yet upgraded that script for the
composer-based installation I use. I wanted to test if it works with
your existing horde config, which it should.
It will take a little time unfortunately, at least for me.
>
>
--
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
More information about the horde
mailing list