[horde] Trying to set Default Values for preferences.
김 덕곤
dgkim at dgkim.net
Wed Sep 2 02:02:58 UTC 2015
Hi
I am trying to set Default Values for preferenes.
Starting from 'from_addr' value.
1. copied horde/config/hooks.php.dist to hooks.php
2. copied horde/config/prefs.php to prefs.local.php
3. uncommented public function prefs_init on hooks.php file.
4. added $_prefs['from_addr']['hook'] = true; line on prefs.local.php file.
then server raised an error.
Could not connect to localhost:389
1. require() /var/www/html/horde/login.php:243
The LDAP server is on the other server.
How can I set LDAP server hostname for hook.php?
Horde configuration is as follows.
$conf['ldap']['hostspec'] = array('ldap.hostname');
$conf['ldap']['port'] = 389;
$conf['ldap']['tls'] = true;
$conf['ldap']['timeout'] = 5;
$conf['ldap']['version'] = 3;
$conf['ldap']['user']['uid'] = 'uid';
$conf['ldap']['user']['objectclass'] = array('inetOrgPerson');
$conf['ldap']['user']['filter_type'] = 'objectclass';
$conf['ldap']['bindas'] = 'user';
$conf['ldap']['useldap'] = true;
// server name is replaced.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dgkim.vcf
Type: text/x-vcard
Size: 363 bytes
Desc: not available
URL: <http://lists.horde.org/archives/horde/attachments/20150902/d99f9cb5/attachment.vcf>
More information about the horde
mailing list