[1073] | 1 | # $Id$ |
---|
| 2 | |
---|
| 3 | =head1 DESCRIPTION |
---|
| 4 | |
---|
[2502] | 5 | =head1 OPENLDAP SETUP |
---|
| 6 | |
---|
| 7 | Some openldap schema are need to make LA to works: |
---|
| 8 | |
---|
| 9 | =head2 Mandatory Schema |
---|
| 10 | |
---|
| 11 | =over 4 |
---|
| 12 | |
---|
| 13 | =item core.schema |
---|
| 14 | |
---|
| 15 | =item cosine.schema |
---|
| 16 | |
---|
| 17 | =item inetorgperson.schema |
---|
| 18 | |
---|
| 19 | =item misc.schema |
---|
| 20 | |
---|
| 21 | =item nis.schema |
---|
| 22 | |
---|
| 23 | =item openldap.schema |
---|
| 24 | |
---|
| 25 | =item samba.schema |
---|
| 26 | |
---|
| 27 | =back |
---|
| 28 | |
---|
| 29 | =head2 MODULE |
---|
| 30 | |
---|
| 31 | To be able to properly groupOfNames object you are encourage to load B<memberof.la> module |
---|
| 32 | |
---|
[1073] | 33 | =head1 SPECIFIC SETUP PARAMTERS |
---|
| 34 | |
---|
| 35 | =head2 server |
---|
| 36 | |
---|
| 37 | The server name to use to access to ldap base |
---|
| 38 | |
---|
| 39 | =head2 topdn |
---|
| 40 | |
---|
| 41 | The base dn of the ldap |
---|
| 42 | |
---|
| 43 | =head2 login |
---|
| 44 | |
---|
| 45 | The dn to use to connect to the ldap |
---|
| 46 | |
---|
| 47 | =head2 password |
---|
| 48 | |
---|
| 49 | The password to cuse to connect to ldap server |
---|
| 50 | |
---|
| 51 | =head2 ssl |
---|
| 52 | |
---|
| 53 | If set, try to connect using ssl |
---|
[1117] | 54 | |
---|
[2051] | 55 | =head2 tls |
---|
| 56 | |
---|
| 57 | If set start tls encryption on standard ldap port. |
---|
| 58 | |
---|
[2417] | 59 | C<ssl> parameter must not be set in this case. |
---|
[2051] | 60 | |
---|
[1117] | 61 | =head2 user_container |
---|
| 62 | |
---|
| 63 | The dn subpart of the container where user are located and will be created |
---|
| 64 | |
---|
| 65 | =head2 group_container |
---|
| 66 | |
---|
| 67 | The dn subpart of the container where groups are located and will be created |
---|
| 68 | |
---|
[2417] | 69 | =head2 groupofnames_container |
---|
| 70 | |
---|
| 71 | The dn subpart of the container where groupOfnames will be stored if set. |
---|
| 72 | |
---|
[2458] | 73 | To have C<memberOf> attribute created on user object ensure openldap |
---|
[2417] | 74 | module C<memberof> is enable before setting this parameter. |
---|
| 75 | |
---|
[1117] | 76 | =head2 user_key_attribute, group_key_attribute |
---|
| 77 | |
---|
| 78 | Specify the attribute to use to uniquely identify an object. The default is |
---|
| 79 | C<cn>. |
---|
| 80 | |
---|
| 81 | =head2 user_dn_attribute, group_dn_attribute |
---|
| 82 | |
---|
| 83 | Specify the attribute to use forge the C<dn> of new object. The default is |
---|
| 84 | C<cn>. |
---|
| 85 | |
---|
[2502] | 86 | =head1 SETUP EXAMPLE |
---|
| 87 | |
---|
| 88 | [ldap] |
---|
| 89 | type=ldap |
---|
| 90 | server=ldap.domain |
---|
| 91 | topdn=dc=domain |
---|
| 92 | login = cn=root,dc=domain |
---|
| 93 | password = myPass |
---|
| 94 | user_container = ou=users |
---|
| 95 | group_container = ou=groups |
---|
| 96 | aliases_container = ou=aliases |
---|
| 97 | onlyaddress_container = ou=addressbook |
---|
| 98 | groupofnames_container = ou=groupofnames |
---|
| 99 | ssl=1 |
---|
| 100 | |
---|