LDAP Fixes

might help a problem I am seeing where the bind is working as expected,
but the auth is still successful when it shouldn't be.