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 <stsp_at_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_at_subversion.tigris.org].
Received on 2009-08-20 22:17:05 CEST