home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25685 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.4 KB

  1. Path: sparky!uunet!munnari.oz.au!sgiblab!spool.mu.edu!howland.reston.ans.net!usc!cs.utexas.edu!torn!utgpu!attcan!sobeco!comback!solucor!jack
  2. From: jack@solucorp.qc.ca (Jacques Gelinas)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Problem with lpr/lpd solved?
  5. Message-ID: <1993Jan27.022133.10890@solucorp.qc.ca>
  6. Date: 27 Jan 93 02:21:33 GMT
  7. References: <1993Jan23.112103.2473@mpifr-bonn.mpg.de> <GTAYLOR.93Jan24155850@jade.tufts.edu>
  8. Organization: solucorp
  9. Lines: 33
  10.  
  11. gtaylor@jade.tufts.edu (Grant Taylor) writes:
  12.  
  13. >i'm having the same problems...  i can't for the life of me get it to
  14. >work...  i set all the perms exactly according to the readme, and it
  15. >hasn't gotten me anywhere...  i string|grepped the lpd binary, and the
  16. >only lpd in it is /usr/spool/lpd, so i made a link there figuring it
  17. >couldnt find it and that too didn't work...  
  18.  
  19. >if anyone as a clue, please tell us what we're missing...  
  20.  
  21. I have try porting lpd.c from BSD distribution. I have found
  22. this.
  23.  
  24. There is a bug in lpd.c. The bind system call is not call with
  25. proper argument.
  26.  
  27. Currently you read:
  28.  
  29.     bind (..., (SOCKETADR *) &sun, strlen(sun...));
  30.  
  31. You should read
  32.  
  33.     bind (..., (SOCKETADR *)&sun, sizeof sun);
  34.  
  35.  
  36. I may send binary or source to anyone. My version is not using
  37. syslog however. Ask if you can't get anything better!
  38.  
  39. -- 
  40.  
  41. --------------------------------------------------------
  42. Jacques Gelinas (jacques@solucorp.qc.ca)
  43. Maintainer of US4BINR jacques@us4binr.login.qc.ca
  44.