Support Questions

Find answers, ask questions, and share your expertise

Ambari AD Sync - UserIds are created in lowercase


Hi All,

When I sync LDAP/AD with Ambari, users are being created in lowercase in Ambari whereas our users are case-sensitive.

Since users are created in lowercase, HDFS home directories are being created in lowercase. But users are connecting to gateway boxes using the case-sensitive UserIDs.

Has anyone faced this issue and resolved ? Please provide your valuable inputs to overcome the issue being faced.



Super Collaborator

Hi @D Giri,

can you please check/set the parameter


at /etc/amabari-server/conf/ and restart the ambari-server,

and also please ensure that all the current users are clean up before re-sync the users so that the in stares with actual case in ambari DB.

PS : this fix is available from the ambari versions 2.4.3 and 2.5.0 onwards only.

Hope this Helps !!


Thanks @bkosaraju for the quick response.

Somehow it didn't help me.

Here is what i have done.

1. Remove LDAP users using below command

curl --insecure -u admin:$PASSWORD -H 'X-Requested-By: ambari' -X DELETE http://$AMBARI_HOST:8080/api/v1/users/myUser

2. Update /etc/amabari-server/conf/ with below parameter


3. Restart Ambari server.

4. Sync single ldap user using below command

ambari-server sync-ldap --users users

Still I'm getting same results, its creating lowercase account and lowercase HDFS user directories.

Am I missing anything ?


Ambari :

Super Collaborator

Hi @D Giri,

here is the JIRA details for the issue you have raised, looks the patch has not been committed to the version you are using.


Thanks @bkosaraju for the response and details.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.