Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jeff Odom <zeus@jhu.edu>
Subject: Re: lpd?
Date: Wed, 28 May 1997 11:23:07 -0400 (xyUU\x01)	[thread overview]
Message-ID: <be5e0b6b8d1d3d4f5660b89177bda44e.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.95.970523141600.384A-100000@blah.together.net>

> I'm trying to use a UDB as a lpd server for an i386 linux box, but each
> time the i386 box tries to issue a request, I get one of these:
> 
> lpd: memory violation at pc=12000c698 rp=155557099f4 (bad address =
> 00000000)
> 
> Doing an strace shows a seg. fault occuring just after lpd opens
> /etc/hosts.lpd.
> 
> I'm running RedHat 4.1, but I tried the updated 4.2 lpr package (the
> non-intel one ;)) and I get the same thing.  Is there a working version of
> lpd somewhere??

Looks like the same problem that's been around since RH4.0. The newer
versions of lpd use a low-level, undocumented (but then who needs
documentation -- we've got source!) routine from the pam library called
__ivaliduser() to check if the incoming machine/user is authorized to
print.  Unfortunately, this seg faults.

IMHO, this really should be moved from a low-level pam routine to a
regular pam call for authentication. After all, that's the point of PAM,
right? So I wrote a pam module called pam_file_auth (sources courtesy of
Al Longyear) to do the authentication.  Seems to have fixed it for my lab
(which is currently 5 axp's and 2 ppros, all running linux).

If you'd like the sources, I can email them to you (these being for 4.1 -
they'll need changes for 4.2).  Or if enough people are interested, I can
post them.

Jeff Odom
System Administrator
The Johns Hopkins Krieger Mind/Brain Institute

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

  parent reply	other threads:[~1997-05-28 15:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.95.970523141600.384A-100000@blah.together.net>
1997-05-27 13:40 ` lpd? Edward van der Jagt
1997-05-28 15:23 ` Jeff Odom [this message]
1997-05-23 18:19 lpd? Shane DeRidder
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox