Quote:
Originally Posted by rameshbolaram
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