Well, I figured it out and want to share my success!

It turns out that on RH8.0, the default in /etc/lpd.perms is
# allow local job submissions only
REJECT SERVICE=X NOT SERVER

Bingo!  comment out the above line, restart lpd on all systems and there you
are.

Thanks for all the pointers everyone, they helped me in my research.

--- Susan Macchia <[EMAIL PROTECTED]> wrote:
> Yes I am using LPRng.  I looked at /etc/lpd.perms and DEFAULT ACCEPT is the
> last line.  I looked on the RH website and read everything I could and have
> added /etc/hosts.lpd to list all of the hosts that will print.  Restarted lpd
> on all systems, and still the same "no connect permissions".  I just can't
> figure out what is going on.  I may try rlpr as a work around (if that will
> even work).
> 
> I've compared my configuration with the one at work and they are just about
> identical, so I am pretty much stumped.
> 
> Anyway, my husband and son are getting quite annoyed with me because they
> always have to ask me to get something printed from one of the other
> machines...They keep asking, "When are you going to fix printing?".
> 
> Sigh
> 
> 
> Joel Hammer wrote:
> > Are you using LPRng? If so, have you looked at /etc/lpd.perms?
> > Here is all I have in mind:
> > DEFAULT ACCEPT
> > Joel
> > 
> > On Wed, Mar 19, 2003 at 04:05:22AM -0800, Susan Macchia wrote:
> > > Ok, so I tried removing the filter on strider (remember gandalf has the
> > > printer, strider is a client trying to print to gandalf's printer; both
> run
> RH
> > > 8.0).  And I still see the same result.
> > > 
> > > The printcap now looks like:
> > > 
> > > lp:\
> > >         :ml#0:\
> > >         :mx#0:\
> > >         :sd=/var/spool/lpd/lp:\
> > >         :af=/var/spool/lpd/lp/lp.acct:\
> > >         :sh:\
> > >         :rm=gandalf.smacchia.net:\
> > >         :rp=lp:
> > > 
> > > And when I do an lpq after trying to print, I see:
> > > 
> > > Printer: [EMAIL PROTECTED] (dest [EMAIL PROTECTED])
> > >  Queue: no printable jobs in queue
> > >  Server: no server active
> > >  Status: keeping error job '[EMAIL PROTECTED]' at 06:59:33.063
> > >  Rank   Owner/ID                  Class Job Files                 Size
> Time
> > > error  [EMAIL PROTECTED]              A    29 ERROR: job removal requested
> > > no connect permissions
> > > 
> > > 
> > > Neither machine has a firewall and telnet, rsh, rlogin services are
> available
> > > on gandalf.
> > > 
> > > Any help here is much appreciated.
> > > 
> > > Joel Hammer wrote:
> > > > I would wonder if you are trying to filter the job twice, once on the
> client
> > > > and once on the server.
> > > > I don't know which printing software you are using. LPRng has lpd.perms
> > > > which controls who can and cannot access the printing software.
> > > > Joel
> 
> =====
> _____________________________
> Susan Macchia
> mailto:[EMAIL PROTECTED]
> _____________________________
> 
> - Running Linux - because life is too short for reboots...
> 


=====
_____________________________
Susan Macchia
mailto:[EMAIL PROTECTED]
_____________________________

- Running Linux - because life is too short for reboots...
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to