Tom Beerbower created AMBARI-7569:
-------------------------------------

             Summary: 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