If you made a mistake while configuring LDAP settings and you cant login, you can run an SQL query which undo these settings:

- open SQL Management Studio
- on 'qnet6' database right click -> New query
- paste: UPDATE qnet6.FUNC_CONFIG SET FC_VALUE_N1 = 0 WHERE FC_PARAM = 36;
- Execute
- restart service