You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ranger.apache.org by Marc Hoppins <ma...@eset.com> on 2024/06/26 08:47:39 UTC

Usersync ... again

Hullo all,

I have confirmed from the LDAP (Windows) folk that, although ldapsearch queries are set out as (with no port specified) :

ldapsearch -H ldaps://host

The port is 636 by default.  If I run ldapsearch with the port included, the search fails.

Ranger usersync install.properties, enforces the port (I have tried setup without specifying the port) or it will fail.  Because of this, /etc/ranger/usersync/conf/ranger-ugsync-site.xml also has the port.

Could this be a problem?  I have no errors but also no users or groups in Ranger admin.

Marc

Re: Usersync ... again

Posted by Bhavik Patel <bh...@gmail.com>.
Can you share your ugsync-site*.XML file?

Thanks
Bhavik Patel
+91-7208744109

On Fri, 2 Aug 2024, 5:36 pm Marc Hoppins, <ma...@eset.com> wrote:

> Hi, Bhavik,
>
>
>
> The certificates are fine. If I run a LDAP query from CLI I get results.
>
>
>
>
>
>
>
> *From:* Bhavik Patel <bh...@gmail.com>
> *Sent:* Friday, August 2, 2024 1:23 PM
> *To:* user@ranger.apache.org
> *Subject:* Re: Usersync ... again
>
>
>
> EXTERNAL
>
> Hi Marc,
>
>
>
>
>
> I hope you have correctly configured the SSL certificate to connect ldap
> server.
>
>
>
> Try to enable to debug log level from logback.xml file and check if you
> get any led from that.
>
>
>
>
>
> Thanks,
>
> Bhavik Patel
>
> +91-7208744109
>
>
>
>
>
> On Wed, 26 Jun 2024, 2:18 pm Marc Hoppins, <ma...@eset.com> wrote:
>
> Hullo all,
>
>
>
> I have confirmed from the LDAP (Windows) folk that, although ldapsearch
> queries are set out as (with no port specified) :
>
>
>
> ldapsearch -H ldaps://host
>
>
>
> The port is 636 by default.  If I run ldapsearch with the port included,
> the search fails.
>
>
>
> Ranger usersync install.properties, enforces the port (I have tried setup
> without specifying the port) or it will fail.  Because of this,
> /etc/ranger/usersync/conf/ranger-ugsync-site.xml also has the port.
>
>
>
> Could this be a problem?  I have no errors but also no users or groups in
> Ranger admin.
>
>
>
> Marc
>
>

RE: Usersync ... again

Posted by Marc Hoppins <ma...@eset.com>.
Hi, Bhavik,

The certificates are fine. If I run a LDAP query from CLI I get results.



From: Bhavik Patel <bh...@gmail.com>
Sent: Friday, August 2, 2024 1:23 PM
To: user@ranger.apache.org
Subject: Re: Usersync ... again

EXTERNAL
Hi Marc,


I hope you have correctly configured the SSL certificate to connect ldap server.

Try to enable to debug log level from logback.xml file and check if you get any led from that.


Thanks,
Bhavik Patel
+91-7208744109


On Wed, 26 Jun 2024, 2:18 pm Marc Hoppins, <ma...@eset.com>> wrote:
Hullo all,

I have confirmed from the LDAP (Windows) folk that, although ldapsearch queries are set out as (with no port specified) :

ldapsearch -H ldaps://host

The port is 636 by default.  If I run ldapsearch with the port included, the search fails.

Ranger usersync install.properties, enforces the port (I have tried setup without specifying the port) or it will fail.  Because of this, /etc/ranger/usersync/conf/ranger-ugsync-site.xml also has the port.

Could this be a problem?  I have no errors but also no users or groups in Ranger admin.

Marc

Re: Usersync ... again

Posted by Bhavik Patel <bh...@gmail.com>.
Hi Marc,


I hope you have correctly configured the SSL certificate to connect ldap
server.

Try to enable to debug log level from logback.xml file and check if you get
any led from that.


Thanks,
Bhavik Patel
+91-7208744109



On Wed, 26 Jun 2024, 2:18 pm Marc Hoppins, <ma...@eset.com> wrote:

> Hullo all,
>
>
>
> I have confirmed from the LDAP (Windows) folk that, although ldapsearch
> queries are set out as (with no port specified) :
>
>
>
> ldapsearch -H ldaps://host
>
>
>
> The port is 636 by default.  If I run ldapsearch with the port included,
> the search fails.
>
>
>
> Ranger usersync install.properties, enforces the port (I have tried setup
> without specifying the port) or it will fail.  Because of this,
> /etc/ranger/usersync/conf/ranger-ugsync-site.xml also has the port.
>
>
>
> Could this be a problem?  I have no errors but also no users or groups in
> Ranger admin.
>
>
>
> Marc
>