Samba, Cups and Printing: Windows client gives "Access denied"

T Kellers kellers at njit.edu
Thu Jan 1 07:50:12 PST 2004


Do you have a guest account on the FreeBSD box?  I got that error when Windows 
was using an account that Samba didn't recognize.

Tim

On Thursday 01 January 2004 08:32 am, Phil Payne wrote:
> Hi,
>
> I've got an HP printer on USB port on Freebsd 4-Stable box. Printer is
> on /dev/ulpt0. Installed cups and printing from BSD is fine.
>
> Had samba installed and working great for filesharing. Now introduced an
> all printers share to share this printer. Printer is browseable from
> windows machine.
>
> When I install this printer on a Win2K machine (and use local drivers) I
> get "Access Denied, Unable to Connect." Unlike some other people's
> experience I cannot print to the printer despite this message.
>
> I've found lots of references to others having this problem on BSD and
> LINUX on the web but no resolutions.
>
> Of course, BSD questions is where all the really clever people hang out
> so someone here is bound to know ;-)
>
> I couldn't find any resolution in the mailing list archive so does
> anyone know of an answer or is this a bug in operation between Winblows
> and Samba?
>
> Below is the global and printers sections of my smb.conf. This was
> generated by webmin but I do understand and have written smb.conf
> manually in past.
>
> Thanks,
> Phil
>
> [global]
>         log file = /var/log/log.%m
>         max log size = 50
>         interfaces = 192.168.100.254/255.255.255.0
>         dns proxy = no
>         printing = cups
>         encrypt passwords = yes
>         path = /var/spool/samba
>         server string = FRANKS SERVER
>         socket address = 192.168.100.254
>         allow hosts = 192.168.100. 127.
>         workgroup = FRANKS
>         socket options = TCP_NODELAY
>         netbios name = PPSERVER
>         keepalive = 300
>         load printers = yes
>         security = user
>         os level = 20
>
> [printers]
>         printable = yes
>         guest only = yes
>         printer = PPPR
>         public = yes
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list