[Samba] Prints ok, but says "Access denied, unable to connect". win2k and samba 2.2.1a

Randy S randoms at yahoo.com
Mon Apr 29 12:54:03 GMT 2002

I have a small Samba 2.2.1a plus Win2k workgroup. Samba is running on Redhat

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:
   path = /usr/local/share/public
   public = yes
   only guest = yes
   writable = yes
   printable = no

   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.
   comment = Accounting Share
   path = /usr/local/share/accounting
   valid users = kferrone,rliu,ldelvecchio
   public = no
   writable = yes
   printable = no

# A administrative logon for backups
        comment = SFB Private Directories
        path = /home
        valid users = jbailey
        public = no
        writable = no
        printable =no

# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
        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


Thanks for any suggestions you may have.


Do You Yahoo!?
Yahoo! Health - your guide to health and wellness

More information about the samba mailing list