+Sample code for resolving via LDAP