Révision bc175c27
Ajouté par Assos Assos il y a plus de 5 ans
drupal7/sites/all/modules/ldap/INSTALL.txt | ||
---|---|---|
1 |
|
|
2 | 1 |
================================================================================== |
3 |
LDAP Installation instructions:
|
|
2 |
Prerequisites
|
|
4 | 3 |
================================================================================== |
5 | 4 |
|
6 |
Note: This does not automatically upgrade for Drupal 6 LDAP Integration Modules. |
|
7 |
This functionality may be developed. Some notes are below. |
|
5 |
To set up LDAP efficiently, you need to acquire the relevant information for the |
|
6 |
domain you are authenticating against. |
|
7 |
|
|
8 |
Contact your organization's staff to receive the necessary information. This |
|
9 |
should include: |
|
10 |
|
|
11 |
* The servers available to you (hostname, port, encryption preference) |
|
12 |
* The binding method (service account including credentials, if necessary) |
|
13 |
* If applicable, the structure of the data you are trying to sync, e.g. |
|
14 |
sAMAccountName is the unique name attribute for your Active Directory. |
|
15 |
|
|
16 |
### Requirements |
|
8 | 17 |
|
9 |
1) Download the whole package of files from |
|
10 |
http://drupal.org/project/ldap |
|
18 |
The following requirements need to be met for you to work with any of the LDAP |
|
19 |
modules. |
|
20 |
|
|
21 |
* PHP version 5.6. |
|
22 |
* PHP LDAP extension. |
|
23 |
|
|
24 |
================================================================================== |
|
25 |
Installation instructions: |
|
26 |
================================================================================== |
|
11 | 27 |
|
12 |
2) Upload the LDAP files to the modules directory.
|
|
28 |
1) Download the LDAP module as you would any other.
|
|
13 | 29 |
|
14 |
3) Go to admin/build/modules and enable the needed modules from the
|
|
15 |
Lightweight Directory Access Protocal group.
|
|
30 |
2) Go to admin/build/modules and enable the needed modules from the
|
|
31 |
Lightweight Directory Access Protocol group.
|
|
16 | 32 |
|
17 |
4) Enable and configure ldap servers and configure at least one server.
|
|
33 |
3) Enable and configure ldap servers and configure at least one server.
|
|
18 | 34 |
|
19 |
5) Enable the other LDAP modules you need.
|
|
35 |
4) Enable the other LDAP modules you need.
|
|
20 | 36 |
|
21 |
6) LDAP Help is just for debugging and administrator help. Use it if you have problems.
|
|
22 |
Disable it in production; it adds no functionality or end user help. |
|
37 |
5) LDAP Help is just for debugging and administrator help. Use it if you have
|
|
38 |
problems. Disable it in production; it adds no functionality or end user help.
|
|
23 | 39 |
|
24 | 40 |
================================================================================== |
25 |
Older PHP versions
|
|
41 |
Configuration overrides
|
|
26 | 42 |
================================================================================== |
27 |
These modules will NOT work If you are using PHP 4 or any other version less |
|
28 |
than 5.1. |
|
43 |
|
|
44 |
If you need to selectively disable LDAP functionality and cannot disable the |
|
45 |
modules, use configuration overrides, such as the following in settings.php and |
|
46 |
clearing your cache afterwards. |
|
47 |
|
|
48 |
// Disable the server you are syncing users from LDAP to Drupal. |
|
49 |
$conf['ldap_user_conf']['drupalAcctProvisionServer'] = 0; |
|
50 |
// Disable LDAP authentication. |
|
51 |
$conf['ldap_authentication_conf']['sids'] = []; |
|
52 |
// Set bind DN and bind password for service account. |
|
53 |
$conf['ldap_servers_overrides']['my_server']['binddn'] = 'my_dn'; |
|
54 |
$conf['ldap_servers_overrides']['my_server']['bindpw'] = 'my_password'; |
|
55 |
|
|
56 |
IMPORTANT: These overrides will change the data in your admin forms, saving them |
|
57 |
will save them permanently in the database. |
|
29 | 58 |
|
30 | 59 |
================================================================================== |
31 | 60 |
More documentation is available at: |
32 | 61 |
|
33 | 62 |
http://drupal.org/project/ldap -- project homepage |
34 | 63 |
http://drupal.org/node/997082 - project documentation |
35 |
================================================================================== |
|
36 |
|
|
37 |
Crossgrading: |
|
38 |
|
|
39 |
Drupal 6 ldapauth -> ldap_authentication |
|
40 |
- get rid of authmap records associated with ldapauth with the following sql: |
|
41 |
DELETE FROM authmap WHERE module = 'ldapauth' |
|
64 |
================================================================================== |
Formats disponibles : Unified diff
Weekly update of contrib modules