Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
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!