[cvs] [Wiki] changed: ExistingLDAPHowTo

Wiki Guest wikiguest at horde.org
Thu Feb 12 09:50:19 UTC 2009


guest [91.112.227.122]  Thu, 12 Feb 2009 04:50:19 -0500

Modified page: http://wiki.horde.org/ExistingLDAPHowTo
New Revision:  1.13
Change log:  typo $cfgSourses corrected; ldap attribute displayName  
changed to cn

@@ -210,9 +210,9 @@

  Turba ships with an example LDAP address book, so we will use that  
here as our base.  This example assumes that we are providing an  
address book containing all of the users who have access to this horde  
installation.

  <code type="php">
-$cfgSourses['localldap'] = array(
+$cfgSources['localldap'] = array(
      'title' => _("Shared Directory"),
      'type' => 'ldap',
      'params' => array(
          'server' => 'localhost',
@@ -220,9 +220,8 @@
          'root' => 'ou=Users,dc=example,dc=com',
          'bind_dn' => 'cn=horde,ou=Users,dc=example,dc=com',
          'bind_password' => '********',
          'sizelimit' => 200,
-        'filter' => '(&(uid=*)(objectClass=posixAccount))',
          'dn' => array('cn'),
          'objectclass' => array('top',
                                 'person',
                                 'organizationalPerson',
@@ -234,9 +233,9 @@
          'version' => 3
      ),
      'map' => array(
          '__key' => 'dn',
-        'name' => 'displayName',
+        'name' => 'cn',
          'email' => 'mail',
          'workPhone' => 'telephonenumber',
          'cellPhone' => 'mobile',
          'office' => 'roomNumber',



More information about the cvs mailing list