gaute@stud.cs.uit.no (Gaute Nessan) (05/16/91)
Archive-name: fixes/hpux-fixes/hpux-rlpdaemon/1991-05-15 Archive: hpserv1.cs.uit.no:HP/rlpdaemon.Z [128.39.70.50] Original-posting-by: gaute@stud.cs.uit.no (Gaute Nessan) Original-subject: Re: Canceling remote print jobs Reposted-by: emv@msen.com (Edward Vielmetti, MSEN) 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 //// -- comp.archives file verification hpserv1.cs.uit.no -rw-r--r-- 1 root other 85171 May 15 15:19 HP/rlpdaemon.Z found hpux-rlpdaemon ok hpserv1.cs.uit.no:HP/rlpdaemon.Z