Configuration page doesn't store LDAP settings
Please confirm you have done the following before posting your bug report:
- [X] I have enabled debug mode
- [X] I have read checked the Common Issues page
Describe the bug LDAP-Settings cannot be changed. When editing the LDAP Settings and hitting "Save", the page reverts back to the default (empty) fields. On the other hand, the settings table of the database is updated correctly.
EDIT: it looks like the security settings has the same issue. I try to reduce the needed password length from the default value (10) to 8. I hit "save" and get back to the administration menu, where a green banner tells me that the operation was succesfull. When I visit again that page, the value is still 10.
To Reproduce Steps to reproduce the behavior:
- Set up a fresh installation, without any LDAP settings already defined
- Click on the gear symbol on the upper right
- Click on LDAP
- Enter some configuration
- Hit "Save"
Expected behavior I expect the data to be saved in the form and LDAP to be enabled. The actual behavior is that the fields stay empty even though I get a green bar telling me " Success: Settings updated successfully"
Screenshots
LDAP setting page after entering a configuration and hitting "save"

Database content:

Server (please complete the following information):
- Snipe-IT Version: v5.0.12 - build 5705 (master)
- OS: Windows Server 2016 Standard
- Web Server: IIS
- PHP Version: php-7.3.11-nts-Win32-VC15-x64
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Chrome (also tested with IE and Edge: same behavior)
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version: 77.0.3865.75 (Official Build) (32-bit)
Error Messages
- The debug bar on the bottom of the screen shows no messages and no exceptions
- No errors on the browser console
- Not testable in demo (feature deactivated)
- Output from
php -m: [PHP Modules] bcmath calendar Core ctype curl date dom fileinfo filter gd hash iconv ionCube Loader json ldap libxml mbstring mysqli mysqlnd openssl pcre PDO pdo_mysql Phar readline Reflection session SimpleXML sockets SPL sqlsrv standard tokenizer wddx wincache xml xmlreader xmlwriter zip zlib [Zend Modules] the ionCube PHP Loader
Additional context
- It's a fresh install
- Windows Server 2016 Standard, Web Server: IIS
- Manual installation
- Installed as described in manual, no errors
- I tried to change LDAP settings directly in the database after the issue occurred.
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
UPDATE
All the settings I change in the admin menu (the one you reach through the gears symbol) get written to the MySQL DB. Not a single one has effect on the application and not a single one is shown in the corresponding setting page when I return to it.
I tried changing the appearance (theme, color), the date and hour format, and the asset tags increment. Nothing works, in spite of all of them being correctly written to the database.
I deactivate the Windows Authentication (HTTP 401 challenge) on IIS. Now everything works as expected.