You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by James Yoo <ja...@gmail.com> on 2009/08/20 18:50:44 UTC

password cache warning, anyway to turn it off by default?

I realize that the prompt regarding storing plaintext passwords to disk is a
new and good feature in most cases.  I'm wondering if there is a way to turn
the warning off or to default it to "yes"?  I've tried creating a global
config in PREFIX/etc/subversion/config and setting "store-passwords = yes"
and that works when using a svn:// url, but when authenticating via kerberos
through web_dav (i.e. http://...)  the svn client seems to be ignoring the
system config entirely.

Is it possible to turn the warning off as a compile time option when
compiling the client or is there some other way of making the
apache/kerberos/web_dav chain read a global config?

I do realize that once you select yes/no at the prompt you are not bothered
again... we just don't want to see it in the first place.

thanks,
James

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385755

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: password cache warning, anyway to turn it off by default?

Posted by James Yoo <ja...@gmail.com>.
thanks for your responses.

My question was not about setting the config param, but about getting svn to
see the global config.

The documentation says that the global configuration area is expected to be
/etc/subversion, when I look at my config.log  I see that sysconfig =
${PREFIX}/etc.   So I've created $PREFIX/etc/subversion/{config,servers}
files with the requisite key=values, but on checkout via web_dav with
kerberos auth I still get the warning prompt.

Additionally, when checking out via svn:// I only get the warning when I
commit... which is just weird.

I'm using subversion 1.6.2, and apache 2.something...



On Thu, Aug 20, 2009 at 2:22 PM, Stefan Sperling <st...@elego.de> wrote:

> On Thu, Aug 20, 2009 at 08:18:36PM +0100, Stefan Sperling wrote:
> > On Thu, Aug 20, 2009 at 01:50:44PM -0500, James Yoo wrote:
> > > I realize that the prompt regarding storing plaintext passwords to disk
> is a
> > > new and good feature in most cases.  I'm wondering if there is a way to
> turn
> > > the warning off or to default it to "yes"?  I've tried creating a
> global
> > > config in PREFIX/etc/subversion/config and setting "store-passwords =
> yes"
> > > and that works when using a svn:// url, but when authenticating via
> kerberos
> > > through web_dav (i.e. http://...)  the svn client seems to be ignoring
> the
> > > system config entirely.
> > >
> > > Is it possible to turn the warning off as a compile time option when
> > > compiling the client or is there some other way of making the
> > > apache/kerberos/web_dav chain read a global config?
> > >
> > > I do realize that once you select yes/no at the prompt you are not
> bothered
> > > again... we just don't want to see it in the first place.
> >
> > Put this in ~/.subversion/servers or /etc/subversion/servers:
> >
> > [global]
> > store-plaintext-passwords=no
>
> Oh, I read your question the wrong way. You want to set it to 'yes' :)
>
> Anyway, that's where you can configure it -- the default is 'ask'.
> You can also configure it on a per-server basis, see the default
> ~/.subversion/servers example configuration file for details.
>
> If you don't have it, create a new config dir like so:
>  svn help --config-dir=/tmp/newconfigdir
> and then read /tmp/newconfigdir/servers.
>
> Stefan
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385778

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: password cache warning, anyway to turn it off by default?

Posted by Stefan Sperling <st...@elego.de>.
On Thu, Aug 20, 2009 at 08:18:36PM +0100, Stefan Sperling wrote:
> On Thu, Aug 20, 2009 at 01:50:44PM -0500, James Yoo wrote:
> > I realize that the prompt regarding storing plaintext passwords to disk is a
> > new and good feature in most cases.  I'm wondering if there is a way to turn
> > the warning off or to default it to "yes"?  I've tried creating a global
> > config in PREFIX/etc/subversion/config and setting "store-passwords = yes"
> > and that works when using a svn:// url, but when authenticating via kerberos
> > through web_dav (i.e. http://...)  the svn client seems to be ignoring the
> > system config entirely.
> > 
> > Is it possible to turn the warning off as a compile time option when
> > compiling the client or is there some other way of making the
> > apache/kerberos/web_dav chain read a global config?
> > 
> > I do realize that once you select yes/no at the prompt you are not bothered
> > again... we just don't want to see it in the first place.
> 
> Put this in ~/.subversion/servers or /etc/subversion/servers:
> 
> [global]
> store-plaintext-passwords=no

Oh, I read your question the wrong way. You want to set it to 'yes' :)

Anyway, that's where you can configure it -- the default is 'ask'.
You can also configure it on a per-server basis, see the default
~/.subversion/servers example configuration file for details.

If you don't have it, create a new config dir like so:
  svn help --config-dir=/tmp/newconfigdir
and then read /tmp/newconfigdir/servers.

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385762

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: password cache warning, anyway to turn it off by default?

Posted by Stefan Sperling <st...@elego.de>.
On Thu, Aug 20, 2009 at 01:50:44PM -0500, James Yoo wrote:
> I realize that the prompt regarding storing plaintext passwords to disk is a
> new and good feature in most cases.  I'm wondering if there is a way to turn
> the warning off or to default it to "yes"?  I've tried creating a global
> config in PREFIX/etc/subversion/config and setting "store-passwords = yes"
> and that works when using a svn:// url, but when authenticating via kerberos
> through web_dav (i.e. http://...)  the svn client seems to be ignoring the
> system config entirely.
> 
> Is it possible to turn the warning off as a compile time option when
> compiling the client or is there some other way of making the
> apache/kerberos/web_dav chain read a global config?
> 
> I do realize that once you select yes/no at the prompt you are not bothered
> again... we just don't want to see it in the first place.

Put this in ~/.subversion/servers or /etc/subversion/servers:

[global]
store-plaintext-passwords=no

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385760

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: password cache warning, anyway to turn it off by default?

Posted by Mark Phippard <ma...@gmail.com>.
On Thu, Aug 20, 2009 at 2:50 PM, James Yoo<ja...@gmail.com> wrote:
> I realize that the prompt regarding storing plaintext passwords to disk is a
> new and good feature in most cases.  I'm wondering if there is a way to turn
> the warning off or to default it to "yes"?  I've tried creating a global
> config in PREFIX/etc/subversion/config and setting "store-passwords = yes"
> and that works when using a svn:// url, but when authenticating via kerberos
> through web_dav (i.e. http://...)  the svn client seems to be ignoring the
> system config entirely.
>
> Is it possible to turn the warning off as a compile time option when
> compiling the client or is there some other way of making the
> apache/kerberos/web_dav chain read a global config?

The warning message answers your question.

   You can avoid future appearances of this warning by setting the value
   of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
   '/home/user/.subversion/servers'.



-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385759

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].