Deepak Sharma created RANGER-1475:
-------------------------------------

             Summary: some users missed to be sync if they are syncd from 
openldap
                 Key: RANGER-1475
                 URL: https://issues.apache.org/jira/browse/RANGER-1475
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
    Affects Versions: 0.7.1
            Reporter: Deepak Sharma
             Fix For: 0.7.1


some users missed to be sync if they are syncd from openldap in a scenario when 
users are added to the ldap at the time when usersync is happening or if it is 
in progress or within a minute of usersync cycle.
{code}
if (deltaSyncUserTime < highestdeltaSyncUserTime) {
                                // Incrementing highestdeltaSyncUserTime (for 
AD) in order to avoid search record repetition for next sync cycle.
                                deltaSyncUserTime = highestdeltaSyncUserTime+1; 
                                // Incrementing the highest timestamp value 
(for Openldap) with 1min in order to avoid search record repetition for next 
sync cycle.
                                deltaSyncUserTimeStamp = dateFormat.format(new 
Date(highestdeltaSyncUserTime + 60000l));
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to