Florence Blanc-Renaud via FreeIPA-users wrote:
On 4/4/19 2:11 PM, Abdul Wahab via FreeIPA-users wrote:
> Dear Rob
>
> Trust you are well. Thanks for your reply.
>
> As I explained I am trying to configure LibreeNMS via freeIPA and
> having below error.
>
> When I run below command from LibreeNMS.
>
> ldapsearch -h aaa01.rain.network -D
> uid=abdul,cn=sysaccounts,cn=etc,dc=rain,dc=network -x uid=abdul-W
>
> I get below output which does not look correct.
>
> root@abdulwpk:~# ldapsearch -h aaa01.rain.network -D
> uid=abdul,cn=users,cn=accounts,dc=rain,dc=network -x uid=abdul -W
Hi,
in the above search, there is no search base. By default, ldapsearch
will take the BASE defined in /etc/openldap/ldap.conf or in the user's
ldap.conf (please see man ldap.conf(5)). In your case, it looks like the
null dn is used (base <> in the output).
You can try to specify a search base with -b.
On an IPA-enrolled machine the default base is set in ldap.conf.
I think the problem si you are comparing apples and oranges. The DN's
you mention do not match. One is in cn=sysaccounts and one is in cn=users.
Does the IPA user abdul exist? ipa user-show abdul.
rob