LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-12-2017, 02:20 PM   #1
rameshbolaram
LQ Newbie
 
Registered: Nov 2014
Posts: 2

Rep: Reputation: Disabled
httpd - group based NTLM Authentication


need help on how to do group based NTLM Authentication or provide access to specific LDAP user

on selecting "Require valid-user" all users are getting access need to restrict this to group or specific user


LoadModule auth_ntlm_winbind_module modules/mod_auth_ntlm_winbind.so


<Directory "/var/www/html">

Options ExecCGI

AllowOverride None

Order allow,deny

Allow from all

AuthName "NTLM Authentication"

AuthType NTLM

Require valid-user

NTLMAuth on

NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"

NTLMBasicAuthoritative on

RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]

</Directory>
 
Old 02-12-2017, 02:38 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,695

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by rameshbolaram View Post
need help on how to do group based NTLM Authentication or provide access to specific LDAP user on selecting "Require valid-user" all users are getting access need to restrict this to group or specific user
Code:
LoadModule auth_ntlm_winbind_module modules/mod_auth_ntlm_winbind.so
<Directory "/var/www/html">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "NTLM Authentication"
AuthType NTLM
Require valid-user
NTLMAuth on
NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"
NTLMBasicAuthoritative on

    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
    RewriteRule .* - [F]

</Directory>
Read the "Question Guidelines" link in my posting signature. We're happy to try to help, but you've not given us ANY details that would let us help you. We don't know anything about the version/distro of Linux, what kind of LDAP server, what you've done/tried, any of the how-tos you've followed, webserver/proxy server, or even what results you get using what you posted.

Just saying "need help, here's a piece of my configuration file", doesn't give us much to go on. Putting "how to do group based ntlm authentication with apache" into Google yields lots, but we don't know what you've done/tried from doing that.
http://modntlm.sourceforge.net/
https://github.com/YvesR/mod_authn_ntlm
 
  


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
LDAP: restrict users to certain applications only (group based authentication) geopcgeo Linux - General 1 05-27-2013 06:58 PM
Linux authentication with LDAP - select user's shell based on group membership slinx Linux - Software 4 08-02-2011 07:50 PM
Squid and NTLM authentication jean-luch Linux - Server 0 08-06-2007 03:42 AM
NTLM authentication. TheRealDeal Linux - Networking 4 10-12-2006 07:36 PM
Squid and NTLM Authentication codedv Linux - Networking 5 07-16-2006 03:46 AM

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

All times are GMT -5. The time now is 09:54 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