LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   mod_auth_winbind for apache in centos. (https://www.linuxquestions.org/questions/linux-server-73/mod_auth_winbind-for-apache-in-centos-748125/)

chandramani_yadav 08-17-2009 08:51 AM

mod_auth_winbind for apache in centos.
 
Hi,

I resolved this issue and wanted to share with you all.I wanted to install a apache server with NTLM support and i had 3 options.

1. mod NTLM ( Old and obsolete)
2. mod_apacheauthentlm (didn't work in my application)
3. mod_auth_winbind ( I used CENTOS)

I perefered third option. you need to do the following steps for this work.

1. install httpd httpd-devel(Required for mod_auth_winbind Compilation.)
2. kerberos and samba
3. configure kerbero and samba.
4. add system to windows doamin.

follow this link for these steps

http://linuxpower.ismywebsite.com/we...in-apache.html


Downloading and installing the mod_auth_winbind
================================================

1. Download using ftp from ftp://ftp.samba.org/pub/unpacked/lor..._ntlm_winbind/
2. cd mod_auth_ntlm_winbind
3. autconf
4. make
5 make install

6. add the following line to apache's httpd.conf

LoadModule auth_ntlm_winbind_module /usr/lib/apache2/modules/mod_auth_ntlm_winbind.so


Add the following to directory which needs NTLM AUTH

<Directory "/var/www/auth">
AuthName "NTLM Authentication thingy"
NTLMAuth on
NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"
NTLMBasicAuthoritative on
AuthType NTLM
require valid-user
</Directory>

enjoy


All times are GMT -5. The time now is 08:05 AM.