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

Re: svn commit: r29874 - trunk/subversion/libsvn_ra_neon

From: Daniel L. Rall <dlr_at_finemaltcoding.com>
Date: Wed, 12 Mar 2008 10:12:38 -0800

Joe, should this be backported to 1.5? Looks like it, and would have my +1.

On Wed, 12 Mar 2008, joe_at_tigris.org wrote:

> Author: joe
> Date: Wed Mar 12 08:31:10 2008
> New Revision: 29874
>
> Log:
> Allow use of Negotiate/NTLM for proxy authentiation in ra_neon,
> without needing to explicitly configure a redundant username and
> password:
>
> * subversion/libsvn_ra_neon/session.c
> (svn_ra_neon__open): Enable (only) Negotiate auth to the proxy if no
> proxy-username is configured.
>
>
> Modified:
> trunk/subversion/libsvn_ra_neon/session.c
>
> Modified: trunk/subversion/libsvn_ra_neon/session.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_ra_neon/session.c?pathrev=29874&r1=29873&r2=29874
> ==============================================================================
> --- trunk/subversion/libsvn_ra_neon/session.c (original)
> +++ trunk/subversion/libsvn_ra_neon/session.c Wed Mar 12 08:31:10 2008
> @@ -1081,6 +1081,16 @@ svn_ra_neon__open(svn_ra_session_t *sess
> ne_set_proxy_auth(sess, proxy_auth, pab);
> ne_set_proxy_auth(sess2, proxy_auth, pab);
> }
> +#ifdef SVN_NEON_0_26
> + else
> + {
> + /* Enable (only) the Negotiate scheme for proxy
> + authentication, if no username/password is
> + configured. */
> + ne_add_proxy_auth(sess, NE_AUTH_NEGOTIATE, NULL, NULL);
> + ne_add_proxy_auth(sess2, NE_AUTH_NEGOTIATE, NULL, NULL);
> + }
> +#endif
> }
>
> if (!timeout)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: svn-help_at_subversion.tigris.org

-- 
Daniel Rall

  • application/pgp-signature attachment: stored
Received on 2008-03-12 19:11:31 CET

This is an archived mail posted to the Subversion Dev mailing list.