| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <20031126070650.8450.qmail@web40108.mail.yahoo.com> |
| Date: | Wed, 26 Nov 2003 18:06:50 +1100 (EST) |
| From: | =?iso-8859-1?q?Paul=20Jansen?= <vlaero AT yahoo DOT com DOT au> |
| Subject: | help with mod_auth_ntsec apache module |
| To: | cygwin AT cygwin DOT com |
| MIME-Version: | 1.0 |
Hello,
I've done a fair bit of searching using google to find
smoe examples of how to use this module but I haven't
come up with anything that has helped me get things
fully working yet.
As per the included mod_auth_ntsec-1.7-1.README I have
added the following lines where appropriate into my
httpd.conf file:
LoadModule ntsec_auth_module
ib/apache/mod_auth_ntsec.dll
AddModule mod_auth_ntsec.c
The http server will start without complaining.
I've created the following directory and put this
alias into httpd.conf
Alias /stuff/ "/var/www/htdocs/stuff/"
<Directory "/var/www/htdocs/stuff">
Options Indexes FollowSymlinks MultiViews
AllowOverride None
AuthName "secure area"
AuthType Basic
Auth_ntsec On
Auth_ntsec_Authorative On
Require valid_user
Order allow,deny
Allow from all
</Directory>
Putting the following into my local browser:
http://localhost/stuff/
brings up and authentication dialog. I enter my
username and password but the dialog box comes back up
indicating that I should try again.
A quick check of the error_log shows this:
[Wed Nov 26 17:26:40 2003] [error] [client 127.0.0.1]
user myusername: authentication failure for "/stuff/"
I have made sure that the username is present in
/etc/passwd.
I've tried running the webserver as an unprivileged
user and as the administrator account but the results
are the same. I'm using Windows 2000 SP4.
Here's the result of the 'uname --all' command.
CYGWIN_NT-5.0 COMPUTERNAME 1.5.5(0.94/3/2) 2003-09-20
16:31 i686 unknown unknown Cygwin
Can anyone suggest what might be wrong? Is there a
way to enable some more debugging?
Thanks in advance.
Paul
http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |