Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!kth.se!ugle.unit.no!mack.uit.no!stud.cs.uit.no!gaute From: gaute@stud.cs.uit.no (Gaute Nessan) Newsgroups: comp.sys.hp Subject: Re: Canceling remote print jobs Message-ID: <1991May15.142107.25132@mack.uit.no> Date: 15 May 91 14:21:07 GMT References: <1991May14.192739.546@sunee.waterloo.edu> Sender: news@mack.uit.no (USENET News System) Organization: University of Tromsoe, Norway Lines: 27 In article <1991May14.192739.546@sunee.waterloo.edu> gordon@maxwell.waterloo.edu (Gordon R. Strachan) writes: >... The user on the sun then attempts to >cancel the print job. If he types lprm -Pprinter, nothing happens. If he >types lprm -Pprinter userid or lprm -Pprinter jobID then the following error >is retured > >Maxwell: cfA034bbcr: Permission denied > >... > >Anybody seen this one before? Got any idea how to fix it? The problem is that the rlpdaemon uses gethostbyaddr() to get the hostname of the peer host. gethostbyaddr returns a domain qualified name (aaa.bbb.edu). That name is different from the hostname in the spooling queue, and you get the error message "Permission denied". I have a patched version available by anonymous ftp to hpserv1.cs.uit.no (HP/rlpdaemon.Z). >Thanks >Gordon Gaute -- //// Gaute Nessan // Email: gaute@staff.cs.uit.no / /// Computer Science Department // // // University of Tromsoe // Fax: +47 83 44580 /// / N-9000 Tromsoe, NORWAY // Phone:+47 83 44053 ////