You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Daniel L. Rall" <dl...@finemaltcoding.com> on 2008/03/12 18:12:38 UTC

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

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

On Wed, 12 Mar 2008, joe@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@subversion.tigris.org
> For additional commands, e-mail: svn-help@subversion.tigris.org

-- 

Daniel Rall