LDAPError causes config to be unparsable