Gautam Borad created RANGER-681:
-----------------------------------

             Summary: Update default sync intervals for LDAP and UNIX
                 Key: RANGER-681
                 URL: https://issues.apache.org/jira/browse/RANGER-681
             Project: Ranger
          Issue Type: Bug
          Components: usersync
    Affects Versions: 0.6.0
            Reporter: Gautam Borad
            Assignee: Gautam Borad
             Fix For: 0.6.0


Update default sync intervals to sync users from LDAP and UNIX: 
{code}
IF sync_source == LDAP:
    min_interval = 6 hours
ELSE IF sync_source is UNIX:
    min_interval = 60 seconds
ELSE
    min_interval = 60 seconds
END IF

IF sync_interval < min_interval:
    LOG.info(...)
    sync_interval = min_interval
END IF
{code}



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

Reply via email to