[ 
https://issues.apache.org/jira/browse/RANGER-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15138362#comment-15138362
 ] 

Velmurugan Periasamy commented on RANGER-827:
---------------------------------------------

[~bolke] I am still getting the below error during build on my machine (Mac). 
Any ideas? Using version 5 of your patch.

Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.323 sec <<< 
FAILURE! - in org.apache.ranger.unixusersync.process.UnixUserGroupBuilderTest
testBuilderNss(org.apache.ranger.unixusersync.process.UnixUserGroupBuilderTest) 
 Time elapsed: 0.076 sec  <<< FAILURE!
java.lang.AssertionError: null
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertNotNull(Assert.java:621)
        at org.junit.Assert.assertNotNull(Assert.java:631)
        at 
org.apache.ranger.unixusersync.process.UnixUserGroupBuilderTest.testBuilderNss(UnixUserGroupBuilderTest.java:73)



> Use system supplied mechanism to get users and groups on unix
> -------------------------------------------------------------
>
>                 Key: RANGER-827
>                 URL: https://issues.apache.org/jira/browse/RANGER-827
>             Project: Ranger
>          Issue Type: Improvement
>          Components: usersync
>    Affects Versions: 0.5.1
>            Reporter: Bolke de Bruin
>            Assignee: Bolke de Bruin
>              Labels: integration, pam, sssd, sync
>             Fix For: 0.6.0
>
>         Attachments: 0001-RANGER-827-Improve-unix-usersync.patch, 
> 0002-RANGER-827-Improve-unix-usersync.patch, 
> 0003-RANGER-827-Improve-unix-usersync.patch, 
> 0004-RANGER-827-Improve-unix-usersync.patch, 
> 0005-RANGER-827-Improve-unix-usersync.patch, usersync.patch
>
>
> The unix user sync currently reads /etc/passwd /etc/groups . This is often 
> not a reflection of users and groups available on a system especially when 
> nsswitch is configured (eg. sssd, ldap etc).
> Secondly in some cases groups will contain user names that are not returned 
> with "getent passwd", especially "external users" and it is required to add 
> these using the group information.



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

Reply via email to