Minor improvement to LDAP configuration, fixes #217
Merge pull request #1002 from jmaas/master

Minor improvement to LDAP configuration, fixes #217