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.
Hi @D Giri,
can you please check/set the parameter
at /etc/amabari-server/conf/ambari.properties 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/ambari.properties 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 ?
HDP : 18.104.22.168
Ambari : 22.214.171.124