LDAP Authentication

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
fmunoz
Posts: 8
Joined: Mon Sep 16, 2019 9:28 am

LDAP Authentication

Post by fmunoz »

Hi everyone!

I need some help with an implementation of ldap authentication in my nagios server.

I can not implement that because i did not find any example or tutorial that help me easily.

If you have a tutorial or example that i can follow to get that, i will be so gratefull.

Thank you for your answer and your time.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: LDAP Authentication

Post by scottwilkerson »

Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
fmunoz
Posts: 8
Joined: Mon Sep 16, 2019 9:28 am

Re: LDAP Authentication

Post by fmunoz »

Thank you for your answer.

I have already that example, but i dont understand what mean "contoso", "DN", "DC".. all of these words.. what muss I insert?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: LDAP Authentication

Post by scottwilkerson »

fmunoz wrote:Thank you for your answer.

I have already that example, but i dont understand what mean "contoso", "DN", "DC".. all of these words.. what muss I insert?
You would enter the DN and DC for your LDAP server, you should be able to get this information from your LDAP administrator
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
fmunoz
Posts: 8
Joined: Mon Sep 16, 2019 9:28 am

Re: LDAP Authentication

Post by fmunoz »

scottwilkerson wrote:
fmunoz wrote:Thank you for your answer.

I have already that example, but i dont understand what mean "contoso", "DN", "DC".. all of these words.. what muss I insert?
You would enter the DN and DC for your LDAP server, you should be able to get this information from your LDAP administrator
Thank you for your answer scott!

But i need to know what mean DN and DC.. So I can get that from my LDAP server and set it in my nagios server
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: LDAP Authentication

Post by scottwilkerson »

DN = Distinguished Name
OU = Organizational Unit
DC = Domain Component
CN = Common Name


https://en.wikipedia.org/wiki/LDAP_Data ... nge_Format
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
fmunoz
Posts: 8
Joined: Mon Sep 16, 2019 9:28 am

Re: LDAP Authentication

Post by fmunoz »

scottwilkerson wrote:DN = Distinguished Name
OU = Organizational Unit
DC = Domain Component
CN = Common Name


https://en.wikipedia.org/wiki/LDAP_Data ... nge_Format
Thank you so much for your fast answer!

I will try with that now!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: LDAP Authentication

Post by scottwilkerson »

fmunoz wrote:
scottwilkerson wrote:DN = Distinguished Name
OU = Organizational Unit
DC = Domain Component
CN = Common Name


https://en.wikipedia.org/wiki/LDAP_Data ... nge_Format
Thank you so much for your fast answer!

I will try with that now!
sounds good
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
fmunoz
Posts: 8
Joined: Mon Sep 16, 2019 9:28 am

Re: LDAP Authentication

Post by fmunoz »

Hi!

I made it work!

But i still can not use my AD users to log in! It found only with Administrator account.. is it ok? o there is another way to made it work with the users of the AD?

Thank you for yours answers
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: LDAP Authentication

Post by ssax »

Please PM me ALL your httpd.conf and related Apache conf files (that you changed) so that I can investigate your current settings.

What distro/OS?

Code: Select all

uname -a
cat /etc/*release
Locked