Starting with v3.0, we've added a rescue utility that allows you to easily disable LDAP via command line. This can be helpful if you've donked up your LDAP settings and can't login even with a local user anymore.
/path/to/php artisan snipeit:ldap-disable
All this does is set your LDAP enabled flag back to 0. It does not remove your existing LDAP settings, and is the equivalent of unchecking the "Enable LDAP" box in
Admin > Settings.
Once you've disabled LDAP, you should be able to login with a local user account, fix your LDAP settings and re-enable LDAP.
Updated over 2 years ago