creating a connector from ldap to app