[Tickets #10841] LDAP addressbook example in backends.php is wrong
bugs at horde.org
bugs at horde.org
Wed Dec 7 11:09:44 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/10841
------------------------------------------------------------------------------
Ticket | 10841
Created By | rammer at ipi.fi
Summary | LDAP addressbook example in backends.php is wrong
Queue | Turba
Version | 3.0.10
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
rammer at ipi.fi (2011-12-07 11:09) wrote:
The example on how to add LDAP addressbook in backends.php is wrong.
Below is a patch to fix the example. Also it would useful to note in
that file that permissions in horde need also to be changed.
To access the addressbook.
--- backends.php.orig 2011-12-07 13:05:11.590984379 +0200
+++ backends.php 2011-12-07 13:02:05.499615743 +0200
@@ -16,10 +16,10 @@
* <code>
* <?php
* $cfgSources['localldap']['disabled'] = false;
- * $cfgSources['localldap']['server'] = 'localhost';
- * $cfgSources['localldap']['root'] = 'cn=contacts,dc=horde,dc=org';
- * $cfgSources['localldap']['bind_dn'] = 'cn=admin,ou=users,dc=horde,dc=org';
- * $cfgSources['localldap']['bind_password'] = 'somesecret';
+ * $cfgSources['localldap']['params']['server'] = 'localhost';
+ * $cfgSources['localldap']['params']['root'] =
'cn=contacts,dc=horde,dc=org';
+ * $cfgSources['localldap']['params']['bind_dn'] =
'cn=admin,ou=users,dc=horde,dc=org';
+ * $cfgSources['localldap']['params']['bind_password'] = 'somesecret';
* $cfgSources['localsql']['map']['homeAddress'] = array(
* 'fields' => array('homeStreet', 'homePostalCode',
* 'homeCity', 'homeCountry'),
More information about the bugs
mailing list