Running Ubuntu 18.04 on PHP version 7.2.24. Bookstack version is v0.28.
I've been trying to get LDAP authentication working for a few hours now.
I keep getting this error:
Argument 1 passed to BookStack\Auth\Access\LdapService::validateUserCredentials() must be of the type array, null given, called in /var/www/bookstack/app/Auth/Access/Guards/LdapSessionGuard.php on line 73
This is what's in my .env file
AUTH_METHOD=ldap
LDAP_SERVER=[IP ADDRESS]
LDAP_BASE_DN="OU=My OU,DC=COMPANY,DC=com"
LDAP_DN=administrator@domain.com
LDAP_PASS=password
LDAP_ID_ATTRIBUTE=objectGUID
LDAP_USER_FILTER=(&(sAMAccountName=${user}))
LDAP_VERSION=3
LDAP_EMAIL_ATTRIBUTE=mail
LDAP_DISPLAY_NAME_ATTRIBUTE=cn
Running Ubuntu 18.04 on PHP version 7.2.24. Bookstack version is v0.28.
I've been trying to get LDAP authentication working for a few hours now.
I keep getting this error:
Argument 1 passed to BookStack\Auth\Access\LdapService::validateUserCredentials() must be of the type array, null given, called in /var/www/bookstack/app/Auth/Access/Guards/LdapSessionGuard.php on line 73This is what's in my .env file