forked from evolix/ansible-roles
amavis/ldap: make ldap_suffix mandatory
This commit is contained in:
parent
0b859fd1a4
commit
2e9b6c0680
|
@ -38,6 +38,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
* add-vm.sh: allow VM name max length > 20
|
* add-vm.sh: allow VM name max length > 20
|
||||||
|
* amavis: make ldap_suffix mandatory
|
||||||
* apache : fix goaway pattern for bad bots
|
* apache : fix goaway pattern for bad bots
|
||||||
* apache : rename MaxRequestsPerChild to MaxConnectionsPerChild (new name)
|
* apache : rename MaxRequestsPerChild to MaxConnectionsPerChild (new name)
|
||||||
* apache: use backward compatible Redirect directive
|
* apache: use backward compatible Redirect directive
|
||||||
|
@ -50,6 +51,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
* evolinux-base: dump-server-state upstream release 23.11
|
* evolinux-base: dump-server-state upstream release 23.11
|
||||||
* evolinux-base: use separate default config file for rsyslog
|
* evolinux-base: use separate default config file for rsyslog
|
||||||
* kvmstats: use .capacity instead of .physical for disk size
|
* kvmstats: use .capacity instead of .physical for disk size
|
||||||
|
* ldap: make ldap_suffix mandatory
|
||||||
* listupgrade : old-kernel-removal.sh upstream release 24.01
|
* listupgrade : old-kernel-removal.sh upstream release 24.01
|
||||||
* log2mail: move custom config in separate file
|
* log2mail: move custom config in separate file
|
||||||
* lxc: init /etc git repository in lxc container
|
* lxc: init /etc git repository in lxc container
|
||||||
|
|
|
@ -44,7 +44,7 @@ $max_servers = 2;
|
||||||
$enable_ldap = 1;
|
$enable_ldap = 1;
|
||||||
$default_ldap = {
|
$default_ldap = {
|
||||||
hostname => '127.0.0.1', tls => 0,
|
hostname => '127.0.0.1', tls => 0,
|
||||||
base => '{{ ldap_suffix }}', scope => 'sub',
|
base => '{{ ldap_suffix | mandatory }}', scope => 'sub',
|
||||||
query_filter => '(&(mailacceptinggeneralid=%m)(isActive=TRUE))'
|
query_filter => '(&(mailacceptinggeneralid=%m)(isActive=TRUE))'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -50,8 +50,8 @@
|
||||||
mode: "0640"
|
mode: "0640"
|
||||||
loop:
|
loop:
|
||||||
- { option: 'hostname', value: '127.0.0.1' }
|
- { option: 'hostname', value: '127.0.0.1' }
|
||||||
- { option: 'base', value: "{{ ldap_suffix }}" }
|
- { option: 'base', value: "{{ ldap_suffix | mandatory }}" }
|
||||||
- { option: 'bind', value: "cn=nagios,ou=ldapusers,{{ ldap_suffix }}" }
|
- { option: 'bind', value: "cn=nagios,ou=ldapusers,{{ ldap_suffix | mandatory }}" }
|
||||||
- { option: 'pass', value: "{{ ldap_nagios_password }}" }
|
- { option: 'pass', value: "{{ ldap_nagios_password }}" }
|
||||||
when: not nagios_monitoring_plugins_path.stat.exists
|
when: not nagios_monitoring_plugins_path.stat.exists
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue