You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Gautam Borad (JIRA)" <ji...@apache.org> on 2015/10/07 09:37:27 UTC

[jira] [Created] (RANGER-681) Update default sync intervals for LDAP and UNIX

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)