User Tools

Site Tools


ldap_integration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ldap_integration [2010/05/22 14:19] – external edit 127.0.0.1ldap_integration [2012/02/06 08:43] (current) – [Apache Authentication] aorth
Line 10: Line 10:
  
 ===== Notes ===== ===== Notes =====
- 
 ===== Apache Authentication ===== ===== Apache Authentication =====
 It's possible to use Basic authentication via Active Directory in web applications. It's possible to use Basic authentication via Active Directory in web applications.
  
-Make sure Apache has mod_perl installed and working first, then install the required AD Auth package and any dependencies it has using CPAN:+Make sure Apache has ''mod_perl'' installed and working first
 +<code># apt-get install libapache2-mod-perl2 libapache2-mod-perl2-dev 
 +# a2enmod perl 
 +# apache2ctl graceful</code> 
 + 
 +Install the required perl dependencies for Apache and LDAP: 
 +<code># apt-get install libauthen-simple-ldap-perl</code> 
 + 
 +Install the required AD Auth package and any dependencies it has using CPAN:
 <code>$ sudo cpan <code>$ sudo cpan
 > install Apache2::AuthenMSAD</code> > install Apache2::AuthenMSAD</code>
Line 28: Line 35:
  
    #require valid-user    #require valid-user
-   require user aorth akihara jmagochi</file>+   require user aorth akihara</file>
  
 That stanza can go in a VirtualHost, a Directory, a Location, etc... restart Apache and you're golden.  That stanza can go in a VirtualHost, a Directory, a Location, etc... restart Apache and you're golden. 
 +
 ==== Likewise-Open ==== ==== Likewise-Open ====
 Open source standalone implementation of Samba, OpenLDAP, Kerberos, etc for Active Directory integration: http://www.likewise.com/ Open source standalone implementation of Samba, OpenLDAP, Kerberos, etc for Active Directory integration: http://www.likewise.com/
ldap_integration.1274537972.txt.gz · Last modified: 2010/08/31 19:25 (external edit)