MSUNAG Archives

MSUNAG Archives


View:

Next Message | Previous Message
Next in Topic | Previous in Topic
Next by Same Author | Previous by Same Author
Chronologically | Most Recent First
Proportional Font | Monospaced Font

Options:

Join or Leave MSUNAG
Reply | Post New Message
Search Archives


Subject: Apache2 AD authentication
From: "Weston, Eric" <[log in to unmask]>
Reply-To:Weston, Eric
Date:Mon, 26 Jan 2009 15:18:44 -0500
Content-Type:text/plain
Parts/Attachments:
Parts/Attachments

text/plain (29 lines)


I've gotten it to work, I successfully have apache authenticating against our Active Directory. For those interested, here's what the Apache code looks like (with the sensitive stuff xed out):

        <Directory />
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
                AuthType Basic
                AuthName "Secure Area"
                AuthzLDAPAuthoritative On
                AuthBasicProvider ldap
                AuthLDAPURL ldap://xxxxxxx.lib.msu.edu:389/ou=staff,dc=lib,dc=msu,dc=edu?sAMAccountName?sub?(objectClass=user)
                AuthLDAPBindDN [log in to unmask]
                AuthLDAPBindPassword xxxxxxxxx
                require valid-user
        </Directory>

Again, this is a linux server, Ubuntu 8.10 with Apache2 version 2.2.9  

BTW, there is a nice program called likewise-open that makes it easy to join an Ubuntu server to an AD Domain; to install it:

sudo apt-get install likewise-open

           Cheers,
                  Eric Weston
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Eric Weston, Information Technology Professional
MSU Libraries Systems
(517)432-6123 x229

Back to: Top of Message | Previous Page | Main MSUNAG Page

Permalink



LIST.MSU.EDU

CataList Email List Search Powered by the LISTSERV Email List Manager