root / drupal7 / sites / all / modules / ldap / ldap_servers / ldap_types / LdapTypeOpenLdap.class.php @ fc2c1c7a
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 |
class LdapTypeOpenLdap extends LdapTypeAbstract { |
14 |
|
15 |
// generic properties
|
16 |
public $documentation = ''; |
17 |
public $name = 'openLDAP LDAP'; |
18 |
public $typeId = 'OpenLdap'; |
19 |
public $description = 'openLDAP LDAP'; |
20 |
|
21 |
// ldap_servers configuration
|
22 |
public $tls = 0; |
23 |
public $encrypted = 0; |
24 |
public $user_attr = 'cn'; |
25 |
public $mail_attr = 'mail'; |
26 |
public $unique_persistent_attr = 'entryUUID'; |
27 |
public $unique_persistent_attr_binary = FALSE; |
28 |
public $groupObjectClassDefault = 'groupofnames'; |
29 |
|
30 |
// ldap_authorization configuration
|
31 |
public $groupDerivationModelDefault = LDAP_SERVERS_DERIVE_GROUP_FROM_ENTRY; |
32 |
public $groupMembershipsAttr = 'member'; |
33 |
public $groupMembershipsAttrMatchingUserAttr = 'dn'; |
34 |
|
35 |
|
36 |
} |