xoxys.pve/templates/etc/pve/domains.cfg.j2

26 lines
858 B
Plaintext
Raw Normal View History

2018-11-13 01:06:09 +01:00
#jinja2:lstrip_blocks: True
2018-11-14 22:07:57 +01:00
pam: pam
2018-11-12 23:47:46 +01:00
comment {{ pve_auth_pam_description }}
default {{ 1 if pve_auth_pam_is_default else 0 }}
2018-11-12 23:29:24 +01:00
2018-11-14 22:07:57 +01:00
pve: pve
2018-11-12 23:47:46 +01:00
comment {{ pve_auth_pve_description }}
default {{ 1 if pve_auth_pve_is_default else 0 }}
2018-11-12 23:29:24 +01:00
{% if pve_auth_ldap_enabled %}
2018-11-14 22:03:59 +01:00
2018-11-12 23:47:46 +01:00
ldap: {{ pve_auth_ldap_realm }}
2018-11-12 23:29:24 +01:00
comment {{ pve_auth_ldap_description }}
base_dn {{ pve_auth_ldap_base_dn }}
server1 {{ pve_auth_ldap_primary_server }}
2018-11-13 01:06:09 +01:00
{% if pve_auth_ldap_secondary_server is defined %}
2018-11-12 23:29:24 +01:00
server2 {{ pve_auth_ldap_secondary_server }}
2018-11-13 01:06:09 +01:00
{% endif %}
2018-11-12 23:29:24 +01:00
user_attr {{ pve_auth_ldap_user_attr }}
2018-11-13 01:06:09 +01:00
{% if pve_auth_ldap_bind_dn is defined %}
2018-11-12 23:29:24 +01:00
bind_dn {{ pve_auth_ldap_bind_dn }}
2018-11-13 01:06:09 +01:00
{% endif %}
2018-11-12 23:29:24 +01:00
default {{ 1 if pve_auth_ldap_is_default else 0 }}
port {{ pve_auth_ldap_port }}
secure {{ 1 if pve_auth_ldap_tls_enabled else 0 }}
{% endif %}