[ 
https://issues.apache.org/jira/browse/AMBARI-7569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14154825#comment-14154825
 ] 

Hudson commented on AMBARI-7569:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #439 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/439/])
AMBARI-7569 - Admin : ambari-server sync-ldap - support --existing, --users & 
--groups options (tbeerbower: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=bb7d5f71e80b8bcad5e69fb4df10788b1c2376a8)
* ambari-server/src/main/python/ambari-server.py
* ambari-server/sbin/ambari-server
* ambari-server/src/test/python/TestAmbariServer.py


> Admin : ambari-server sync-ldap - support --existing, --users & --groups 
> options 
> ---------------------------------------------------------------------------------
>
>                 Key: AMBARI-7569
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7569
>             Project: Ambari
>          Issue Type: Task
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>             Fix For: 1.7.0
>
>
> The command line 'ambari-server sync-ldap' should support the options as 
> follows ...
> {quote}
> "ambari-server sync-ldap --existing" which would would first look at the 
> ambari database and only clean-up those users and groups. This way, it 
> doesn't pull any new ones, it a) removes users that are in ambari but out of 
> ldap, b) remove groups that are in ambari but out of ldap and c) syncs the 
> group membership of the groups that are in ambari
> "ambari-server sync-ldap --users users.txt --groups groups.txt" which would 
> allow people to just sync a specific set of users and groups from ldap to 
> ambari. The .txt files would be the user and group ids to sync into ambari. 
> This is going to be important for people that just want to bring "a specific 
> set" of users + groups into ambari from ldap (not the "all"). And then once 
> this has happened, running with --existing option periodically helps keep 
> these "in sync"
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to