LDAP 52e error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tonkaUser
Posts: 54
Joined: Tue Nov 28, 2017 10:27 am

LDAP 52e error

Post by tonkaUser »

Hi,

We are using pre-installed Nagiox XI (.ova). I see the below error when we tried to use LDAP for auth (no security enabled for testing).
Under Nagios Admin Web page, I see the green checkpoint next to our ldap.xyz.local

LDAP server has no security set. We use base DN: DC=xyz,DC=local

The user is configured with DN: CN=first.last,OU=NY,DC=xyz,DC=local. What could be wrong?

Thanks


Below are errors from /var/log/httpd/error_log:

* host: ldap.xyz.local port: 389 (default)
refcnt: 2 status: Connected
last used: Tue Nov 28 11:16:58 2017


** ld 0x7fe8767ac350 Outstanding Requests:
* msgid 1, origid 1, status InProgress
outstanding referrals 0, parent count 0
ld 0x7fe8767ac350 request count 1 (abandoned 0)
** ld 0x7fe8767ac350 Response Queue:
Empty
ld 0x7fe8767ac350 response count 0
ldap_chkResponseList ld 0x7fe8767ac350 msgid 1 all 1
ldap_chkResponseList returns ld 0x7fe8767ac350 NULL
ldap_int_select
read1msg: ld 0x7fe8767ac350 msgid 1 all 1
read1msg: ld 0x7fe8767ac350 msgid 1 message type bind
read1msg: ld 0x7fe8767ac350 0 new referrals
read1msg: mark request completed, ld 0x7fe8767ac350 msgid 1
request done: ld 0x7fe8767ac350 msgid 1
res_errno: 49, res_error: <80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1>, res_matched: <>
ldap_free_request (origid 1, msgid 1)
ldap_parse_result
ldap_msgfree
ldap_err2string
ldap_free_connection 1 1
ldap_send_unbind
ldap_free_connection: actually freed
kyang

Re: LDAP 52e error

Post by kyang »

Are you using the correct credentials when authenticating?

Is this for Active Directory, OpenLDAP or something else?

Just to be sure, this is when you are importing a user? Or have you done so already?

Are you following this documentation?

https://assets.nagios.com/downloads/nag ... ios-XI.pdf
tonkaUser
Posts: 54
Joined: Tue Nov 28, 2017 10:27 am

Re: LDAP 52e error

Post by tonkaUser »

This is for LDAP. I created a user locally in Nagios. Then added LDAP (green check point, so connection is ok). Then changed the user to use LDAP for auth.
I am not a domain admin, so cannot run import users.
tonkaUser
Posts: 54
Joined: Tue Nov 28, 2017 10:27 am

Re: LDAP 52e error

Post by tonkaUser »

We switched to using AD with SSL and all works fine. Case closed.
kyang

Re: LDAP 52e error

Post by kyang »

Sounds good! I'll be closing this thread!

If you have any more questions, feel free to create another thread.

Thanks for using the Nagios Support Forum!
Locked