[ 
https://issues.apache.org/jira/browse/RANGER-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sailaja Polavarapu updated RANGER-1008:
---------------------------------------
    Attachment: 0001-RANGER-1008-Catching-logging-any-exceptions-while-pe.patch

> if one of OU is invalid out of multiple ou configured then no user syncd from 
> any of the OU
> -------------------------------------------------------------------------------------------
>
>                 Key: RANGER-1008
>                 URL: https://issues.apache.org/jira/browse/RANGER-1008
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger, usersync
>    Affects Versions: 0.6.0
>            Reporter: Sailaja Polavarapu
>             Fix For: 0.6.0
>
>         Attachments: 
> 0001-RANGER-1008-Catching-logging-any-exceptions-while-pe.patch
>
>
> lets say user search base is : 
> 'ou=OU1,DC=ranger,DC=qe,DC=hortonworks,DC=com;ou=OU2,DC=ranger,DC=qe,DC=hortonworks,DC=com;ou=OU3,DC=ranger,DC=qe,DC=hortonworks,DC=com;ou=OU4,DC=ranger,DC=qe,DC=hortonworks,DC=com'
> so here OU4 does not exist
> but first three ou's are valid
> so here at least users available in first 3 OU's should be syncd
> for last one it should throw exception in usersync log
> so for this usersync log is fine
> ER: atleast users in first 3 ou's should be syncd
> AR: no user in all 3 ou's gets syncd
> usersync logs:
> 3 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> Updating user count: 1, userName: userou5, groupList: []
> 23 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> Updating user count: 2, userName: userou6, groupList: []
> 23 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> LDAPUserGroupBuilder.getUsers() completed with user count: 2
> 23 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> Updating user count: 1, userName: userou1, groupList: []
> 23 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> Updating user count: 2, userName: userou2, groupList: []
> 23 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> LDAPUserGroupBuilder.getUsers() completed with user count: 2
> 23 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> Updating user count: 1, userName: userou3, groupList: []
> 23 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> Updating user count: 2, userName: userou4, groupList: []
> 23 May 2016 15:11:04  INFO LdapUserGroupBuilder [UnixUserSyncThread] - 
> LDAPUserGroupBuilder.getUsers() completed with user count: 2
> 23 May 2016 15:11:04 ERROR UserGroupSync [UnixUserSyncThread] - Failed to 
> initialize UserGroup source/sink. Will retry after 3600000 milliseconds. 
> Error details:
> javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: 
> DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of:
>         'DC=ranger,DC=qe,DC=hortonworks,DC=com'
> ^@]; remaining name 'ou=OU4,DC=ranger,DC=qe,DC=hortonworks,DC=com'



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

Reply via email to