Hi Chris,
the following Apache 2.x config works for me with OpenLDAP,
you may have to tune it a bit to get it working with AD.
-------------------/etc/httpd/conf.d/authz_ldap.conf
LoadModule authz_ldap_module modules/mod_authz_ldap.so
#
SSLRequireSSL
AuthName AuthzLDAP
AuthType Basic
AuthzLDAPMethod ldap
AuthzLDAPServer "YORHOST.EXAMPLE.COM"
AuthzLDAPUserKey uid
AuthzLDAPUserBase ou=People,dc=EXAMPLE,dc=COM
AuthzLDAPUserScope base
AuthzLDAPAuthoritative on
AuthzLDAPLogLevel debug
# Only if you want have both file + LDAP
#AuthBasicProvider file
#AuthUserFile /etc/httpd/htpasswd
#AuthGroupFile /etc/httpd/htgroup
require valid-user
---------------------------------------------------------------------------------------------------
Regards,
Badri
CHRIS TSENG (ULI-HK) wrote:
> Hello all,
>
> Is there a way to login Nagios web site through Active Directory LDAP way?
>
> Would you provide some examples on it?
>
> Many thanks,
>
> Chris
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php? ... =100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]