This extension enables users to log into Flarum through LDAP.
composer require tituspijean/flarum-ext-auth-ldap
and activate it in Flarum's administration panel.
This extension is translated in French and English.
LDAP server name
: sets the end of the Login with
link at the top of the forum: LDAP domains or server IP adresses (comma separated)
: list of LDAP servers to use.Base DNs (semicolon separated)
: list of base DNs to search users in.Filter to apply (optional)
: Additional filtering, for example require users to be in a specific group.Port
: LDAP server portFollow referrals
, Use SSL
, Use TLS
: LDAP server settingsLDAP admin distinguished name
and LDAP admin password (leave empty for anonymous binding)
: if needed, specific the DN and password of the user allowed to perform searches in the LDAP server.LDAP user search fields (comma separed)
: list of the LDAP fields used to look for the users. The extension will try all combinations of base DNs and search fields.LDAP user mail field
: name of the field containing the user's email address. The extension will use the first email found for the user's registration in Flarum.LDAP username field
: name of the field containing the username that uniquely identifies the user. Can be uid
or sAMAccountname
, for example.Disable Flarum login and only use LDAP authentication
: merely hides the standard login links and buttons. Users can still use the standard login method through the API.cp docker/.docker.conf.dist docker/.docker.conf
docker/.docker.conf
if needed../install.sh install