[Wiki] changed: ExistingLDAPHowTo

Wiki Guest <[email protected]>
Newsgroups gmane.comp.horde.cvs
Message-ID <[email protected]>
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',


--
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.