* Lance Hoffmeyer ([EMAIL PROTECTED]) spake thusly: > I have cups installed and I am trying to setup a Win2000 > machine to print. Samba is configured and working, I have > shared drives. I changed the smb.conf file > > printing = cups > printcap name = lpstat (which is not in docs) > > and when I go to install printer on Win2000 > it finds the printer but once I have the > printer installed on Win2000 it says > "Access denied, cannot connect". How can I > fix this?
What does samba log say? FWIW, here are parts of smb.conf on our samba-2.2.1a PDC. Printing works fine with these, including "Add printer" wizard on w2k. Note however, that it's from a Solaris box, not Debian -- Y paths etc. MV. printer admin = @sysadmin,root printing = cups load printers = yes print command = /usr/bin/lp -c -d %p %s && /usr/bin/rm %s lpq command = /usr/bin/lpstat -p %p printcap name = lpstat [print$] path = /usr/local/samba/printers guest ok = yes browseable = yes readonly = yes write list = @sysadmin,root [gutenberg] comment = HP LaserJet 4000 T path = /var/spool/samba browseable = yes public = yes guest ok = yes writable = no printable = yes [rembrandt] comment = HP Colour LaserJet 4500DN path = /var/spool/samba browseable = yes public = yes guest ok = yes writable = no printable = yes RTFM on [print$] share. Dima -- I like the US government, makes the Aussie one look less dumb and THAT is a pretty big effort. -- Craig Small