[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

authentication challenge

From: Robert Fewster <Robertf_at_malibugroup.com>
Date: 2004-03-09 22:32:07 CET

Greetings all...

I am having trouble getting subversion to challenge the user to authenticate when performing any operations.

Subversion is running on plain vanilla binary install of FedoraCore 1.

I am running svnserve as the server and have created the conf file and user list as describe in the svnbook. (http://svnbook.red-bean.com/html-chunk/ch06s03.html)

I have done my client testing from both the SVN command line and with the TortoiseSVN client on Windows.

What I am expecting is to be challenged for a password whenever I attempt to access the repository.

I have tried a number of combinations but thus far I have not been challenged for any of the operations I request.

I am including the details of the svnserve.conf and user file along with the directory and process listings to assist in figuring out what I am missing.

<output>

[subversion@fedora-core subversion]$ ps -ax | grep svn
 3381 ? S 0:00 svnserve -d -r /home/subversion/repository
 4783 pts/6 S 0:00 grep svn

[subversion@fedora-core subversion]$ pwd
/home/subversion
[subversion@fedora-core subversion]$ ls -al ./*
-rwxrwxr-x 1 subversion subversion 56 Mar 5 20:01 ./startsvn

./repository:
total 36
drwxrwxr-x 7 subversion subversion 4096 Mar 8 16:55 .
drwx------ 7 subversion subversion 4096 Mar 9 13:20 ..
drwxrwxr-x 2 subversion subversion 4096 Mar 9 14:07 conf
drwxrwxr-x 2 subversion subversion 4096 Mar 5 18:53 dav
drwxrwxr-x 2 subversion subversion 4096 Mar 8 14:28 db
-rw-rw-r-- 1 subversion subversion 2 Mar 5 18:53 format
drwxrwxr-x 2 subversion subversion 4096 Mar 5 18:53 hooks
drwxrwxr-x 2 subversion subversion 4096 Mar 5 18:53 locks
-rw-rw-r-- 1 subversion subversion 376 Mar 5 18:53 README.txt

[subversion@fedora-core subversion]$ ls -al ./repository/conf
total 16
drwxrwxr-x 2 subversion subversion 4096 Mar 9 14:07 .
drwxrwxr-x 7 subversion subversion 4096 Mar 8 16:55 ..
-rw-rw-r-- 1 subversion subversion 194 Mar 8 17:19 svnserve.conf
-rw-rw-r-- 1 subversion subversion 40 Mar 8 17:16 svn-users

[subversion@fedora-core subversion]$ cat ./repository/conf/svnserve.conf
[general]
password-db = svn-users
realm = fedora-core realm
# anonymous users can only read the repository
anon-access = none
# authenticated users can both read and write
auth-access = write

[subversion@fedora-core subversion]$ cat ./repository/conf/svn-users
[users]
rkf = foopass
ritchie = barpass

--//--

<Here is the output of a test I did to confirm the problem is occuring>

[robert@fedora-core test-svn]$ svn --version
svn, version 0.32.1 (r7497)
   compiled Oct 24 2003, 07:27:20

[robert@fedora-core test-svn]$ pwd
/home/robert/test-svn
[robert_at_fedora-core test-svn]$ svn co svn://fedora-core/rkf/junk
A junk/UEDIT.WORDFILE.TXT
A junk/OracleSQL.txt
A junk/mySQL.txt
A junk/PHP+mySQL+HTML.txt
A junk/InterbaseSQL.txt
A junk/UltraEdit WordFiles.zip
A junk/xml.txt
Checked out revision 31.

[robert@fedora-core test-svn]$ ls -al junk/
total 552
drwxrwxr-x 3 robert robert 4096 Mar 9 14:21 .
drwxrwxr-x 3 robert robert 4096 Mar 9 14:21 ..
-rw-rw-r-- 1 robert robert 2342 Mar 9 14:21 InterbaseSQL.txt
-rw-rw-r-- 1 robert robert 2090 Mar 9 14:21 mySQL.txt
-rw-rw-r-- 1 robert robert 1595 Mar 9 14:21 OracleSQL.txt
-rw-rw-r-- 1 robert robert 17219 Mar 9 14:21 PHP+mySQL+HTML.txt
drwxrwxr-x 7 robert robert 4096 Mar 9 14:21 .svn
-rw-rw-r-- 1 robert robert 42109 Mar 9 14:21 UEDIT.WORDFILE.TXT
-rw-rw-r-- 1 robert robert 451124 Mar 9 14:21 UltraEdit WordFiles.zip
-rw-rw-r-- 1 robert robert 14917 Mar 9 14:23 xml.txt <---- [MODIFIED]

[robert@fedora-core test-svn]$ svn ci -m"foo comment" junk/xml.txt
Sending junk/xml.txt
Transmitting file data .
Committed revision 32.
[robert@fedora-core test-svn]$

</output>

Any and all feedback is greatly appreciated.

Regards,

RKF

----------------------------------------------
() ASCII RIBBON CAMPAIGN
/\ AGAINST HTML EMAIL & VCARDS
----------------------------------------------
 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 9 22:32:48 2004

This is an archived mail posted to the Subversion Users mailing list.