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

RE: SVN keeps getting my AD password revoked.

From: REEDICK, ANDREW <ar345x_at_att.com>
Date: Wed, 19 Sep 2012 14:17:20 +0000

Check for svn:externals that point to an external repository. That password prompt may be for the external repository, and you're getting locked out (of the external repo) because you are providing the wrong password for the wrong repo.

From: Wendell Nichols [mailto:wcn00_at_shaw.ca]
Sent: Tuesday, September 18, 2012 9:02 AM
To: Mark Phippard
Cc: Ryan Schmidt; users_at_subversion.apache.org
Subject: Re: SVN keeps getting my AD password revoked.

I cannot quite figure out how but the Eclipse SVN plugin is locking me out of AD even when it doesn't have invalid credentials. I notice that I am working along doing many compares and merges and all of a sudden it asks me for my AD password. At that point I'm locked out. Eclipse is the only thing that could be responsible because every thing else runs 24/7 and has no problems.
I'll update it to see if it improves...
On 09/18/2012 06:53 AM, Mark Phippard wrote:
On Tue, Sep 18, 2012 at 8:47 AM, Wendell Nichols <wcn00_at_shaw.ca<mailto:wcn00_at_shaw.ca>> wrote:
Ok, from your description of the way the library behaves there is no retry logic in it for Auth failures, and this must be happening in the subversion connector for Eclipse. I'll go complain to them :)
Thankyou for your analysis and have a good day!

This is why in Subclipse we do not cache your password in any way and leave it up to the Subversion library. The way it should work is that SVN library will read its cache and try to use those credentials. When they do not work it will fire callback API that will cause you to get prompted for new credentials. Ideally (and I am not sure this true) the Subversion library should clear its cached credentials once they are invalid. If it does not do this, and you have many projects in Eclipse, then I could see it still being possible to disable your password as each SVN API call for each of those projects might cause this sequence to happen. That said, the calls are all happening in one thread so I would expect the first one to cause you to have to enter new credentials.

I think the other Eclipse plugin, Subversive, allows you to type your credentials into its UI and save them. In which case, it could be causing this to happen. I think, but am not sure, if you do not enter any credentials in their UI, then they allow the SVN library to manage this which might solve the problem.

Mark Phippard
Received on 2012-09-19 16:18:47 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.