aboutsummaryrefslogtreecommitdiffstats
path: root/modules/catdap/templates/catdap_local.yml
blob: b62f80a40cfcb69f496655629f8bb6400013a9b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<%
# domain come from facter

dc_suffix = 'dc=' + domain.gsub('.',',dc=')

ldap_server = 'ldap.' + domain

ldap_password = catdap_password

ldap_account = 'cn=catdap-valstar,ou=System Accounts,' + dc_suffix
%>

organisation: Mageia
apptitle: Mageia Identity Management
emailfrom: noreply@<%= domain %>

Model::Proxy:
    base:      ou=People,<%= dc_suffix %>
    dn:        <%= ldap_account %>
    password:  <%= ldap_password %>

Model::User:
    base:      <%= dc_suffix %>
    host:      <%= ldap_server %>
    start_tls: 1

authentication:
    default_realm: ldap
    realms:
        ldap:
            store:
                ldap_server: <%= ldap_server %>
                binddn: <%= ldap_account %>
                bindpw: <%= ldap_password %>
                user_basedn: ou=People,<%= dc_suffix %>
                role_basedn: <%= dc_suffix %>