It's really confused when you trying to get the Apache works with the AD LDAP, there are bunch of article mentioned lots of different module under the different distribution version, below are some links for your reference:
- http://acksyn.org/diary/?p=227
- http://archangel.thenibble.org/tag/authnz_ldap/
- http://www.jejik.com/articles/2007/06/apache_and_subversion_authentication_with_microsoft_active_directory/
- http://adam.shand.net/iki/2006/apache_and_active_directory/
- http://www.extmail.org/forum/thread-12794-1-1.html
- http://blog.csdn.net/bamboo_ding/archive/2009/06/19/4283259.aspx
- http://nerrsoft.com/877.html
All above link hasn't told you is which module you should use under your distribution system and which config file you should edit. Below is a quick glance of how I make it works under the Debian version.
- It's named as libapache2-mod-ldap-userdir,
sudo apt-get install libapache2-mod-ldap-userdir - Enable this module by "a2enmod"
sudo a2enmod authnz_ldap - The authnz_ldap config file could be under /etc/apache2/sites-available/default or any other virtual host.
- The config should be like this:
Then restart apache and now you may login with your AD account under the apache program.
0 评论:
Post a Comment