🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by tidal goose Thu, 28 Feb 2002 21:57
"authinfo user" limit?
#56985
Author: tidal goose
Date: Thu, 28 Feb 2002 21:57
13 lines
1354 bytes
I've run into a problem where usernames longer than 29 characters will
not authenticate via "ckpasswd -f /news/db/newspasswd".  The log says
"bad_hook program caught signal 15".  This is in INN 2.3.2.  Is this
by design?  Can i increase it easily?

rone
-- 
The Thunderthief, he puts us under.   | John Paul Jones' new album,
While we sleep he steals our thunder. |     _The Thunderthief_
All our thunder in a lump             |
he sucks into his thunderpump.        |    www.johnpauljones.com
Re: "authinfo user" limit?
#56992
Author: Russ Allbery
Date: Thu, 28 Feb 2002 22:40
17 lines
1677 bytes
tidal goose <^#*&$@ennui.org> writes:

> I've run into a problem where usernames longer than 29 characters will
> not authenticate via "ckpasswd -f /news/db/newspasswd".  The log says
> "bad_hook program caught signal 15".  This is in INN 2.3.2.  Is this by
> design?  Can i increase it easily?

It's not by design; ckpasswd uses SMBUF as a buffer size and checks to be
sure that nothing exceeds it.  Maybe a bug in the dbm libraries?  I don't
see anything obvious in the code....

-- 
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: "authinfo user" limit?
#57018
Author: Bettina Fink
Date: Fri, 01 Mar 2002 22:44
9 lines
1137 bytes
tidal goose <^#*&$@ennui.org> wrote:

> I've run into a problem where usernames longer than 29 characters will
> not authenticate via "ckpasswd -f /news/db/newspasswd".  The log says
> "bad_hook program caught signal 15".  This is in INN 2.3.2.  Is this
> by design? Can i increase it easily?

The limit is in nnrpd/commands.c (search for "30").
Re: "authinfo user" limit?
#57010
Author: Jeffrey M. Vinocur
Date: Sat, 02 Mar 2002 01:19
18 lines
1532 bytes
In article <a5p092$1sa$1@krell.zikzak.de>,
Bettina Fink  <laura@hydrophil.de> wrote:
>tidal goose <^#*&$@ennui.org> wrote:
>
>> I've run into a problem where usernames longer than 29 characters will
>> not authenticate via "ckpasswd -f /news/db/newspasswd".  The log says
>> "bad_hook program caught signal 15".  This is in INN 2.3.2.  Is this
>> by design? Can i increase it easily?
>
>The limit is in nnrpd/commands.c (search for "30").

Good catch -- Russ, should we just up this?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: "authinfo user" limit?
#57012
Author: Russ Allbery
Date: Sat, 02 Mar 2002 01:42
21 lines
1830 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:
> Bettina Fink  <laura@hydrophil.de> wrote:
>> tidal goose <^#*&$@ennui.org> wrote:

>>> I've run into a problem where usernames longer than 29 characters will
>>> not authenticate via "ckpasswd -f /news/db/newspasswd".  The log says
>>> "bad_hook program caught signal 15".  This is in INN 2.3.2.  Is this
>>> by design? Can i increase it easily?

>> The limit is in nnrpd/commands.c (search for "30").

> Good catch -- Russ, should we just up this?

Yeah, for right now make it SMBUF.  (This whole area is really ugly.)

-- 
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: "authinfo user" limit?
#57014
Author: Jeffrey M. Vinocur
Date: Sat, 02 Mar 2002 02:58
21 lines
1592 bytes
In article <ylk7svwxrb.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Jeffrey M Vinocur <jeff@litech.org> writes:
>> Bettina Fink  <laura@hydrophil.de> wrote:
>>
>>> The limit is in nnrpd/commands.c (search for "30").
>
>> Good catch -- Russ, should we just up this?
>
>Yeah, for right now make it SMBUF.  (This whole area is really ugly.)

Done.

Rone, should you decide to go with CURRENT, it is henceforth
fixed.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: "authinfo user" limit?
#57015
Author: tidal goose
Date: Sat, 02 Mar 2002 06:08
25 lines
1838 bytes
In article <a5pf5j$18m$1@marduk.litech.org>,
Jeffrey M. Vinocur <jeff@litech.org> wrote:
>In article <ylk7svwxrb.fsf@windlord.stanford.edu>,
>Russ Allbery  <rra@stanford.edu> wrote:
>>Jeffrey M Vinocur <jeff@litech.org> writes:
>>> Bettina Fink  <laura@hydrophil.de> wrote:
>>>> The limit is in nnrpd/commands.c (search for "30").

Vielen danke, Bettina!

>Rone, should you decide to go with CURRENT, it is henceforth
>fixed.

On a production system?  I think my boss would find that
unappealing... :)  I'll just s/30/SMBUF/ and recompile nnrpd.

And... it works.  Yay!

rone
-- 
The Thunderthief, he puts us under.   | John Paul Jones' new album,
While we sleep he steals our thunder. |     _The Thunderthief_
All our thunder in a lump             |
he sucks into his thunderpump.        |    www.johnpauljones.com
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