Skip to content

WEEE-Open/bookstack-ldap-provision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BookStack LDAP provisioning command

Maintenance

Provision user accounts in BookStack from a LDAP server.

This is particularly useful in conjunction with an SSO setup (either SAML2 or LDAP), so the user database is kept in sync with the LDAP database at all times: users exist even if they haven't logged in for the first time, names and emails are updated when they change and deleted accounts are deleted on BookStack too.

Installation

  1. Drop LdapProvision.php into the app/Console/Commands directory in your BookStack Installation
  2. Add new env vars to BookStack .env, see .env.example for documentation
  3. php artisan bookstack:ldap-provision and check that users and groups are imported correctly
  4. Make a cron job, systemd timer or similar to run that command every e.g. 15 minutes.

With the official docker-compose you can use docker-compose run app php artisan bookstack:ldap-provision.

About

Provision user accounts in BookStack from a LDAP server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages