Projet

Général

Profil

Paste
Télécharger (1010 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / ldap / ldap_servers / ldap_types / LdapTypeOpenLdap.class.php @ 32700c57

1
<?php
2

    
3
/**
4
 * @file
5
 * OpenLDAP LDAP Implementation Details.
6
 *
7
 * See: http://www.zytrax.com/books/ldap/
8
 *      http://www.openldap.org/doc/
9
 */
10

    
11
require_once drupal_get_path('module', 'ldap_servers') . '/ldap_types/LdapTypeAbstract.class.php';
12
/**
13
 *
14
 */
15
class LdapTypeOpenLdap extends LdapTypeAbstract {
16

    
17
  /**
18
   * Generic properties.
19
   */
20
  public $documentation = '';
21
  public $name = 'openLDAP LDAP';
22
  public $typeId = 'OpenLdap';
23
  public $description = 'openLDAP LDAP';
24

    
25
  /**
26
   * Ldap_servers configuration.
27
   */
28
  public $tls = 0;
29
  public $encrypted = 0;
30
  public $user_attr = 'cn';
31
  public $mail_attr = 'mail';
32
  public $unique_persistent_attr = 'entryUUID';
33
  public $unique_persistent_attr_binary = FALSE;
34
  public $groupObjectClassDefault = 'groupofnames';
35

    
36
  /**
37
   * Ldap_authorization configuration.
38
   */
39
  public $groupDerivationModelDefault = LDAP_SERVERS_DERIVE_GROUP_FROM_ENTRY;
40
  public $groupMembershipsAttr = 'member';
41
  public $groupMembershipsAttrMatchingUserAttr = 'dn';
42

    
43
}