[core] Ldap commands should accept server argument

Server argument should accept strings