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

RE: RE: Subversion asking for password over and over again

From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: 2007-06-13 14:58:50 CEST

Also, I have just realised that the config file in .subversion directory
for the user that does work for the testing repository has everything
commented out (the same is for the user that does not work).


So, to summarise:


- the config files in the .subversion directory for both user
UserOK (on AIX) and user UserKO (on Linux) have everything commented out

- both user UserOK and UserKO work fine (i.e. subversion does
not ask for passwords) for repository ProdRepo

- TestRepo is a copy of ProdRepo (dump/load cycle and copies
the hooks)

- UserOK works fine for repository TestProd

- UserKO does not work fine for TestProd


I have look at the .subversion/auth/svn.simple directory for both UserOK
and UserKO. For UserOK I do have a file for TestRepo which have the
password in it. For UserKO I do not have a file for TestRepo, and this
is I think the problem. But why isn't there such a file?


ln1sub01 svn.simple> svn --version

svn, version 1.4.3 (r23084)

   compiled Jan 25 2007, 18:41:18


ln1sub01 svn.simple> uname -a

Linux ln1sub01.ad.ldsam.com 2.6.9-22.0.2.ELsmp #1 SMP Thu Jan 5 17:13:01
EST 2006 i686 i686 i386 GNU/Linux


kylie[ksh]% .subversion>uname -a

AIX kylie 3 5 00CEDC9D4C00



From: Giulio Troccoli [mailto:Giulio.Troccoli@uk.linedata.com]
Sent: 13 June 2007 13:28
To: rahul8024@yahoo.com; users@subversion.tigris.org
Subject: RE: Subversion asking for password over and over again


Thanks for your answer.


I haven't tried it yet, but I forgot to tell you that the same user
works fine with the production repositories (subversion does not ask for
a password).





From: Rahul [mailto:rahul8024@yahoo.com]
Sent: 13 June 2007 13:13
To: Giulio Troccoli; users@subversion.tigris.org
Subject: Re: Subversion asking for password over and over again


Hi Troccoli,
                   For this edit the file config which is placed in
.subversion folder on your home and set `store-passwords = Yes' and
`store-auth-creds = Yes`
Hopefully it will do

Giulio Troccoli <Giulio.Troccoli@uk.linedata.com> wrote:

I have been using Subversion for a year or so now and I have 3
productions repositories and 3 or 4 testing repositories. I am using one
of these repositories to test some scripts I am writing.

My testing repository is a copy of a production one and what I did is:
- svnadmin dump
- create the repository dir
- svnadmin create
- svnadmin load
- copy the hooks from production to testing

The post-commit hook contains some code to change the log message, using
svn ps, and it works fine in production. However it does not in testing.
If I run the script manually svn stops when changing the svn:log
property to ask for the Subversion password. I thought this was fine the
first time, as it was a new repository, but even after I entered the
password the first time (and it was the correct password as svn ps
succeeded) this is not stored and I have to enter it again, making it
impossible for the post-commit script to work.

The strange thing is that when I use another user to commit the changes
to the repository (so that the post-commit script is call) subversion
asked me for the password just the first time.

I am very confused because firstly it seems that the password is stored
for one user and not the other, and secondly because I don't recall
having done anything in the production repository to tell subversion to
store the password so I don't know if I have to do something on the
testing repository.

Can anybody help please?

Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1
Registered in England and Wales No 3027851 VAT Reg No 778499447

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org




Get your own web address.
Have a HUGE year through Yahoo! Small Business.
Received on Wed Jun 13 14:59:28 2007

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.