LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-17-2009, 08:51 AM   #1
chandramani_yadav
Member
 
Registered: Jan 2007
Location: Vienna
Distribution: Redhat
Posts: 47

Rep: Reputation: 19
Thumbs up 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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
My server came with apache and centos 5 installed but need help. shadiadiph Linux - Server 11 07-05-2009 09:25 PM
Apache Error 403 - CentOS 5.2 with Apache 2.2.3 gordymann Linux - Newbie 2 04-08-2009 08:57 AM
Centos 5 Apache error swhitehead Linux - Newbie 2 04-09-2008 01:10 PM
Permissions Apache and CentOS Mr. Slappy Linux - Server 1 07-09-2007 03:57 PM
Apache 2.0.54 rpm for CentOS Swakoo Linux - Software 4 05-14-2007 01:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration