Should prompt for passwords

Bug #120768 reported by Jelmer Vernooij
24
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Low
Jelmer Vernooij
subversion
Fix Released
Undecided
Unassigned

Bug Description

 affects /products/bzr-svn
 importance low

If Subversion hasn't yet cached the password for a remote host, bzr-svn
should prompt the user for the password, rather than trying to use no
authenitcation at all.

A workaround for this problem is to use a Subversion client and force it
to prompt for the password details of the remote host, after which it
will store a cache in the home directory of the user, that will also be
used by bzr-svn.
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/

Related branches

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
assignee: nobody → jelmer
status: Unconfirmed → Confirmed
Revision history for this message
Robert Collins (lifeless) wrote :

is this the same as it not asking for a password when no username is given?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Yes.

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Confirmed → Triaged
Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 120768] Re: Should prompt for passwords

Before anything can be fixed in bzr-svn, python-subversion has to expose
the authentication providers in svn_auth.h to python users.

  affects /products/subversion

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
milestone: none → 0.4.5
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This has been fixed in python-svn.

Changed in subversion:
status: New → Fix Released
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Am Sonntag, den 09.12.2007, 18:14 +0000 schrieb Jelmer Vernooij:
> This has been fixed in python-svn.
>
> ** Changed in: subversion
> Status: New => Fix Released

  status fixcommitted

This is now supported in the 0.4 branch. To use it, Subversion 1.5 has
to be installed.

--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Triaged → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Fix Committed → Fix Released
Revision history for this message
Adrian (adrian-dziubek) wrote :

I got a message similar to #120768.

I checked that subversion has the authorisation information needed under ~/.subversion directory, but it turned out that the svn client itself still asked for it.

So for everybody still encountering the problem and thinking that subversion has the password, run svn checkout, make a small change, try to commit and see for yourself.

Revision history for this message
Adrian (adrian-dziubek) wrote :

This was supposed to be #141556, sorry.
https://bugs.launchpad.net/bzr-svn/+bug/141556

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Adrian, what version of bzr-svn are you using?

Revision history for this message
Adrian (adrian-dziubek) wrote :

This was on Kubuntu 8.04 (Hardy Heron), apt says:
bzr-svn 0.4.9-1
bzr 1.3.1-1

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Please try with a newer version of bzr-svn, things have improved since.

Revision history for this message
Bronislav Gabrhelik (bgabrhelik) wrote :

I tried to workaround this by adding username & password into an URL.

bzr svn-import http://uid:pwd@server/path-to-repos directory

In one respect it helps, so connection to repository succeeds, but after it scans revisions it doesn't find any matching branch. The reason is probably that PROPFIND returns URL without uid:pwd, so it is different to entered URL in command line.

This might be an alternative solution after small fix, maibe easier than adding the new command line arguments, or prompting for uid/pwd.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.