6.0.0-alpha12
6/10/25

[#10841] LDAP addressbook example in backends.php is wrong
Summary LDAP addressbook example in backends.php is wrong
Queue Turba
Queue Version 3.0.10
Type Bug
State Resolved
Priority 1. Low
Owners
Requester rammer (at) ipi (dot) fi
Created 12/07/2011 (4934 days ago)
Due
Updated 12/09/2011 (4932 days ago)
Assigned
Resolved 12/09/2011 (4932 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/09/2011 12:22:11 PM Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
The example on how to add LDAP addressbook in backends.php is wrong.
This has already been fixed for 3.0.11.
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.
No idea what you mean with that.
12/07/2011 11:09:44 AM rammer (at) ipi (dot) fi Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ LDAP addressbook example in backends.php is wrong
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
Reply to this comment
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'),

Saved Queries