[Samba] Prints ok, but says "Access denied, unable to connect". win2k and samba 2.2.1a
halljay at socket.net
halljay at socket.net
Mon Apr 29 13:14:39 GMT 2002
Randy,
You will need to add use client driver = yes to the smb.conf file, or install
the printer drivers so the W2K workstations can download the driver from the
sever.
Hope this helps.
Jay
> I have a small Samba 2.2.1a plus Win2k workgroup. Samba is running on Redhat
> 7.2.
>
> There is a networked laserjet 5000 using a static IP which I can print to
> successfuly from the linux box, and from the win2k workstations via the queue
> on the linux box.
>
> The weird thing is that, on the win2k worksations, if I double click on the
> printer icon the status of the printer is reported as
> "Access denied, unable to connect". Yet it works???
>
> Any ideas.
>
> Here's part of the smb.conf:
> [public]
> path = /usr/local/share/public
> public = yes
> only guest = yes
> writable = yes
> printable = no
>
> [homes]
> comment = Home Directories
> browseable = no
> writable = yes
> valid users = %S
> create mode = 0664
> directory mode = 0775
> # If you want users samba doesn't recognize to be mapped to a guest user
> map to guest = bad user
>
> # A restricted directory for accounting files.
> [accounting]
> comment = Accounting Share
> path = /usr/local/share/accounting
> valid users = kferrone,rliu,ldelvecchio
> public = no
> writable = yes
> printable = no
>
> # A administrative logon for backups
> [private]
> comment = SFB Private Directories
> path = /home
> valid users = jbailey
> public = no
> writable = no
> printable =no
> browseable=no
>
>
> # NOTE: If you have a BSD-style print system there is no need to
> # specifically define each individual printer
> [printers]
> comment = All Printers
> path = /var/spool/samba
> browseable = yes
> valid users = %S
> # Set public = yes to allow user 'guest account' to print
> guest ok = yes
> writable = no
> printable = yes
> public = yes
>
> ....snip
>
>
> Thanks for any suggestions you may have.
>
> /R
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list