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

AW: Offer re-prompt to change user authn after failed commit?

From: Philipp Mott <Philipp.Mott_at_giffits.de>
Date: Fri, 3 Feb 2017 19:52:23 +0000

AFAIK that's not how SVN simple authentication works.
It's rather like this:

1. Server tells Client to authenticate.
2. Client searches for cached credentials.
3. Client sends cached credentials.
4. Server responds with some "access denied".
5. Client reports to user.

End of story. If access is denied with these credentials you will have to delete them from the credential cache. SVN only asks for new credentials if it can't find any.

As a workaround you could copy your credential files to a (secured) backup location. Once you need to act as another user you copy the according backup file into the SVN auth directory. It will be used the next time the server asks for credentials.

-----Ursprüngliche Nachricht-----
Von: Karl Fogel [mailto:kfogel_at_red-bean.com]
Gesendet: Freitag, 3. Februar 2017 19:53
An: users_at_tortoisesvn.tigris.org
Cc: kfogel_at_red-bean.com
Betreff: Offer re-prompt to change user authn after failed commit?

In TortoiseSVN 1.9.5, on a Windows 10 box [1], I needed to do a commit from an existing working copy, but on that machine, Tortoise only had cached authentication credentials for a read-only user for the repository in question.

"No problem," I thought, "It'll just fail the first commit attempt, because it will default first to the cached user creds, but then it will prompt me for a new username / password pair, the way the command-line client would, and let me commit with those."

Giffits GmbH
Weidestrasse 122b
22083 Hamburg
Tel: +49 (0)40 2788201-0
Fax: +49 (0)40 2788201-79

Sitz der Gesellschaft: Hamburg
Geschäftsführer: Thorsten Schmidt, Marcus Schulz
Handelsregister HRB 106954, Amtsgericht Hamburg Steuernummer 43/724/00701
Umsatzsteuer ID Nr. DE262054425
WEEE-REG.Nr. DE68758991

Diese E-Mail und alle beigefügten Dateien sind vertraulich und nur für den Adressaten bestimmt.
Wenn Sie nicht der richtige Adressat sind, leiten Sie diese E-Mail bitte nicht weiter, öffnen Sie etwaige Anhänge nicht,
machen Sie keine Kopien und speichern Sie diese E-Mail nicht. Informieren Sie uns bitte, indem Sie uns eine Antwort-Mail
senden oder uns telefonisch unter +49 (0402788201-0)verständigen. Löschen Sie bitte anschließend die erhaltene E-Mail aus Ihrem System.
Vielen Dank!

This email is only intended for the addressee. The content of this email, including all attachments is confidential and includes privileged material.
If you are not the intended recipient, please do not forward or disclose this email, do not open any attachments or make copies or save this email anywhere.
Please inform us about the error by returning this email or by calling us on our phone +49 (0)40 2788201-0. Please then finally delete this email from your system.
Thank you very much.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2017-02-03 20:52:56 CET

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