timeout and ldap switch