aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-05-15 15:34:09 -0400
committerB. Stack <bgstack15@gmail.com>2022-05-15 15:34:09 -0400
commit6019ff41aa077fb61a59a1cfb925314d8b4206dd (patch)
tree91cb5e34da65c1d4b02116f182abfce23939a4a6 /README.md
parentadd multi-server support from holczert (diff)
downloadradicale_auth_ldap-6019ff41aa077fb61a59a1cfb925314d8b4206dd.tar.gz
radicale_auth_ldap-6019ff41aa077fb61a59a1cfb925314d8b4206dd.tar.bz2
radicale_auth_ldap-6019ff41aa077fb61a59a1cfb925314d8b4206dd.zip
add selinux notes
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/README.md b/README.md
index c03e0be..db11d22 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@ You will need to set a few options inside your radicale config file. Example:
[auth]
type = radicale_auth_ldap
-# LDAP server URL, with protocol and port
+# LDAP server URL, with protocol and port (multiple servers can be separated by spaces)
ldap_url = ldap://ldap:389
# LDAP base path
@@ -38,3 +38,14 @@ ldap_scope = LEVEL
# If the server is samba, ldap_support_extended is should be no
ldap_support_extended = yes
```
+
+## SELinux considerations
+If you use SELinux, you will need to add a few rules. To install `radicale-auth-ldap.te`, use these commands.
+
+ sudo checkmodule -M -m -o radicale-auth-ldap.mod radicale-auth-ldap.te && sudo semodule_package -o radicale-auth-ldap.pp -m radicale-auth-ldap.mod && sudo semodule -i radicale-auth-ldap.pp
+
+You will need packages to run the above commands:
+
+* checkpolicy
+* policycoreutils-python (CentOS 7)
+* policycoreutils (CentOS 7, AlmaLinux 8, Fedora)
bgstack15