Created 08-09-2018 04:57 AM
Is it possible to replace white space with another character like underscore when syncing users and groups from LDAP to Ambari?
e.g. "Takefumi Oide" -> "Takefumi_Oide"
If yes, How?
Created 08-09-2018 12:53 PM
Hi @Takefumi Oide ,
there is no way we can replace the white space in CN while you are syncing the LDAP to ambari.
you might need to do it in LDAP only using ldapmodify command.
Ambari just performs the sync based on the command like : ambari-server sync-ldap --ldap-sync-admin-name=admin --ldap-sync-admin-password=admin --all
but in ranger, you can achieve the same.
Follow this doc for the same : https://community.hortonworks.com/articles/86353/converting-spaces-in-usernames-or-group-names-in-r....
Created 08-09-2018 12:53 PM
Hi @Takefumi Oide ,
there is no way we can replace the white space in CN while you are syncing the LDAP to ambari.
you might need to do it in LDAP only using ldapmodify command.
Ambari just performs the sync based on the command like : ambari-server sync-ldap --ldap-sync-admin-name=admin --ldap-sync-admin-password=admin --all
but in ranger, you can achieve the same.
Follow this doc for the same : https://community.hortonworks.com/articles/86353/converting-spaces-in-usernames-or-group-names-in-r....
Created 08-09-2018 03:36 PM
Thank you for your answer!