Dilli Arumugam created RANGER-320:
-------------------------------------
Summary: Usersync NPE when object does not have userNameAttribute
Key: RANGER-320
URL: https://issues.apache.org/jira/browse/RANGER-320
Project: Ranger
Issue Type: Bug
Affects Versions: 0.4.0
Reporter: Dilli Arumugam
Assignee: Dilli Arumugam
Fix For: 0.5.0
PROBLEM: When running usersync and a user that matches the userSearchFilter
does not contain the attributed specified as userNameAttribute, the updateSink
function fails with a NPE:
16 Feb 2015 18:16:44 ERROR UserGroupSync [UnixUserSyncThread] - Failed to
initialize UserGroup source/sink. Will retry after 120000 milliseconds. Error
details:
java.lang.NullPointerException
at
com.xasecure.ldapusersync.process.LdapUserGroupBuilder.updateSink(LdapUserGroupBuilder.java:201)
at com.xasecure.usergroupsync.UserGroupSync.run(UserGroupSync.java:59)
at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)