authenticate with LDAP in cgi.cfg

Marc Winiger winiger at msys.ch
Thu Apr 21 16:11:09 CEST 2005


Jordi Vidal wrote:
> I'm using mod_authz_ldap in apache to grant access to /nagios/cgi-bin.
> Apache passes the user string in the ldap format, say
> "uid=jordivi,ou=people,dc=domain,dc=com". I've tried to set up "auth"
> variables in cgi.cfg with no luck

Use uid instead of DN...

httpd.conf:
AuthLDAPBindDN cn=XX,ou=XX,ou=XX,ou=XX,dc=XX,dc=XX
AuthLDAPBindPassword XXXXXXXX
AuthLDAPUrl 
ldap://XXX.XXX.ch/dc=XX,dc=XX?uid?sub?(&(objectClass=XXX)(enabledApplica
tion=nagios))




-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list