From owner-freebsd-questions Tue Sep 18 14: 3:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 992BA37B40A; Tue, 18 Sep 2001 14:03:16 -0700 (PDT) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id OAA04894; Tue, 18 Sep 2001 14:02:58 -0700 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda04892; Tue Sep 18 14:02:47 2001 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.6/8.9.1) id f8IL2l781977; Tue, 18 Sep 2001 14:02:47 -0700 (PDT) Received: from UNKNOWN(10.1.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdS81740; Tue Sep 18 14:02:09 2001 Received: (from smtpd@localhost) by cwsys.cwsent.com (8.11.6/8.9.1) id f8IL29h65842; Tue, 18 Sep 2001 14:02:09 -0700 (PDT) Message-Id: <200109182102.f8IL29h65842@cwsys.cwsent.com> X-Authentication-Warning: cwsys.cwsent.com: smtpd set sender to using -f Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdw65838; Tue Sep 18 14:01:53 2001 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-Sender: schubert To: Hajimu UMEMOTO Cc: ohartman@klima.physik.uni-mainz.de, freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: LPD problems in 4.4-STABLE In-reply-to: Your message of "Wed, 19 Sep 2001 03:20:39 +0900." <20010919.032039.74711539.ume@mahoroba.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 18 Sep 2001 14:01:53 -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20010919.032039.74711539.ume@mahoroba.org>, Hajimu UMEMOTO writes: > Hi, > > >>>>> On Tue, 18 Sep 2001 16:09:32 +0200 (CEST) > >>>>> "Hartmann, O." said: > > ohartman> Well, it sounds very strange that only root is excluded from access > to > ohartman> the lpd. Please help. > > It is expected behavior. FreeBSD's lpd had been broken for a long > time, and recently fixed accidentally. > However, many clients break lpr's traditional scheme. So, new option > -W was added. From man lpd: > > -W By default, the lpd daemon will only accept connections which > originate from a reserved-port (<1024) on the remote host. The > -W flag causes lpd to accept connections coming from any port. > This is can be useful when you want to accept print jobs from > certain implementations of lpr written for Windows. RFC 1179 states that LPD connections should originate from ports 721-731. I know of only one LPD, MVS TCP/IP Print Services, that enforces this. I think it's fine to have an LPD option or options that allows print to come from non-standard ports, e.g. < 1024 or any port, however should LPR/LPD conform to the standard? Having said that, all UNIX systems I've worked on, except for AIX, do not completely adhere to the RFC, hence printing from non-conforming systems would definitely break. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/Alpha Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD Ministry of Management Services Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message