1 |
<% |
2 |
# domain come from facter |
3 |
|
4 |
dc_suffix = 'dc=' + domain.gsub('.',',dc=') |
5 |
|
6 |
ldap_server = 'ldap.' + domain |
7 |
|
8 |
ldap_password = catdap_password |
9 |
|
10 |
ldap_account = 'cn=catdap-valstar,ou=System Accounts,' + dc_suffix |
11 |
%> |
12 |
|
13 |
organisation: Mageia |
14 |
apptitle: Mageia Identity Management |
15 |
emailfrom: noreply@<%= domain %> |
16 |
|
17 |
Model::Proxy: |
18 |
base: ou=People,<%= dc_suffix %> |
19 |
dn: <%= ldap_account %> |
20 |
password: <%= ldap_password %> |
21 |
|
22 |
Model::User: |
23 |
base: <%= dc_suffix %> |
24 |
host: <%= ldap_server %> |
25 |
start_tls: 1 |
26 |
|
27 |
authentication: |
28 |
default_realm: ldap |
29 |
realms: |
30 |
ldap: |
31 |
store: |
32 |
ldap_server: <%= ldap_server %> |
33 |
binddn: <%= ldap_account %> |
34 |
bindpw: <%= ldap_password %> |
35 |
user_basedn: ou=People,<%= dc_suffix %> |
36 |
role_basedn: <%= dc_suffix %> |
37 |
|