Bug fix and typo in CMSLDAP