[MacPorts] #21155: Submission of the arb port
MacPorts
noreply at macports.org
Tue Sep 8 21:13:31 PDT 2009
#21155: Submission of the arb port
----------------------------------+-----------------------------------------
Reporter: matt.cottrell@… | Owner: macports-tickets@…
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: arb
----------------------------------+-----------------------------------------
Comment(by matt.cottrell@…):
Replying to [comment:16 macsforever2000@…]:
> That did not work for me either.
>
> {{{
> $ /usr/bin/svn --non-interactive --trust-server-cert checkout -r 6192
http://svn.mikro.biologie.tu-muenchen.de/svn/branches/stable_5.0
> svn: OPTIONS of 'http://svn.mikro.biologie.tu-
muenchen.de/svn/branches/stable_5.0': authorization failed: Could not
authenticate to server: rejected Basic challenge
(http://svn.mikro.biologie.tu-muenchen.de)
> }}}
'''I think I need to log out and log back in as another user to debug two
unexpected things that are happening.'''
* There is a problem with the way username and password are being passed
to or interpreted by the svn server. If I edit the Portfile with an
incorrect username and password I can still checkout the source.
{{{
fetch.user wrong-user
fetch.password wrong-password
}}}
Let's me download the source.
* If I comment out the username and password commands the Portfile still
works for me.
{{{
#fetch.user coder
#fetch.password gimmeARBsource
}}}
'''But on the command line things are different'''
* Using the correct username and password work as expected
{{{
svn co --username coder --password gimmeARBsource
http://svn.mikro.biologie.tu-muenchen.de/svn/branches/stable_5.0
}}}
* Giving no username or password also works. It should not.
{{{
svn co http://svn.mikro.biologie.tu-muenchen.de/svn/branches/stable_5.0
}}}
* But giving the wrong username and password causes a prompt. If I then
enter the correct credentials the checkout proceeds.
{{{
svn co --username foo --password bar http://svn.mikro.biologie.tu-
muenchen.de/svn/branches/stable_5.0Authentication realm:
<http://svn.mikro.biologie.tu-muenchen.de:80> Subversion Repository
Username: foo
Password for 'foo':
Authentication realm: <http://svn.mikro.biologie.tu-muenchen.de:80>
Subversion Repository
Username: coder
Password:
}}}
It seems like my svn client is passing some cached credentials. Does svn
do that sort of thing?
I'm going to logout and log back in as a different user and see what
happens.
--
Ticket URL: <http://trac.macports.org/ticket/21155#comment:17>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list