Add user cmd and fix ldap_user_search.