Open AJDurant opened 3 years ago
👋 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.
Please confirm you have done the following before posting your bug report:
Describe the bug Previously I had multiple ldap servers listed in my settings:
ldap://dc00.example.com ldap://dc01.example.com
This is allowed in the standard php_ldap connection, and will automatically fail-over when connecting if the first is unavailable. However, with the changes to the LDAP backend in v5 this string is no longer valid, and I get an exception:
To Reproduce Steps to reproduce the behavior:
php artisan up
after fixing some db migrations.Expected behavior Host string is correctly passed to ldap_connect allowing multiple servers.
Server (please complete the following information):
Error Messages See trace above
Additional context
Had the following error, fixed by changing the table datatype (as mentioned in other issues):
Workaround, edit the ldap_server setting in the db, to only have one host and now I can use Snipe-IT again, but without ldap server connection fail-over.