cherdt / ansible-icinga2

Ansible role to install Icinga 2.x
0 stars 0 forks source link

add icingaweb2-selinux yum package #7

Open cherdt opened 6 years ago

cherdt commented 6 years ago

I ran into this when adding LDAP authentication

cherdt commented 6 years ago

Hmm, it's already there. Yet putting SELinux into permissive mode (temporarily! don't disable SELinux!) fixes the LDAP issue.

cherdt commented 6 years ago

See https://www.icinga.com/docs/icingaweb2/latest/doc/90-SELinux/#selinux-optional-booleans

Ldap If you want to allow httpd to connect to the ldap port, you must turn on the httpd_can_connect_ldap boolean. Disabled by default.

cherdt commented 6 years ago

sudo setsebool httpd_can_connect_ldap on

probably don't need to add this to this demo role though

cherdt commented 6 years ago

Ahem:

sudo setsebool -P httpd_can_connect_ldap on

(assuming you want that setting to persist after a restart!)