Single A.D. Login

"D. Wüthrich" d.wuethrich.h at gmx.net
Mon Oct 20 09:25:46 CEST 2008


Hi Chris

This works for us (group-based authentication):

=====================================
                LDAPSharedCacheSize 200000
                LDAPCacheEntries 1024
                LDAPCacheTTL 600
                LDAPOpCacheEntries 1024
                LDAPOpCacheTTL 600

                <Location />
                        # ldap configuration

                        # Do basic password authentication in the clear
                        AuthType Basic
                        AuthLDAPEnabled on

                        # The name of the protected area or "realm"
                        AuthName "some description for login prompt"

                        # LDAP Authentication & Authorization is final; do not check other databases
                        #AuthLDAPAuthoritative on
                        #AuthzLDAPAuthoritative on

                        # Active Directory requires an authenticating DN to access records
                        AuthLDAPBindDN xxxxx at domain.com

                        # This is the password for the AuthLDAPBindDN user in Active Directory
                        AuthLDAPBindPassword xxxxxxx

                        # The LDAP query URL
                        AuthLDAPURL "ldap://<domain-controller>:389/OU=xxx,DC=xxx,DC=yyy,DC=zzz,DC=com?sAMAccountName?sub?(objectClass=user)"

                        # require special attributes
                        #require ldap-attribute objectClass=user

                        # require user or group
                        #require valid-user
                        require group CN=xxx,OU=yyy,OU=zzz,...,DC=xxx,DC=yyy,DC=zzz,DC=com
                </Location>

=====================================

daniel


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?banner_id=100&url=/




More information about the Developers mailing list