extract ldap operations

all ldap operations have been extracted into a separate service.  It
works according to old functionality