> > Okay, I've figured out the (obvious now!) problem.
> >
> > The DNews server is configured to *require* an ID/PW to log in. But it
> > appears that DNewsWeb has no way of being told what ID/PW to use when
> > doing the "-latest" command. And since it is run as a cron job instead
> > of running under the currently logged in client's ID/PW, DNews rejects
> > the connection.
> >
> > 1. How can you tell DNewsWeb to use a specific ID/PW?
> > 2. How can I (safely) tell DNews to not ask for an ID/PW when DNewsWeb
> > is doing a "-latest" query?
> >
> > The DNewsWeb service is running on the same server as the DNews
>itself.
> > Consequently I can not simply tell DNews to ignore ID/PW from the
>local
> > system - since anyone could be coming in through the DNewsWeb
>interface.
copy dnewsweb.exe dnewswebcron.exe
copy dnewsweb.ini dnewswebcron.ini
(and probably best to put in a different directory)
Set in dnewswebcron.ini
user bob
pass xxxx
And run
dnewswebcron.exe intead of dnewsweb.exe
That should fix it, but I haven't tried it, let me know if it does/doesnt.
chrisP.
> >
> > --
> > ===========================
> > Jay Berg
> > [EMAIL PROTECTED]
> > http://eCompute.org
> > ===========================
> >
> >
> >
> > "NetWin Support Auckland" <[EMAIL PROTECTED]> wrote in message
> > 5.0.2.1.0.20010412083350.02a15b10@ball">news:5.0.2.1.0.20010412083350.02a15b10@ball...
> > > At 02:14 PM 4/10/01 -0800, you wrote:
> > >
> > > >Ok.. just discovered this "gem" in the manual. It's amazing
> > > >what you can learn in that thing ;) I was hoping, with a
> > > >little tweaking, to have this output an RSS/RDF type file.
> > > >I've got to get it runing first.
> > > >
> > > >Can it be run from the command line (outside cron)? How?
> > >
> > > Just run it by hand, e.g.
> > > cd \inetpub\scripts
> > > .\dnewsweb -latest latest.tpl >d:\toppage.htm
> > >
> > > >Currently, it is setup as a "cron job" as discussed in the
> > > >manual. It runs and the file "updates".. but is empty. I
> > > >switched back the original "latest.tpl" and it is still
> > > >empty.
> > >
> > > I think this means it's failing in some way, probably if you try it
> > manually
> > > as above you will see whats wrong, the most likely causes are:
> > > 1) it can't find dnewsweb.ini (it should be run from the
> > cgi-bin
> > > or scripts directory)
> > > 2) it can't write to the files
> > >
> > > Let me know of running it manually doesn't resolve this problem.
> > Stick with
> > > the example template until you have it filling out the file properly
> > then
> > > try your version.
> > >
> > > ChrisP.
> > >
> > >
> > >
> >
> >
-------------------------------------------------------------
To unsubscribe send to [EMAIL PROTECTED] a message
containing a single line, unsubscribe
Problems with:
Incoming feed problems: http://netwinsite.com/dnews/feedsin.htm
Access rule problems: http://netwinsite.com/dnews/access.htm
General FAQ: http://netwinsite.com/dnews/faq.htm