[horde] alarms - permission denied
Volker Then
horde40 at volkerthen.com
Tue Mar 18 16:46:23 UTC 2008
Quoting Jan Schneider <jan at horde.org>:
> Zitat von Volker Then <horde40 at volkerthen.com>:
>
>> now there are Auth-Errors in the log, everytime the alarm script is running:
>>
>> Mar 18 15:53:01 HORDE [error] [horde] More than one DN returned from
>> search; unable to determine user's correct DN. [pid 24728 on line 230
>> of "/usr/share/php/Horde/Prefs/ldap.php"]
>> Mar 18 15:53:01 HORDE [error] [horde] Failed to connect to the LDAP
>> server. [pid 24728 on line 335 of "/usr/share/php/Horde/Prefs/ldap.php"]
>> Mar 18 15:53:01 HORDE [error] [horde] Unable to modify user's
>> objectClass for preferences: [53] Server is unwilling to perform [pid
>> 24728 on line 483 of "/usr/share/php/Horde/Prefs/ldap.php"]
>>
>> What's wrong?
>
> No idea, but those are not auth errors, but prefs errors. It could be
> that your preference setup only works if the user connects with his
> complete credentials, but we only set a user name and no password in
> the alarms script.
>
> Jan.
I can't see what's the problem with my preference settings, it worked
so far for months now:
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['port'] = 389;
$conf['prefs']['params']['version'] = '3';
$conf['prefs']['params']['basedn'] = 'ou=hordeprefs,dc=mydomain,dc=org';
$conf['prefs']['params']['searchdn'] = 'cn=admin,dc=mydomain,dc=org';
$conf['prefs']['params']['searchpw'] = 'xxxxxx';
$conf['prefs']['params']['writedn'] = 'searchdn';
$conf['prefs']['params']['uid'] = 'uid';
$conf['prefs']['driver'] = 'ldap';
The alarm script gives the another error on the command line:
Notice: unserialize(): Error at offset 103 of 106 bytes in
/var/www/html/horde/kronolith/lib/Driver/sql.php on line 877
Warning: array_change_key_case(): The argument should be an array in
/var/www/html/horde/kronolith/lib/Driver/sql.php on line 877
Volker
More information about the horde
mailing list