You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Julien Dupouy 5ca21d4f46
Rename to radicale3_auth_ldap
3 years ago
radicale3_auth_ldap Rename to radicale3_auth_ldap 3 years ago
test Rename to radicale3_auth_ldap 3 years ago
.gitignore Add gitignore 7 years ago
README.md Rename to radicale3_auth_ldap 3 years ago
setup.py Rename to radicale3_auth_ldap 3 years ago

README.md

What is this?

This is an authentication plugin for Radicale 3. It adds an LDAP authentication backend which can be used for authenticating users against an LDAP server.

How to configure

You will need to set a few options inside your radicale config file. Example:

[auth]
type = radicale3_auth_ldap

# LDAP server URL, with protocol and port
ldap_url = ldap://ldap:389

# LDAP base path
ldap_base = ou=Users,dc=TESTDOMAIN

# LDAP login attribute
ldap_attribute = uid

# LDAP filter string
# placed as X in a query of the form (&(...)X)
# example: (objectCategory=Person)(objectClass=User)(memberOf=cn=calenderusers,ou=users,dc=example,dc=org)
ldap_filter = (objectClass=person)

# LDAP dn for initial login, used if LDAP server does not allow anonymous searches
# Leave empty if searches are anonymous
ldap_binddn = cn=admin,dc=TESTDOMAIN

# LDAP password for initial login, used with ldap_binddn
ldap_password = verysecurepassword

# LDAP scope of the search
ldap_scope = LEVEL

# LDAP extended option
# If the server is samba, ldap_support_extended is should be no
ldap_support_extended = yes