- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Is it possible to replace white space with another character like underscore when syncing users and groups from LDAP to Ambari?
- Labels:
-
Apache Ambari
Created ‎08-09-2018 04:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your answer!
