Created 01-03-2019 08:04 AM
I am not able to see new users from linux into ranger ui.
below is the error log of usersync.log
please help to resolve this.
03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - GROUP: hadoop 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - GROUP: users 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - USER: aapuser 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - GROUP: aapuser 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - USER: hdfs 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - GROUP: hadoop 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - GROUP: hdfs 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - GROUP: hue 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - USER: yarn 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - GROUP: hadoop 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - USER: hbase 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - GROUP: hadoop 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - USER: rescue 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - GROUP: rescue 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - USER: mapred 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - GROUP: hadoop 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - USER: hcat 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - GROUP: hadoop 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - USER: systemd-bus-proxy 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - GROUP: systemd-bus-proxy 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - USER: amb_ranger_admin 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - USER: hive 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - USER: hue 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - GROUP: hadoop 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - GROUP: users 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - USER: testuser 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - GROUP: testuser 03 Jan 2019 12:02:15 WARN UnixUserGroupBuilder [UnixUserSyncThread] - DEPRECATED: Unix backend is configured to use /etc/passwd and /etc/group files directly instead of standard system mechanisms. 03 Jan 2019 12:02:15 INFO UserGroupSync [UnixUserSyncThread] - initializing source: org.apache.ranger.unixusersync.process.UnixUserGroupBuilder 03 Jan 2019 12:02:15 INFO UserGroupSync [UnixUserSyncThread] - Begin: initial load of user/group from source==>sink 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - INFO: addPMAccount(testuser2) 03 Jan 2019 12:02:15 DEBUG PolicyMgrUserGroupBuilder [UnixUserSyncThread] - INFO: addPMAccount(testuser3) 03 Jan 2019 12:02:15 INFO UserGroupSync [UnixUserSyncThread] - End: initial load of user/group from source==>sink 03 Jan 2019 12:02:15 INFO UserGroupSync [UnixUserSyncThread] - Done initializing user/group source and sink 03 Jan 2019 12:02:18 INFO UnixAuthenticationService [main] - Enabling Unix Auth Service! 03 Jan 2019 12:02:19 INFO UnixAuthenticationService [main] - Enabling Protocol: [SSLv2Hello] 03 Jan 2019 12:02:19 INFO UnixAuthenticationService [main] - Enabling Protocol: [TLSv1] 03 Jan 2019 12:02:19 INFO UnixAuthenticationService [main] - Enabling Protocol: [TLSv1.1] 03 Jan 2019 12:02:19 INFO UnixAuthenticationService [main] - Enabling Protocol: [TLSv1.2]
Created 01-04-2019 11:50 AM
The problem is resolved.
We need to update one property for that
ranger.usersync.policymanager.mockrun = false
Created 01-03-2019 08:06 AM
Can you please check if you have set the "ranger.usersync.unix.backend=nss" property inside the "ranger-ugsync-site.xml" file after setting up the SSSD?
Please refer to the following article to get more details about this property followed by a usersync restart.
Created 01-03-2019 11:39 AM
Hi @Jay Kumar SenSharma
I dont have LDAP setup and I didn't setup SSSD as well.
Created 01-04-2019 11:50 AM
The problem is resolved.
We need to update one property for that
ranger.usersync.policymanager.mockrun = false