added options to ldap, search was breaking