Révision 32700c57
Ajouté par Assos Assos il y a environ 5 ans
drupal7/sites/all/modules/ldap/ldap_servers/ldap_types/LdapTypeOpenLdap.class.php | ||
---|---|---|
2 | 2 |
|
3 | 3 |
/** |
4 | 4 |
* @file |
5 |
* OpenLDAP LDAP Implementation Details |
|
5 |
* OpenLDAP LDAP Implementation Details.
|
|
6 | 6 |
* |
7 |
* see: http://www.zytrax.com/books/ldap/
|
|
7 |
* See: http://www.zytrax.com/books/ldap/
|
|
8 | 8 |
* http://www.openldap.org/doc/ |
9 | 9 |
*/ |
10 | 10 |
|
11 |
require_once(drupal_get_path('module', 'ldap_servers') . '/ldap_types/LdapTypeAbstract.class.php'); |
|
12 |
|
|
11 |
require_once drupal_get_path('module', 'ldap_servers') . '/ldap_types/LdapTypeAbstract.class.php'; |
|
12 |
/** |
|
13 |
* |
|
14 |
*/ |
|
13 | 15 |
class LdapTypeOpenLdap extends LdapTypeAbstract { |
14 | 16 |
|
15 |
// generic properties |
|
17 |
/** |
|
18 |
* Generic properties. |
|
19 |
*/ |
|
16 | 20 |
public $documentation = ''; |
17 | 21 |
public $name = 'openLDAP LDAP'; |
18 | 22 |
public $typeId = 'OpenLdap'; |
19 | 23 |
public $description = 'openLDAP LDAP'; |
20 | 24 |
|
21 |
// ldap_servers configuration |
|
25 |
/** |
|
26 |
* Ldap_servers configuration. |
|
27 |
*/ |
|
22 | 28 |
public $tls = 0; |
23 | 29 |
public $encrypted = 0; |
24 | 30 |
public $user_attr = 'cn'; |
... | ... | |
27 | 33 |
public $unique_persistent_attr_binary = FALSE; |
28 | 34 |
public $groupObjectClassDefault = 'groupofnames'; |
29 | 35 |
|
30 |
// ldap_authorization configuration |
|
36 |
/** |
|
37 |
* Ldap_authorization configuration. |
|
38 |
*/ |
|
31 | 39 |
public $groupDerivationModelDefault = LDAP_SERVERS_DERIVE_GROUP_FROM_ENTRY; |
32 | 40 |
public $groupMembershipsAttr = 'member'; |
33 | 41 |
public $groupMembershipsAttrMatchingUserAttr = 'dn'; |
34 | 42 |
|
35 |
|
|
36 | 43 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules