Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:2.1:selinux [2019/01/15 15:55] (current)
Line 1: Line 1:
 +====== SELinux ======
 +
 +To make LemonLDAP::​NG work with SELinux, you may need to set up some options.
 +
 +===== Disk cache (sessions an configuration) =====
 +
 +<​code>​chcon -R -t httpd_sys_rw_content_t /​tmp</​code>​
 +
 +To persist the rule:
 +<​code>​semanage fcontext -a -t http_sys_content_t /​tmp</​code>​
 +
 +===== LDAP =====
 +
 +<​code>​setsebool -P httpd_can_connect_ldap 1</​code>​
 +
 +===== Databases =====
 +
 +<​code>​setsebool -P httpd_can_network_connect_db 1</​code>​
 +
 +===== Memcache =====
 +
 +<​code>​setsebool -P httpd_can_network_memcache 1</​code>​
 +
 +===== Proxy HTTP =====
 +
 +<​code>​setsebool -P httpd_can_network_relay 1</​code>​
 +