Re: No usersync

2024-06-11 Thread Sailaja Polavarapu
Hi Marc, Some overview of Ranger Usersync - Ranger Usersync has three main duties - 1. Syncing users and groups from configured sync source, 2. Compute delta for each sync cycle, and 3. Update Ranger admin the user and group information so that Ranger admin persists this info in its DB 1.

Re: Usersync

2024-06-06 Thread Sailaja Polavarapu
rangerusersync user is an internal user and the password is generated as part of the initial ranger setup ( https://github.com/apache/ranger/blob/master/security-admin/scripts/install.properties#L87). You can also reset the password of ragerusersync user by logging in to Ranger Admin UI with

Re: LDAP authentication issue

2024-04-30 Thread Sailaja Polavarapu
chnical leader Big Data >> Capgemini (Lyon, France) >> >> >> Le ven. 19 avr. 2024 à 05:08, Vipin Rathor a écrit : >> >>> Thank Sailaja for the reply. I was about to reply that >>> Spring LDAP API does support multiple DN but

Re: LDAP authentication issue

2024-04-18 Thread Sailaja Polavarapu
ranger.ldap.user.dnpattern currently takes only one pattern which seems to be a bug. Because the underlying spring security ldap library API supports array of patterns. For now, can you try filtering based on any other attributes? For example below config filters the users from group1 & group2

Re: Groups not retrieved

2024-03-22 Thread Sailaja Polavarapu
uot; and add John Doe to that group, > but it doesn't work. Does Usersync only expect groups with LDAP structure > (like the memberOf line) ? > Thanks, > > > Loïc > > Le jeu. 21 mars 2024 à 22:51, Sailaja Polavarapu > a écrit : > >> Hi Loic, >> I see that you

Re: Groups not retrieved

2024-03-21 Thread Sailaja Polavarapu
Hi Loic, I see that you have below config properties for group search. In this case the groups are retrieved from "dc=cmb,dc=blabla,dc=org" search base. Can you check if "CN=usr_tool_prd,OU=Tool,OU=Groupes,DC=blabla,DC=org" group is under the configured search base? groupSearchEnabled: true,

Re: Usersync from file

2024-03-08 Thread Sailaja Polavarapu
cal leader Big Data >> Capgemini (Lyon, France) >> >> >> Le ven. 8 mars 2024 à 17:24, Sailaja Polavarapu >> a écrit : >> >>> Which branch are you using? And can you share the usersync config? >>> >>> On Fri, Mar 8, 2024 at 8:10 AM

Re: Usersync from file

2024-03-08 Thread Sailaja Polavarapu
o > load all the users, but the users in the file are not created. Is there > some configuration missing from > https://cwiki.apache.org/confluence/display/RANGER/File+Source+User+Group+Sync+process > ? > Thanks, > > > Loïc CHANEL > Technical leader Big Data > Capgemini

Re: Usersync from file

2024-03-08 Thread Sailaja Polavarapu
This is strange as I don't see any logs from updateSink() method . Can you check the timestamp on the file and try updating the file? and also check if

Re: LDAP sync shows no log

2024-02-15 Thread Sailaja Polavarapu
Ranger Usersync caches the users and groups that are sync'd from LDAP and uses this to compute delta for every sync cycle in order to update ranger admin with the changes. Initially, during start up, this cache is built from the users and groups that are in Ranger admin and is updated only when

Re: [Usersync] Fetch several attributes

2024-02-14 Thread Sailaja Polavarapu
Hi Loïc CHANEL, Syncing extra attributes from AD/LDAP is partly supported as part of RANGER-2697 . Can you please check it out and see if this works for your use case? It is not exactly what you are asking for, but in Usersync, there is an option

Re: [Usersync] LDAP Anonymous bind

2024-02-07 Thread Sailaja Polavarapu
Hi Loïc CHANEL, Looks like we need to update the comment in the install.properties file as anonymous bind is not supported anymore for LDAP sync in Ranger. Thanks, Sailaja. On Wed, Feb 7, 2024 at 6:28 AM Loïc CHANEL wrote: > Hi guys, > > Has anyone been able to make LDAP sync work with an

Re: Ranger 1.2 usersync and AD connection reset

2023-04-14 Thread Sailaja Polavarapu
Hi Felipe, In the recent version (ranger-2.4) there are a lot of improvements made on usersync side to optimize the way we retrieve data from AD/LDAP and computing delta as well as ranger admin POST calls. Some of the related jiras are - RANGER-2986

Re: Planning for Apache Ranger 2.3.0 release

2022-04-29 Thread Sailaja Polavarapu
Hi Ramesh, +1 for Ranger 2.3 release. Thanks for the initiative. - Sailaja On Thu, Apr 28, 2022 at 7:21 AM Ramesh Mani wrote: > zhoutianling, > > Thanks for the review. These Jiras are part of the Apache Ranger 2.3 apache > release, it's not pulled in this published list as this may not have >

Re: Planning for Apache Ranger 2.2.0 release

2021-09-21 Thread Sailaja Polavarapu
+1 Thanks Ramesh for putting this together. - Sailaja. On Mon, Sep 20, 2021 at 12:46 PM Abhay Kulkarni wrote: > +1. > > Thanks, Ramesh. > > On Mon, Sep 20, 2021 at 8:48 AM Ramesh Mani wrote: > > > > Dear Ranger Community members, > > > > This is the reminder to give your opinion on Apache

Re: Ranger 2.1 - Usersync 401s after successful initial load

2020-12-15 Thread Sailaja Polavarapu
StandardEngineValve.java:116) >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:452) >> at >> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1201) >> at >> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:65

Re: Ranger 2.1 - Usersync 401s after successful initial load

2020-12-01 Thread Sailaja Polavarapu
Hi Geri, I haven't seen this issue in my local setup. From the above logs, I see that "valid cookie is saved" after first sync, but in the next sync cycle usersync is using credential login which is strange. In Usersync, for every request to ranger admin, first try with the saved cookie (which is

Re: Clarification on incremental sync

2019-12-10 Thread Sailaja Polavarapu
ger UI > (even though user sync set to use AD/LDAP), since they exist across all > nodes of the cluster, just as unix local users rather than AD users? > > On Mon, Dec 9, 2019 at 3:08 PM Sailaja Polavarapu < > spolavar...@cloudera.com> wrote: > >> Hi Reed Villanueva, >>

Re: Ranger Usersync Not Updating After Initial Sync

2019-06-06 Thread Sailaja Polavarapu
Hi Helene, Looks like you have "groupSearchEnabled" set to "false" which is not supported with incremental/delta sync. Can you try with "groupSearchEnabled" set to "true"? Thanks, Sailaja On Thu, Jun 6, 2019 at 4:42 PM Vipin Rathor wrote: > Hello Helene, > Could you please enable DEBUG log

[ANNOUNCE] Apache Ranger 1.0.0 released

2018-03-20 Thread Sailaja Polavarapu
. For more information on how to report problems, and to get involved, visit the project website at https://ranger.apache.org/ Thanks, Sailaja On 3/19/18, 10:13 AM, "Sailaja Polavarapu" <spolavar...@hortonworks.com> wrote: Hello Rangers: Thank you so much for your eff

Re: Ranger - Sync Users from Azure Active Directory

2018-02-22 Thread Sailaja Polavarapu
Hi Sirisha, Currently ranger requires any user with read privileges as the bind user (no need to have admin privileges for performing sync from LDAP/AD). Anonymous bind is not currently supported. Just curious, how are these users from Azure AD mapped to Hadoop? Thanks, Sailaja. From:

Re: LDAP integration, the users and groups are not populating in ranger admin tool

2017-12-18 Thread Sailaja Polavarapu
vanced tab ? Thanks in advance. On Tue, Dec 12, 2017 at 10:07 AM, Sailaja Polavarapu <spolavar...@hortonworks.com<mailto:spolavar...@hortonworks.com>> wrote: Hi Anand, Looks like some config issue. It will be more helpful to figure out the issue if you can share your config

Re: LDAP integration, the users and groups are not populating in ranger admin tool

2017-12-12 Thread Sailaja Polavarapu
Hi Anand, Looks like some config issue. It will be more helpful to figure out the issue if you can share your config and/or complete usersync logs. For reference, you can check this post on configuration for some common use cases.

Re: User sync service throws InvalidAttributeException.

2017-08-23 Thread Sailaja Polavarapu
Hi Arun, I see that “SYNC_LDAP_USER_SEARCH_SCOPE” is mis-configured. The accepted values are “one”, “base”, or “sub”. Default value is “sub” which includes searching all the child objects in the search tree. “SYNC_LDAP_USER_SEARCH_FILTER” can be set to “cn=*” which mainly says that get all the

Re: Need configuration Documentation for Ranger 7.1 and mysql

2017-08-17 Thread Sailaja Polavarapu
You can also take a look at the article below for more information - https://community.hortonworks.com/content/kbentry/105620/configuring-ranger-usersync-with-adldap-for-a-comm.html From: Sailaja Polavarapu <spolavar...@hortonworks.com> Reply-To: "user@ranger.apache.org" <use

Re: usersync and Ranger UI Login

2017-04-20 Thread Sailaja Polavarapu
erosAuthenticationHandler.java:339) - 'Authorization' does not start with 'Negotiate' : … WARN org.apache.hadoop.util.NativeCodeLoader (NativeCodeLoader.java:62) - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Thanks, Jon From: Sailaja Pola

Re: usersync and Ranger UI Login

2017-04-19 Thread Sailaja Polavarapu
g>> Subject: RE: usersync and Ranger UI Login And yes, Ambari. From: Jon Morisi Sent: Wednesday, April 19, 2017 4:55 PM To: user@ranger.apache.org<mailto:user@ranger.apache.org> Subject: RE: usersync and Ranger UI Login Sorry typo / misspoke. What I meant was ldap-utils. I am usi

Re: usersync and Ranger UI Login

2017-04-19 Thread Sailaja Polavarapu
Can you also check what is the value assigned to “ranger.ldap.ad.base.dn”? And is the user logging in using sAMAccountName? From: Jon Morisi > Reply-To: "user@ranger.apache.org"