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

Re: authorization failed

From: Clodoaldo Pinto Neto <clodoaldo.pinto.neto_at_gmail.com>
Date: Sat, 25 Jul 2009 12:18:46 -0300

2009/7/23 Clodoaldo Pinto Neto <clodoaldo.pinto.neto_at_gmail.com>:
> I'm trying to setup subversion + apache + ssl + digest authentication
> in Centos 5.
>
> I can visit the browser page at https://repo.example.com/. It asks for
> the credentials and shows the page:
>
> Revision 0: /
>
> Powered by Subversion version 1.4.2 (r22196).
>
> But I can't import a directory into the repository:
>
> $ svn import /html/example.com https://repo.example.com/example.com
>
> Log message unchanged or not specified
> (a)bort, (c)ontinue, (e)dit :
> c
> Authentication realm: <https://repo.example.com:443> repo.example
> Password for 'my_user':
> Authentication realm: <https://repo.example.com:443> repo.example
> Username: my_user
> Password for 'my_user':
> Authentication realm: <https://repo.example.com:443> repo.example
> Username: my_user
> Password for 'my_user':
> svn: OPTIONS of 'https://repo.example.com/example.com': authorization
> failed (https://repo.example.com)
>
> My virtual host config:
>
> <VirtualHost 1.2.3.4:443>
>    ServerName repo.example.com:443
>    ServerAdmin admin_at_example.com
>    SSLCertificateFile /etc/pki/tls/certs/ck.example.com.crt
>    SSLCertificateKeyFile /etc/pki/tls/private/ck.example.com.key
>    SSLEngine on
>    SSLProtocol all -SSLv2
>    SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
>    DocumentRoot /home/repo.example
>    ErrorLog logs/repo.example-error_log
>    CustomLog logs/repo.example-access_log combined
>    Options -Indexes
>    <Directory /home/repo.example>
>        SSLRequireSSL
>        SVNPath /home/repo.example
>        DAV svn
>        AuthType Digest
>        AuthName "repo.example"
>        AuthUserFile /var/www/passwd/repo.example.txt
>        AuthDigestDomain /home/repo.example
>        Require user my_user
>        Order Allow,Deny
>        Allow from all
>    </Directory>
> </VirtualHost>
>

Fedora 11 has the 1.5.4 version. When using an older Fedora client
with version 1.4.4 which is the same major version as the one in the
Centos server (1.4.2) it works. The older Fedora is in the same
intranet as the newer F11. The Centos server is out in the wild.

So would it be a client/server version mismatch issue or just a coincidence?

Clodoaldo

> Any ideas?
>
> Regards, Clodoaldo
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2375550

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-25 17:19:57 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.