🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
19 messages
19 total messages Started by Sandy Tipper Mon, 10 Nov 2003 03:13
readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67121
Author: Sandy Tipper
Date: Mon, 10 Nov 2003 03:13
52 lines
2949 bytes
I have scoured with google, and everyone says to do just what I did.
I have a news server with only local groups (no feeds in or out).
I only want people authorized to read my web site to read the news,
with same username and password.
Simple, right? But I can't get it to work.
(In news.software.nntp on 2000-12-01, John Stanford posted
"INN 2.3.0 nnrp, ckpasswd, and readers.conf"
with a similar problem and was never answered).

Thanks,
Sandy Tipper (remove .nospam tor reply by email,
but please post answer for others to read.)

---------
RedHat 9, using innd and apache from the RedHat distribution,
with errrata packages installed. I have put user "news" in both the
"apache" and "news" groups so group access to the passwords works.
---------
readers.conf:
    auth "localhost" {
        hosts: "localhost, 127.0.0.1, stdin"
        default: "<localhost>"
    }
    access "localhost" {
        users: "<localhost>"
        newsgroups: "*"
    }
    auth "cs" {
        auth: "ckpasswd -f /www/cs/_vti_pvt/service.pwd"
    }
    access "cs" {
        newsgroups: "cs.*"
    }

/www/cs/_vti_pvt/service.pwd (accessed by user "news")
    STipper:.CO8n4MJutD0o

When I try to access the server with Outlook Express,
I'm challenged for username and password;
I type in "SandyT" and the plain-text password
(which works with the protected web pages),
but it fails, and in the log file:
/var/log/news/news.notices
    Nov  9 21:18:42 srvr nnrpd[5531]: SERVER perl filtering enabled
    Nov  9 21:18:52 srvr nnrpd[5531]: xyz.com connect
    Nov  9 21:18:53 srvr nnrpd[5531]: xyz.com auth_err ckpasswd: user
STipper does not exist.
    Nov  9 21:18:53 srvr nnrpd[5531]: xyz.com bad_auth
    Nov  9 21:18:53 srvr nnrpd[5531]: xyz.com times user 0.020 system 0.000
elapsed 10.741

Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67123
Author: Jeffrey M. Vinocur
Date: Mon, 10 Nov 2003 03:21
29 lines
1987 bytes
In article <InDrb.331$MP.1796@newscontent-01.sprint.ca>,
Sandy Tipper <sandy@removethis.atuc.net> wrote:
>
>    auth "cs" {
>        auth: "ckpasswd -f /www/cs/_vti_pvt/service.pwd"
>    }
>
>/www/cs/_vti_pvt/service.pwd (accessed by user "news")
>    STipper:.CO8n4MJutD0o
>
>    Nov  9 21:18:53 srvr nnrpd[5531]: xyz.com auth_err ckpasswd: user
>STipper does not exist.

Offhand your config looks fine.  Very curious.  What version of
INN is this?  (If your ckpasswd has -u/-p flags, you can use them
from the commandline to test a password file.)

I don't think it will tell us anything new, but can you enable
news.debug logging in syslog.conf (just parallel to the other
news.* lines) and HUP syslogd?  That will get more verbose
logging.


Oh, um, does your password have any spaces in it?  


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67124
Author: Sandy Tipper
Date: Mon, 10 Nov 2003 03:37
66 lines
3841 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:bon074$d6e$2@puck.litech.org...
> In article <InDrb.331$MP.1796@newscontent-01.sprint.ca>,
> Sandy Tipper <sandy@removethis.atuc.net> wrote:
> >
> >    auth "cs" {
> >        auth: "ckpasswd -f /www/cs/_vti_pvt/service.pwd"
> >    }
> >
> >/www/cs/_vti_pvt/service.pwd (accessed by user "news")
> >    STipper:.CO8n4MJutD0o
> >
> >    Nov  9 21:18:53 srvr nnrpd[5531]: xyz.com auth_err ckpasswd: user
> >STipper does not exist.
>
> Offhand your config looks fine.  Very curious.  What version of
> INN is this?  (If your ckpasswd has -u/-p flags, you can use them
> from the commandline to test a password file.)
>
inn-2.3.4-2
no, chpasswd only has -s, -d, and -f

> I don't think it will tell us anything new, but can you enable
> news.debug logging in syslog.conf (just parallel to the other
> news.* lines) and HUP syslogd?  That will get more verbose
> logging.
>
Nov  9 22:30:53 srvr nnrpd[2498]: Reading config from /etc/news/inn.conf
Nov  9 22:30:53 srvr nnrpd[2498]: SERVER perl filtering enabled
Nov  9 22:30:53 srvr nnrpd[2498]: SERVER perl filtering enabled
Nov  9 22:31:03 srvr nnrpd[2498]: xyz.com connect
Nov  9 22:31:03 srvr nnrpd[2498]: xyz.com connect
Nov  9 22:31:03 srvr nnrpd[2498]: Reading access from /etc/news/readers.conf
Nov  9 22:31:03 srvr nnrpd[2498]: Auth strategy 'local' does not match
client
.  Removing.
Nov  9 22:31:03 srvr nnrpd[2498]: xyz.com no_success_auth
Nov  9 22:31:04 srvr nnrpd[2498]: xyz.com auth starting authen
ticator ckpasswd -f /www/cs/_vti_pvt/service.pwd
Nov  9 22:31:04 srvr nnrpd[2498]: xyz.com auth_err ckpasswd: u
ser SandyT does not exist.
Nov  9 22:31:04 srvr nnrpd[2498]: xyz.com auth_err ckpasswd: u
ser SandyT does not exist.
Nov  9 22:31:04 srvr nnrpd[2498]: xyz.com bad_hook program exi
ted with status 1
Nov  9 22:31:04 srvr nnrpd[2498]: xyz.com auth authenticator f
ailed
Nov  9 22:31:04 srvr nnrpd[2498]: xyz.com no_success_auth
Nov  9 22:31:04 srvr nnrpd[2498]: xyz.com bad_auth
Nov  9 22:31:04 srvr nnrpd[2498]: xyz.com bad_auth
Nov  9 22:31:04 srvr nnrpd[2498]: xyz.com times user 0.010 sys
tem 0.010 elapsed 10.696
Nov  9 22:31:04 srvr nnrpd[2498]: xyz.com times user 0.010 sys
tem 0.010 elapsed 10.696

>
> Oh, um, does your password have any spaces in it?
>
No, 9 characters, all letters, mixed case
> -- 
> Jeffrey M. Vinocur
> jeff@litech.org

Thanks for your extremely prompt reply

Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67125
Author: Sandy Tipper
Date: Mon, 10 Nov 2003 03:51
27 lines
2308 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:bon074$d6e$2@puck.litech.org...
> In article <InDrb.331$MP.1796@newscontent-01.sprint.ca>,
> Sandy Tipper <sandy@removethis.atuc.net> wrote:
> >
> >    auth "cs" {
> >        auth: "ckpasswd -f /www/cs/_vti_pvt/service.pwd"
> >    }
> >/www/cs/_vti_pvt/service.pwd (accessed by user "news")
> >    STipper:.CO8n4MJutD0o
> >    Nov  9 21:18:53 srvr nnrpd[5531]: xyz.com auth_err ckpasswd: user
> >STipper does not exist.
> Offhand your config looks fine.  Very curious.  What version of
> INN is this?  (If your ckpasswd has -u/-p flags, you can use them
> from the commandline to test a password file.)
> I don't think it will tell us anything new, but can you enable
> news.debug logging in syslog.conf (just parallel to the other
> news.* lines) and HUP syslogd?  That will get more verbose
> logging.
> Oh, um, does your password have any spaces in it?
> Jeffrey M. Vinocur
> jeff@litech.org

Could the problem be uppercase letters in the username?
It works in apache.

Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67126
Author: Russ Allbery
Date: Mon, 10 Nov 2003 04:24
27 lines
2307 bytes
Sandy Tipper <sandy@removethis.atuc.net> writes:

> /www/cs/_vti_pvt/service.pwd (accessed by user "news")
>     STipper:.CO8n4MJutD0o

> When I try to access the server with Outlook Express,
> I'm challenged for username and password;
> I type in "SandyT" and the plain-text password
> (which works with the protected web pages),
> but it fails, and in the log file:
> /var/log/news/news.notices
>     Nov  9 21:18:42 srvr nnrpd[5531]: SERVER perl filtering enabled
>     Nov  9 21:18:52 srvr nnrpd[5531]: xyz.com connect
>     Nov  9 21:18:53 srvr nnrpd[5531]: xyz.com auth_err ckpasswd: user
> STipper does not exist.

You're saying STipper in some places and SandyT in others.  Is this just a
mistake in your posting, or could that be part of the problem?

Also, make sure that the news server has the right privileges to read that
file (which isn't just the file itself but the full path to it as well).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67127
Author: Sandy Tipper
Date: Mon, 10 Nov 2003 04:41
36 lines
2690 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87vfpsj1f7.fsf@windlord.stanford.edu...
> Sandy Tipper <sandy@removethis.atuc.net> writes:
>
> > /www/cs/_vti_pvt/service.pwd (accessed by user "news")
> >     STipper:.CO8n4MJutD0o
>
> > When I try to access the server with Outlook Express,
> > I'm challenged for username and password;
> > I type in "SandyT" and the plain-text password
> > (which works with the protected web pages),
> > but it fails, and in the log file:
> > /var/log/news/news.notices
> >     Nov  9 21:18:42 srvr nnrpd[5531]: SERVER perl filtering enabled
> >     Nov  9 21:18:52 srvr nnrpd[5531]: xyz.com connect
> >     Nov  9 21:18:53 srvr nnrpd[5531]: xyz.com auth_err ckpasswd: user
> > STipper does not exist.
>
> You're saying STipper in some places and SandyT in others.  Is this just a
> mistake in your posting, or could that be part of the problem?

Ooops... posting mistake. I'm using STipper everywhere.

> Also, make sure that the news server has the right privileges to read that
> file (which isn't just the file itself but the full path to it as well).
Tested by:
# su - news
# grep STipper /www/cs/_vti_pvt/service.pwd
   STipper:.CO8n4MJutD0o
> -- 
> Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
>
>           Please post questions rather than mailing me directly.
>      <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.

Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67130
Author: Russ Allbery
Date: Mon, 10 Nov 2003 07:35
16 lines
1756 bytes
Sandy Tipper <sandy@removethis.atuc.net> writes:

> Tested by:
> # su - news
> # grep STipper /www/cs/_vti_pvt/service.pwd
>    STipper:.CO8n4MJutD0o

Hm, exactly what version of INN are you using?  There was a bug in INN
2.3.0 that required a trailing colon on lines like that, but I thought it
was fixed in INN 2.3.1.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67133
Author: Sandy Tipper
Date: Mon, 10 Nov 2003 13:33
18 lines
1886 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87y8uohe0h.fsf@windlord.stanford.edu...
> Sandy Tipper <sandy@removethis.atuc.net> writes:
>
> > Tested by:
> > # su - news
> > # grep STipper /www/cs/_vti_pvt/service.pwd
> >    STipper:.CO8n4MJutD0o
>
> Hm, exactly what version of INN are you using?  There was a bug in INN
> 2.3.0 that required a trailing colon on lines like that, but I thought it
> was fixed in INN 2.3.1.
>
INN 2.3.4-2 as distributed with RedHat 9

I tried the extra colon jusr in case-- no luck.

Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67137
Author: Jeffrey M. Vinocur
Date: Mon, 10 Nov 2003 18:49
30 lines
2163 bytes
In article <DqMrb.382$MP.2158@newscontent-01.sprint.ca>,
Sandy Tipper <sandy@atuc.net.nospam> wrote:
>> Sandy Tipper <sandy@removethis.atuc.net> writes:
>>
>> > # grep STipper /www/cs/_vti_pvt/service.pwd
>> >    STipper:.CO8n4MJutD0o
>
>INN 2.3.4-2 as distributed with RedHat 9

If you're bored and want something else to try, you could
download 2.4 and use that ckpasswd (you don't need to install it,
just compile and run authprogs/ckpasswd in the source tree) like
this:

    ckpasswd -f service.pwd -u STipper -p topsecretpassword

And see if it gives the same error.


>I tried the extra colon jusr in case-- no luck.

Getting silly, but those spaces before the username in the grep
output you provided above...you added those for clarity on
posting, right?  (If there actually are spaces at the beginning
of the line, that would do it.)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67138
Author: Russ Allbery
Date: Mon, 10 Nov 2003 18:54
27 lines
2468 bytes
Sandy Tipper <sandy@atuc.net.nospam> writes:

> INN 2.3.4-2 as distributed with RedHat 9

> I tried the extra colon jusr in case-- no luck.

I'm pretty mystified.  Could you try running ckpasswd by hand, just to
make sure that it doesn't work that way either?

  To test to make sure that ckpasswd is working correctly, you can run it
  manually and then give it the username (prefixed with "ClientAuthname:")
  and password (prefixed with "ClientPassword:") on standard input.  For
  example:

      (echo 'ClientAuthname: test' ; echo 'ClientPassword: testing') \
          | ckpasswd -f /path/to/passwd/file

  will check a username of "test" and a password of "testing" against the
  username and passwords stored in /path/to/passwd/file.  On success,
  ckpasswd will print "User:test" and exit with status 0.  On failure, it
  will print some sort of error message and exit a non-zero status.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67141
Author: Johnny Bravo
Date: Mon, 10 Nov 2003 19:51
66 lines
3233 bytes
On Sun, 9 Nov 2003 22:13:33 -0500, "Sandy Tipper"
<sandy@removethis.atuc.net> wrote:

>I have scoured with google, and everyone says to do just what I did.
>I have a news server with only local groups (no feeds in or out).
>I only want people authorized to read my web site to read the news,
>with same username and password.
>Simple, right? But I can't get it to work.
>(In news.software.nntp on 2000-12-01, John Stanford posted
>"INN 2.3.0 nnrp, ckpasswd, and readers.conf"
>with a similar problem and was never answered).
>
>Thanks,
>Sandy Tipper (remove .nospam tor reply by email,
>but please post answer for others to read.)
>
>---------
>RedHat 9, using innd and apache from the RedHat distribution,
>with errrata packages installed. I have put user "news" in both the
>"apache" and "news" groups so group access to the passwords works.
>---------
>readers.conf:
>    auth "localhost" {
>        hosts: "localhost, 127.0.0.1, stdin"


Remove this:
>        default: "<localhost>"
         ^^^^^^^^^^^^^^^^^^



>    }
>    access "localhost" {
>        users: "<localhost>"
>        newsgroups: "*"
>    }
>    auth "cs" {
>        auth: "ckpasswd -f /www/cs/_vti_pvt/service.pwd"
>    }
>    access "cs" {
>        newsgroups: "cs.*"
>    }
>
>/www/cs/_vti_pvt/service.pwd (accessed by user "news")
>    STipper:.CO8n4MJutD0o
>
>When I try to access the server with Outlook Express,
>I'm challenged for username and password;
>I type in "SandyT" and the plain-text password
>(which works with the protected web pages),
>but it fails, and in the log file:
>/var/log/news/news.notices
>    Nov  9 21:18:42 srvr nnrpd[5531]: SERVER perl filtering enabled
>    Nov  9 21:18:52 srvr nnrpd[5531]: xyz.com connect
>    Nov  9 21:18:53 srvr nnrpd[5531]: xyz.com auth_err ckpasswd: user
>STipper does not exist.
>    Nov  9 21:18:53 srvr nnrpd[5531]: xyz.com bad_auth
>    Nov  9 21:18:53 srvr nnrpd[5531]: xyz.com times user 0.020 system 0.000
>elapsed 10.741
>

-- 
http://portal.kools-online.com 
http://www.kools-online.com/4images
news.kools-online.com       
Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67142
Author: Jeffrey M. Vinocur
Date: Mon, 10 Nov 2003 22:22
20 lines
1691 bytes
In article <gpqvqvg5n25osq2ltobp7atoa33tpshjee@4ax.com>,
Johnny Bravo  <Ace Ventura> wrote:
>On Sun, 9 Nov 2003 22:13:33 -0500, "Sandy Tipper"
><sandy@removethis.atuc.net> wrote:
>
>>
>
>Remove this:
>
>>        default: "<localhost>"
>         ^^^^^^^^^^^^^^^^^^

This is *definitely* not the cause of the original problem, and
in fact is quite correct for the configuration desired (as I read
it).


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67146
Author: Johnny Bravo
Date: Tue, 11 Nov 2003 18:22
49 lines
2423 bytes
On Mon, 10 Nov 2003 22:22:07 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:

>In article <gpqvqvg5n25osq2ltobp7atoa33tpshjee@4ax.com>,
>Johnny Bravo  <Ace Ventura> wrote:
>>On Sun, 9 Nov 2003 22:13:33 -0500, "Sandy Tipper"
>><sandy@removethis.atuc.net> wrote:
>>
>>>
>>
>>Remove this:
>>
>>>        default: "<localhost>"
>>         ^^^^^^^^^^^^^^^^^^
>
>This is *definitely* not the cause of the original problem, and
>in fact is quite correct for the configuration desired (as I read
>it).

Ok.
My readers.conf 
Without the localhost works fine. Local and with newsx.
nntpusers store's the passwords, made with htpasswd.
If I use default localhost. the password won't work.
I spend a fortnight to find that out:-(



auth "INTERNET" {
        hosts: "*"
        auth: "ckpasswd -f /usr/local/news/etc/nntpusers"
}
access "ok" {
        users: "*"
        newsgroups: "*"
        access: RP
}
access "ok" {
        users: "me"
        newsgroups: "local.announce"
        access: RPA
}



-- 
http://portal.kools-online.com 
http://www.kools-online.com/4images
news.kools-online.com       
Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67147
Author: Sandy Tipper
Date: Tue, 11 Nov 2003 18:26
50 lines
2724 bytes
"Johnny Bravo" <johnny_bravo@> wrote in message
news:vp92rvk32qh53jac0n7d3aer16j9qvntu1@4ax.com...
> On Mon, 10 Nov 2003 22:22:07 +0000 (UTC), jeff@litech.org (Jeffrey M.
> Vinocur) wrote:
>
> >In article <gpqvqvg5n25osq2ltobp7atoa33tpshjee@4ax.com>,
> >Johnny Bravo  <Ace Ventura> wrote:
> >>On Sun, 9 Nov 2003 22:13:33 -0500, "Sandy Tipper"
> >><sandy@removethis.atuc.net> wrote:
> >>
> >>>
> >>
> >>Remove this:
> >>
> >>>        default: "<localhost>"
> >>         ^^^^^^^^^^^^^^^^^^
> >
> >This is *definitely* not the cause of the original problem, and
> >in fact is quite correct for the configuration desired (as I read
> >it).
>
> Ok.
> My readers.conf
> Without the localhost works fine. Local and with newsx.
> nntpusers store's the passwords, made with htpasswd.
> If I use default localhost. the password won't work.
> I spend a fortnight to find that out:-(
>
>
>
> auth "INTERNET" {
>         hosts: "*"
>         auth: "ckpasswd -f /usr/local/news/etc/nntpusers"
> }
> access "ok" {
>         users: "*"
>         newsgroups: "*"
>         access: RP
> }
> access "ok" {
>         users: "me"
>         newsgroups: "local.announce"
>         access: RPA
> }
I think the difference is that I had two separate auth groups, one with
default the other with auth.

Sandy

Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67148
Author: Sandy Tipper
Date: Tue, 11 Nov 2003 18:39
66 lines
4269 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:boomkc$lms$2@puck.litech.org...
> In article <DqMrb.382$MP.2158@newscontent-01.sprint.ca>,
> Sandy Tipper <sandy@atuc.net.nospam> wrote:
> >> Sandy Tipper <sandy@removethis.atuc.net> writes:
> >>
> >> > # grep STipper /www/cs/_vti_pvt/service.pwd
> >> >    STipper:.CO8n4MJutD0o
> >
> >INN 2.3.4-2 as distributed with RedHat 9
>
> If you're bored and want something else to try, you could
> download 2.4 and use that ckpasswd (you don't need to install it,
> just compile and run authprogs/ckpasswd in the source tree) like
> this:
>
>     ckpasswd -f service.pwd -u STipper -p topsecretpassword
>
> And see if it gives the same error.

I upgraded to 3.4.0 altogether. Now ckpasswd works stand-alone,
and innd still works for local access just fine (so I didn't screw up
the binaries, at least), but I still fail on authenticated access, but
the error has changed:
Nov 11 13:19:12 blanche nnrpd[2063]:
149-99-44-118.dsl.tor1.sprint-canada.net (149.99.44.118) connect
Nov 11 13:19:12 blanche nnrpd[2063]:
149-99-44-118.dsl.tor1.sprint-canada.net (149.99.44.118) connect
Nov 11 13:19:12 blanche nnrpd[2063]: Reading access from
/etc/news/readers.conf
Nov 11 13:19:12 blanche nnrpd[2063]: Auth strategy 'local' does not match
client.  Removing.
Nov 11 13:19:12 blanche nnrpd[2063]:
149-99-44-118.dsl.tor1.sprint-canada.net no_success_auth
Nov 11 13:19:12 blanche nnrpd[2063]:
149-99-44-118.dsl.tor1.sprint-canada.net auth starting authenticator
ckpasswd -f /www/cs/_vti_pvt/service.pwd
Nov 11 13:19:12 blanche nnrpd[2063]:
149-99-44-118.dsl.tor1.sprint-canada.net bad_hook program caught signal 15
Nov 11 13:19:12 blanche nnrpd[2063]:
149-99-44-118.dsl.tor1.sprint-canada.net bad_hook program caught signal 15
Nov 11 13:19:12 blanche nnrpd[2063]:
149-99-44-118.dsl.tor1.sprint-canada.net auth authenticator failed
Nov 11 13:19:12 blanche nnrpd[2063]:
149-99-44-118.dsl.tor1.sprint-canada.net no_success_auth
Nov 11 13:19:12 blanche nnrpd[2063]:
149-99-44-118.dsl.tor1.sprint-canada.net bad_auth
Nov 11 13:19:12 blanche nnrpd[2063]:
149-99-44-118.dsl.tor1.sprint-canada.net bad_auth
Nov 11 13:19:12 blanche nnrpd[2063]:
149-99-44-118.dsl.tor1.sprint-canada.net times user 0.010 system 0.020 idle
0.045 elapsed 0.273
Nov 11 13:19:12 blanche nnrpd[2063]:
149-99-44-118.dsl.tor1.sprint-canada.net times user 0.010 system 0.020 idle
0.045 elapsed 0.273

> >I tried the extra colon jusr in case-- no luck.
>
> Getting silly, but those spaces before the username in the grep
> output you provided above...you added those for clarity on
> posting, right?  (If there actually are spaces at the beginning
> of the line, that would do it.)

You are right.. just for posting clarity. No spaces.

Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67149
Author: Sandy Tipper
Date: Tue, 11 Nov 2003 18:43
36 lines
2982 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87brrkukaa.fsf@windlord.stanford.edu...
> Sandy Tipper <sandy@atuc.net.nospam> writes:
>
> > INN 2.3.4-2 as distributed with RedHat 9
>
> > I tried the extra colon jusr in case-- no luck.
>
> I'm pretty mystified.  Could you try running ckpasswd by hand, just to
> make sure that it doesn't work that way either?
>
>   To test to make sure that ckpasswd is working correctly, you can run it
>   manually and then give it the username (prefixed with "ClientAuthname:")
>   and password (prefixed with "ClientPassword:") on standard input.  For
>   example:
>
>       (echo 'ClientAuthname: test' ; echo 'ClientPassword: testing') \
>           | ckpasswd -f /path/to/passwd/file
>
>   will check a username of "test" and a password of "testing" against the
>   username and passwords stored in /path/to/passwd/file.  On success,
>   ckpasswd will print "User:test" and exit with status 0.  On failure, it
>   will print some sort of error message and exit a non-zero status.

I think version 2.3.4 was broken somehow. Your test produced the
same error (user does not exist).
I upgraded to 2.4.0, and now ckpasswd works fine with the same files.
But the servers still fails to authenticate, just with a different error:
   "bad_hook program caught signal 15"

This is frustrating.

Sandy
"Linux is only free if you don't value your time."

Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67155
Author: Russ Allbery
Date: Tue, 11 Nov 2003 21:56
15 lines
2104 bytes
Sandy Tipper <sandy@removethis.atuc.net> writes:

> I upgraded to 2.4.0, and now ckpasswd works fine with the same files.
> But the servers still fails to authenticate, just with a different error:
>    "bad_hook program caught signal 15"

So that means that ckpasswd is segfaulting, which would imply to me that
there's some sort of difference in environment between when you run it by
hand and when you run it under nnrpd.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67157
Author: Jeffrey M. Vinocur
Date: Wed, 12 Nov 2003 01:41
29 lines
2288 bytes
In article <WR9sb.519$MP.3529@newscontent-01.sprint.ca>,
Sandy Tipper <sandy@removethis.atuc.net> wrote:
>"Johnny Bravo" <johnny_bravo@> wrote in message
>news:vp92rvk32qh53jac0n7d3aer16j9qvntu1@4ax.com...
>
>> My readers.conf
>> Without the localhost works fine. Local and with newsx.
>> nntpusers store's the passwords, made with htpasswd.
>> If I use default localhost. the password won't work.
>> I spend a fortnight to find that out:-(

Enabling news.debug logging makes figuring out readers.conf
problems much easier, for future reference.

I'm not sure what you mean by "won't work" -- but note that with
default:, everyone will get access in your config because you had 
"users: *" instead of "users: *,!<localhost>".


>I think the difference is that I had two separate auth groups, one with
>default the other with auth.

Yup, yours is just what I'd expect for the configuration you
described.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: readers.conf (innd): auth_err ckpasswd: user ... does not exist
#67158
Author: Sandy Tipper
Date: Wed, 12 Nov 2003 02:19
19 lines
2059 bytes
> I upgraded to 3.4.0 altogether. Now ckpasswd works stand-alone,
> and innd still works for local access just fine (so I didn't screw up
> the binaries, at least), but I still fail on authenticated access, but
> the error has changed:

Found it!!!
It was an unexpected permission problem.
The file was: "rw-rw---- apache apache"
Changed the group to news and it works.
Strangely, the news user has apache as a
secondary group, and interactive use worked.
Oh, well, now both web and news access works.

Thanks for all your help.

Sandy


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads