Redid configuration parsing and fixed ldap password read permissions with an ugly sudo hack.