Use enum instead of hardcoded numbers in LDAP operations

- instead of (1,2,3) use new enum LdapOperation for add, remove and replace