aboutsummaryrefslogtreecommitdiffstats
path: root/modules/catdap/templates/catdap_local.yml
blob: 48dbc99a8ea6f80d1e05d0d8537433dbe5e48242 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<%
ldap_server = "ldap-master.#{domain}"

ldap_account = "cn=catdap-#{hostname},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 %>

register:
        login_regex: ^[a-z][a-z0-9-]*$
        login_blacklist:
                - apache
                - mirror
                - bcd
                - iurt
                - schedbot
                - signbot
                - postmaster
                - hostmaster
                - abuse
                - noc
                - security
                - listmaster
                - MAILER-DAEMON
                - webmaster
                - www 
                - treasurer
                - president
                - secretary
                - security