2020-05-14 23:29:41 +02:00
|
|
|
SELinux
|
|
|
|
=======
|
|
|
|
|
|
|
|
To make LemonLDAP::NG work with SELinux, you may need to set up some
|
|
|
|
options.
|
|
|
|
|
|
|
|
Disk cache (sessions an configuration)
|
|
|
|
--------------------------------------
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2020-07-15 20:09:10 +02:00
|
|
|
chcon -R -t httpd_sys_rw_content_t /var/cache/lemonldap-ng
|
2020-05-14 23:29:41 +02:00
|
|
|
|
|
|
|
To persist the rule:
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2020-07-15 20:09:10 +02:00
|
|
|
semanage fcontext -a -t http_sys_content_t /var/cache/lemonldap-ng
|
2020-05-14 23:29:41 +02:00
|
|
|
|
|
|
|
LDAP
|
|
|
|
----
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
setsebool -P httpd_can_connect_ldap 1
|
|
|
|
|
|
|
|
Databases
|
|
|
|
---------
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
setsebool -P httpd_can_network_connect_db 1
|
|
|
|
|
|
|
|
Memcache
|
|
|
|
--------
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
setsebool -P httpd_can_network_memcache 1
|
|
|
|
|
|
|
|
Proxy HTTP
|
|
|
|
----------
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
setsebool -P httpd_can_network_relay 1
|