Added the possibility to specify if the LDAP authetication is active or not