@dbeato said in Configuring Bookstack to use LDAP:
This are my settings
# General auth
#AUTH_METHOD=standard
AUTH_METHOD=ldap
# LDAP Host
LDAP_SERVER=1.2.3.4:636
# The base DN for users
LDAP_BASE_DN=DC=domain,DC=com
#The full DN and password for binding
LDAP_DN=CN=bookstack,CN=Users,DC=domain,DC=com
LDAP_PASS=S0UP3rS7r0ngP@ssW0rd
#A filter to use when searching for users
LDAP_USER_FILTER=(&(mail=${user}))
LDAP_VERSION=3
# Set the default 'email' attribute. Defaults to 'mail'
LDAP_EMAIL_ATTRIBUTE=mail
# Set the property to use for a user's display name. Defaults to 'cn'
LDAP_DISPLAY_NAME_ATTRIBUTE=cn
# Enable LDAP group sync, Set to 'true' to enable.
LDAP_USER_TO_GROUPS=true
# LDAP user attribute containing groups, Defaults to 'memberOf'.
LDAP_GROUP_ATTRIBUTE="memberOf"
# Remove users from roles that don't match LDAP groups.
LDAP_REMOVE_FROM_GROUPS=false
LDAP_AUTO_CONFIRM_EMAIL=true
# A full list of options can be found in the '.env.example.complete' file.
Make sure to have the local admin logged in and not logged out while you change and save the changes so then you can add yourself as admin tied to AD.
I just made the default role admin and then changed it after my initial logon lol