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

Re: Path authentication issues ( svnserve.exe )

From: Eric Lee <pgeric_at_gmail.com>
Date: Sun, 8 Nov 2009 18:39:27 +0800

On Sun, Nov 8, 2009 at 1:20 PM, Eric Lee <pgeric_at_gmail.com> wrote:

>
>
> On Sun, Nov 8, 2009 at 2:11 AM, Vadym Chepkov <chepkov_at_yahoo.com> wrote:
>
>> Well,
>>
>> Since you don't provide your config files, here are mine:
>>
>> $ pwd
>> /home/vvc/testrepo/conf
>>
>> $ cat passwd
>> [users]
>> vvc = vvcsecret
>> root = rootsecret
>>
>> $ cat authz
>> [groups]
>> testgroup = root
>>
>>

OK, this is my before and current settings.
According to the manual. Rules are first-matching.
So the user should be blocked and can't be commited to the repository when
the user was set to = r.
But it do as the result part showed.

Thanks,

[passwd]
blueray = svdgd4%#

[authz]
[groups]
paint-developers = blueray

[testextsvn:/branches/calc/bug-142]
blueray = r
@paint-developers = rw

[testextsvn:/]
* =

  [svnserve.conf]
  before
  anon-access = read

  after
  anon-access = none
  auth-access = write

  authz-db = authz

[result]
C:\wc\svnpathtest\branches\calc\bug-142>svn ci --username blueray -m "test"
Sending bug-142\string.c
Transmitting file data .
Committed revision 23.

> [/]
>> vvc = r
>> @testgroup = rw
>>
>> $ cat svnserve.conf
>> [general]
>> anon-access = none
>> password-db = passwd
>> authz-db = authz
>> realm = Test Repo
>>
>> $ svn mkdir --username=vvc svn://localhost/home/vvc/testrepo/dir1 -m
>> "dir1"
>> svn: Authorization failed
>>
>> $ svn mkdir --username=root svn://localhost/home/vvc/testrepo/dir1 -m
>> "dir1"
>>
>> Committed revision 1.
>>
>> All works as expected
>>
>> Vadym
>
> I'am appreciate your help !
>
> I test it when I back home.
> It looks like that I miss something with a few settings.
>
>
> Eric,
>
>
>
>> Sincerely yours,
>> Vadym Chepkov
>>
>>
>> --- On Sat, 11/7/09, Eric Lee <pgeric_at_gmail.com> wrote:
>>
>> > From: Eric Lee <pgeric_at_gmail.com>
>> > Subject: Re: Path authentication issues ( svnserve.exe )
>> > To: "Vadym Chepkov" <chepkov_at_yahoo.com>
>> > Cc: users_at_subversion.tigris.org
>> > Date: Saturday, November 7, 2009, 12:18 PM
>> >
>> >
>> >
>> > On Sun, Nov 8, 2009 at 12:27 AM,
>> > Vadym Chepkov <chepkov_at_yahoo.com>
>> > wrote:
>> >
>> > And one more thing.
>> >
>> > Is path based authentication even enabled in svnserve.conf
>> >
>> >
>> >
>> >
>> > Yes, it is enabled with this line [authz-db =
>> > authz]
>> >
>> > I test it exactly the same as the subversion
>> > manual's example.
>> > so, when I use only two (or more) users without
>> > group(s).
>> > That works perfectly.
>> >
>> >
>> > Eric,
>> >
>> >
>> > ------------------------------------------------------
>> >
>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2415429
>> >
>> >
>> >
>> >
>> >
>> > To unsubscribe from this discussion, e-mail: [
>> users-unsubscribe_at_subversion.tigris.org].
>> >
>> >
>> >
>> >
>> > --
>> >
>> >
>>
>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-08 11:40:31 CET

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.