The mod_authz_user shared object was already enabled in my configuration.
Still looking for an answer.
Thanks

-----Original Message-----
From: Cooke, Mark [mailto:mark.co...@siemens.com] 
Sent: Thursday, September 06, 2012 11:44 AM
To: Anastasio, David M CTR USAF AFMC AFLCMC/HNID;
users@subversion.apache.org
Subject: RE: Question about Basic Authentication

[Note: please post in plain text if at all possible!]

> -----Original Message-----
> From: Anastasio, David M CTR USAF AFMC AFLCMC/HNID 
> [mailto:david.anastasio....@hanscom.af.mil] 
> Sent: 06 September 2012 16:26
> To: users@subversion.apache.org
> Subject: Question about Basic Authentication
> 
> Hello,
> 
> System Configuration:
> 
> Windows Server 2003
> Apache Subversion 1.7.6
> TortoiseSVN 1.7.9
> HTTP Server 2.2.22
> 
> I am trying to configure Subversion with Basic Authentication 
> but the error log indicates the user cannot be found which 
> tells me the passwd file is not being seen.
> 
> In this example the top level directory of the Repository is 
> C:\svnrepos\test1.
> 
> IP has been masked for security purposes.
> 
> Should the passwd file reside elsewhere? Perhaps relative to 
> the ServerRoot? 
> 
> LoadModules:  - The "mod_auth_basic.so" load module is 
> enabled in httpd.conf
> 
> LoadModule auth_basic_module  modules/mod_auth_basic.so

Just in case... Something that caught me when I started with apache is that
the `require valid_user` directive is provided by `mod_authz_user` and I had
disabled that as I thought I wasn't using it with basic etc.  It took quite
a bit of to-ing and fro-ing through the apache docs [1] before I got it
right...

[1] http://httpd.apache.org/docs/2.2/mod/mod_authz_user.html

~ mark c

> Fragment of httpd.conf <Location> directive (it references 
> full path to the passwd file...)
> 
> <Location /svn/>
> DAV svn
> SVNParentPath c:/svnrepos
> AuthType Basic
> AuthName "Subversion repositories"
> AuthUserFile C:/svnrepos/test1/conf/passwd
> Require valid-user
> </Location>
> 
> Fragment from access log:
> 
> xxx..xx.x.xx  - "" [06/Sep/2012:15:38:37 +0100] "OPTIONS 
> /svn/test1 HTTP/1.1" 401 401
> 
> xxx..xx.x.xx  - "" [06/Sep/2012:15:38:37 +0100] "OPTIONS 
> /svn/test1 HTTP/1.1" 401 401
> 
> Fragment from error log:
> 
> Thu Sep 06 15:30:48 2012] [error] [client xxx..xx.x.xx] user 
> jimmy not found: /svn/test1
> 
> URL from within the TortoiseSVN GUI (on the local machine):
> 
> http://<local_host_name>/svn/test1
> 
> David Anastasio
> Jacobs Technology 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to