[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#3123: (no subject)



To: debian-bugs@pixar.com
From: jpenny@mindspring.com
Subject: rpc.bnfsd invokes wrong print spooler

Package: netstd
Version: 2.03-1 (and every other version)

  rpc.bwnfsd attemps to use /usr/bin/lp to redirect printing.
  In lines 123 through 130, the SYSVish print command should be
  changed to the BSDish equivalent.
  i.e.
  #ifdef LINUX
        argys[ac++]="/usr/bin/lp";
        argys[ac++]="lp";
        argys[ac++]="-d";
        argys[ac++]=printer;
        argys[ac++]="-c";
  #else

  should be replaced by :
  #ifdef LINUX
        argys[ac++]="/usr/bin/lpr";
        argys[ac++]="lpr";
        argys[ac++]="-P";
        argys[ac++]=printer;
        argys[ac++]="-r";
  #else

This seems to be a very old bug in rpc.bwnfsd, as I have seen it in virtually
every distribution; but should be fixed, as it prevents printer sharing
under DOS TCP clients.


Reply to: