//60LocalLDAPGroups
/**
 * A local address book in an LDAP directory. This implements a public
 * (shared) address book.
 *
 * To store distribution lists in the LDAP directory, you'll need to include
 * horde/scripts/ldap/horde.schema in your LDAP configuration.
 *
 * To store freebusy information in the LDAP directory, you'll need to include
 * turba/scripts/ldap/rfc2739.schema in your LDAP configuration.
 */
$cfgSources['localldapgroups'] = array(
     'disabled' => false,
     'title' => _("Local LDAP Groups Address Book"),
     'type' => 'ldap',
     'params' => array(
         'server' => 'localhost',
         'port' => 389,
         'tls' => false,
{
   $OUT .= qq(         'root' => '$basedn',);
}
         'sizelimit' => 200,
         'dn' => array('cn'),
         'objectclass' => array('posixGroup'),
         'scope' => 'sub',
         'charset' => 'UTF-8',
         'checkrequired' => false,
         'checkrequired_string' => ' ',
         'version' => 3,
     ),
     'map' => array(
         '__key' => 'dn',
         '__uid' => 'uid',
         'name' => 'cn',
         'email' => 'mail',
         'groupdescription' => 'description',
         'groupmembers' => 'memberUid',
     ),
     'search' => array(
         'name',
         'email',
         'groupdescription',
         'groupmembers',
     ),
     'strict' => array(
         'dn',
     ),
     'approximate' => array(
         'cn',
     ),
     'export' => true,
     'browse' => true,
);

