Issue setting up LDAP
Expected Behavior (or desired behavior if a feature request)
Configure LDAP to import users (what you expect to happen goes here) synchronise users from AD into Snipe-it
Actual Behavior
When trying to run LDAP sync from the users tab, i get an error
your app key has changed! could not decrypt LDAP password using your current app key, so LDAP authentication has been disabled. Login with a local account, update the LDAP password and re-enable it in admin settings
i also am unable to click the test ldap button on ldap page in settings (what actually happens goes here)
Please confirm you have done the following before posting your bug report:
- [ yes] I have enabled debug mode
- [ yes] I have read checked the Common Issues page
Provide answers to these questions:
-
Is this a fresh install or an upgrade?
fresh install -
Version of Snipe-IT you're running v5.6.15
-
Version of PHP you're running PHP 7.2.14
-
Version of MySQL/MariaDB you're running Mariadb 10.0
-
What OS and web server you're running Snipe-IT on Server 2012r2 and IIS 8
-
What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) I cloned the latest version via GIT for windows
-
WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error N/A
-
What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error primary issue>people tab> sync LDAP button Secondary issue settings>LDAP>im unable to click the test ldap button
-
If a stacktrace is provided in the error, include that too.
-
Any errors that appear in your browser's error console.
-
Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo.
-
Include any additional information you can find in
storage/logsand your webserver's logs. i couldnt see anything specific to this in any logs -
Include what you've done so far in the installation, and if you got any error messages along the way. I did have an issue once i got to the pre flight setup page where clicking on the create database tables button threw up an error base table or view not found 'snipeit.oauth_clients' doesnt exist, but i found an older post advising to run php artisan migrate, which fixed the issue
-
Indicate whether or not you've manually edited any data directly in the database ive not made any direct changes to the database
Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.
https://snipe-it.readme.io/docs/getting-help
Apologies guys, my LDAP configuration was incorrect.
I had forgot to enter the password for the user i setup as the BIND username
stupid mistake!