I setup the winnt connection using Webmin. I do provide a persistent
userid and password...
Regards,
--- Frank Gruman <fgatwork@verizon.net> wrote:
> Jeff Lanzarotta wrote:
> > Hello,
> >
> > I'm running subversion 1.2.3 on SuSE Linus 9.3. svnserve is running
> > through xinetd under the user 'svn'.
> >
> > Ok, what I'm trying to do is create a nightly snapshot of a
> repository
> > using a script running through cron.
> >
> > The script is very simple. It looks like:
> >
> > ----------8<----------
> >
> > #!/bin/sh
> > /usr/local/bin/svn update /mnt/winnt/LatestAndGreatest/"
> >
> > ----------8<----------
> >
> > Well the problem that I have when trying to run this script is that
> it
> > requires that I enter a password for 'root'... Here is the output:
> >
> > ----------8<----------
> >
> > suse:/media/hdc1/scripts # ./latestWindss
> > Retrieving the latest and greatest Win/DSS version...
> > /mnt/winnt/LatestAndGreatest/ 0 1024 517b 1534176 81152 81152 4096
> 0 0
> > Authentication realm: <svn://suse:3690> WinDSS Repository
> > Password for 'root':
> >
> > ----------8<----------
> >
> > Since cron is running these jobs as 'root', I guess that is why
> > svnserve is requesting 'root's password...
> >
> > Is there anyway of automating this to not ask for a password? Or,
> is
> > there a better way of doing this? All I want is a nightly snapshot
> of a
> > respository... Any ideas?
> >
> > Regards,
> >
> > -Jeff
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
> >
> >
> How did you set up your winnt connection?? I'd guess it is something
>
> that should have been configured / run through an smbclient
> connection?
>
> My experience here is that you can embed the username/password into
> the
> smbclient connection information. Then it should be a more
> persistent
> connection. If you don't provide that as part of the smbclient
> connection then if that other server restarts you would have to
> provide
> that login information again because the Windows server doesn't know
> who
> you are.
>
> Regards,
> Frank
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 28 16:43:18 2005