Read LDAP attribute from ldap.yml as opposed to reaching into private variables

See note on pull request #25