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

Re: Bug with store-password?

From: Sander Roobol <phy_at_wanadoo.nl>
Date: 2003-06-04 10:34:19 CEST

Filed as issue #1346.

Sander

On Tue, May 27, 2003 at 04:48:42PM +0200, Marc Haesen wrote:
> Hi,
>
> When I add the statement 'store-password=yes' in my config file, my password
> is not cached. If I remove this line from the config file, my password is
> cached.
> I am using the svn.exe client.
>
> If I look at line 1034 of subversion\clients\cmdline\main.c I see the
> following code:
>
> /* There are two different ways the user can disable disk caching
> of credentials: either via --no-auth-cache, or in the config
> file ('store-password = no'). */
> svn_config_get (cfg, &store_password_val,
> SVN_CONFIG_SECTION_AUTH,
> SVN_CONFIG_OPTION_STORE_PASSWORD,
> NULL);
> if (opt_state.no_auth_cache || store_password_val)
> svn_auth_set_parameter(ab, SVN_AUTH_PARAM_NO_AUTH_CACHE,
> (void *) "");
>
> Does this code not have to be:
>
> /* There are two different ways the user can disable disk caching
> of credentials: either via --no-auth-cache, or in the config
> file ('store-password = no'). */
> svn_config_get (cfg, &store_password_val,
> SVN_CONFIG_SECTION_AUTH,
> SVN_CONFIG_OPTION_STORE_PASSWORD,
> NULL);
> if (opt_state.no_auth_cache || (store_password_val &&
> !strncmp(store_password_val,"no")))
> svn_auth_set_parameter(ab, SVN_AUTH_PARAM_NO_AUTH_CACHE,
> (void *) "");
>
> I am assuming that storing of the password is the default behaviour.
>
> Marc
> Hi,
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 4 10:35:11 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.