Unix Printer for Windows clients
organix4 at mindspring.com
Tue Oct 17 14:03:46 GMT 2000
Check the Unix permissions on your /var/spool/lpd/hpdj directory. I suspect
it is not allowing writes. I have my printers pointing to /var/spool/samba
and it looks like this:
drwxrwxrwt 2 root root 4096 Oct 17 09:00 /var/spool/samba
I hope this helps. (I've been bitten by this one myself.)
----- Original Message -----
From: "Odhiambo Washington" <wash at iconnect.co.ke>
To: "Samba Worries!" <samba at lists.samba.org>
Sent: Tuesday, October 17, 2000 8:47 AM
Subject: Unix Printer for Windows clients
> Hi sharers,
> I have samba in two servers, each running as "domain controllers". All the
> Windows computers in our LAN are grouped into one domain -"DOMAIN A". I
> also have a second Unix box running Samba and has its own domain
> -"DOMAIN B"
> I have an HP DJ 895C on this computer on DOMAIN B and I have shared it as
> [snip smb.conf]
> load printers = yes
> comment = All Printers
> path = /var/spool/samba
> browseable = no
> # Set public = yes to allow user 'guest account' to print
> guest ok = yes
> writeable = yes
> printable = yes
> public =no
> valid users = accmsa
> create mode = 0777
> path = /var/spool/lpd/hpdj
> printer name = hpdj
> writable = yes
> public = yes
> printable = yes
> valid users = accmsa wash
> ; print command = /usr/bin/lpr -P%p -r %s; rm %s
> Now everytime I try to install the printer on a Windows PC I get the error
> "There was an error writing to \\ServerNAME\printername for printer
> (Printer_name). The network name cannot be found. The printer will be set
> to work offline."
> So essentially that denies me the use of the printer....and the Windows
> lusers want to access it.Hell, I am the sysadmin and so I am in big
> problem. I don't give a damn if anyone on the Internet accessed this
> DOMAN B is on 24hrs.
> Would someone point out the errors I've made in smb.conf or elsewhere? i
> just need to give all PCs on this subnet access to the printer.
> Thank you.
> Odhiambo Washington Inter-Connect Ltd.,
> wash at iconnect.co.ke 5th Flr Furaha Plaza
> Tel: 254 11 222604 Nkrumah Rd.,
> Fax: 254 11 222636 PO Box 83613 MOMBASA, KENYA.
> Be frank and explicit with your lawyer... it is his business to confuse
> issue afterwards.
More information about the samba