From users-return-6651-daniel=haxx.se@subversion.apache.org Wed Dec 22 02:12:50 2010 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on giant.haxx.se X-Spam-Level: * X-Spam-Status: No, score=1.3 required=3.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,NORMAL_HTTP_TO_IP,T_DKIM_INVALID,T_RP_MATCHES_RCVD autolearn=no version=3.3.1 Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by giant.haxx.se (8.14.3/8.14.3/Debian-9.1) with SMTP id oBM1CnDL021096 for ; Wed, 22 Dec 2010 02:12:50 +0100 Received: (qmail 20068 invoked by uid 500); 22 Dec 2010 01:12:39 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 20061 invoked by uid 99); 22 Dec 2010 01:12:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Dec 2010 01:12:39 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS Received-SPF: pass (athena.apache.org: domain of ddxie.cn@gmail.com designates 74.125.83.45 as permitted sender) Received: from [74.125.83.45] (HELO mail-gw0-f45.google.com) (74.125.83.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Dec 2010 01:12:34 +0000 Received: by gwj23 with SMTP id 23so3163684gwj.18 for ; Tue, 21 Dec 2010 17:12:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=l0jTC/bTGPHCDYJZgonpcomq0H42P1zhY4ZAs7zzEY0=; b=kLLIpOwlnp/JPiRQX0n+VHmPtNej4OILKsMurgAcTx0tpINwiewlTA2xgkwdj2fvyT xGi8HQbAaWXpgwqR6z5v8G42cmrDgHc0nr+laxCmSTEe/cYsqq7OeYhEiZhpmawHJl2Y t+NbE11YRVsQr6X33elKFBQKrPLzPkGc4/Jyk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rIao3cIZgZIWpdVzzyIia1rlHR2KkCm+jsCkWqyTAizwZG7Xd0qiq0NqBqU2htYE6b 6sYliw9kScSGgNeZkLrK/i4lABYLnQjX3CQDYRm6okNJRPdol74l7Li+kNUD9KK8p3sy /BNSx3dGtYVIXEuOiPfVr4mleBMrvNcNOnT0w= MIME-Version: 1.0 Received: by 10.150.145.4 with SMTP id s4mr9561103ybd.10.1292980333596; Tue, 21 Dec 2010 17:12:13 -0800 (PST) Received: by 10.151.99.11 with HTTP; Tue, 21 Dec 2010 17:12:13 -0800 (PST) In-Reply-To: <20101221091751.GA11619@jack.stsp.name> References: <4bdb485b-a349-40d3-9652-f50296113619@f21g2000prn.googlegroups.com> <20101220104344.GG26106@jack.stsp.name> <20101221091751.GA11619@jack.stsp.name> Date: Wed, 22 Dec 2010 09:12:13 +0800 Message-ID: Subject: Re: A problem trying to use svn:// and http:// for a same repository at the same time From: David Xie To: Stefan Sperling Cc: users@subversion.apache.org Content-Type: multipart/alternative; boundary=000e0cd47e167c523f0497f571c5 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.3.5 (giant.haxx.se [80.67.6.50]); Wed, 22 Dec 2010 02:12:50 +0100 (CET) X-Friend: Nope --000e0cd47e167c523f0497f571c5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks Stefan. Wow, it really works when disable authz. This means I could access to svn:/= / 172.18.127.148/test (read and write) and successfully to view log history. Hard to believe! #authz-db =3D authz And the logs are showed correctly without authz. What's wrong? What should I do to make authz and log history both work? Regards, David On Tue, Dec 21, 2010 at 5:17 PM, Stefan Sperling wrote: > On Tue, Dec 21, 2010 at 04:25:55PM +0800, =E8=B0=A2=E5=B8=A6=E8=BE=BE wr= ote: > > Thank you Stefan. > > > > I start svnserve this way: > > > > /local/svnroot/repository/one/conf/svnserve.conf > > [general] > > anon-access =3D > > auth-access =3D write > > password-db =3D passwd > > authz-db =3D authz > > /local/svnroot/repository/one/conf/authz > > [/] > > test =3D rw > > * =3D > > > > /local/svnroot/repository/one/conf/passwd > > [users] > > test =3D test > > > > And then I start svnserve with root account: > > /local/svnroot/subversion/bin/svnserve -d --listen-host 172.18.127.148 > > --root /local/svnroot/repository > > > > Yes I could connet to : > > svn://172.18.127.148/test > > svn://172.18.127.148/one > > > > The problem is that it show "Item is not readble" when I try to show lo= g > via > > TSVN. > > The only difference between Repository one and Repository test is that > the > > former is created with --pre-1.5-compatible but the latter not. > > 3 snaps are attached for your reference. > > I think this means that something is wrong with your authz configuration. > Can you try to disable authz to see if it works without? > > Stefan > --000e0cd47e167c523f0497f571c5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Stefan.
=C2=A0
Wow, it really works when disable authz. This means I could access to = svn://172.18.127.148/test (read = and write) and successfully to view log history.=C2=A0Hard to believe!
#authz-db =3D authz
=C2=A0
And the logs are showed correctly without authz.
=C2=A0
What's wrong? What should I do to make authz and log history=C2=A0= both work?
=C2=A0
Regards,
David
=C2=A0
On Tue, Dec 21, 2010 at 5:17 PM, Stefan Sperling= <stsp@elego.de&g= t; wrote:
On Tue, Dec 21, 2010 at 04:25:55PM +0800, =E8=B0=A2=E5=B8= =A6=E8=BE=BE wrote:
> Thank you Stefan.
>
> I start svnse= rve this way:
>
> /local/svnroot/repository/one/conf/svnserve.c= onf
> [general]
> anon-access =3D
> auth-access =3D write
> password-db =3D = passwd
> authz-db =3D authz
> /local/svnroot/repository/one/con= f/authz
> [/]
> test =3D rw
> * =3D
>
> /loca= l/svnroot/repository/one/conf/passwd
> [users]
> test =3D test
>
> And then I start svnserv= e with root account:
> /local/svnroot/subversion/bin/svnserve -d --li= sten-host 172.18.127.148
> --root /local/svnroot/repository
> > Yes I could connet to :
> svn://172.18.127.148/test
> svn://172.18.127.148/one
><= br>> The problem is that it show "Item is not readble" when I = try to show log via
> TSVN.
> The only difference between Repository one and Repositor= y test is that the
> former is created with --pre-1.5-compatible but = the latter not.
> 3 snaps are attached for your reference.

I think this means that something is wrong with your authz conf= iguration.
Can you try to disable authz to see if it works without?
<= font color=3D"#888888">
Stefan

--000e0cd47e167c523f0497f571c5--