From owner-freebsd-questions@FreeBSD.ORG Thu Jan 1 07:50:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FD8416A4CE for ; Thu, 1 Jan 2004 07:50:12 -0800 (PST) Received: from mta14.srv.hcvlny.cv.net (mta14.srv.hcvlny.cv.net [167.206.5.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1988F43D1D for ; Thu, 1 Jan 2004 07:50:11 -0800 (PST) (envelope-from kellers@njit.edu) Received: from 10.0.1.9 (ool-4353d5dd.dyn.optonline.net [67.83.213.221]) by mta14.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HQT005DOINBMT@mta14.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Thu, 01 Jan 2004 10:50:00 -0500 (EST) Date: Thu, 01 Jan 2004 10:50:08 -0500 From: T Kellers In-reply-to: <200401011332.55814.phil@sal-n-phil.net> To: Phil Payne , freebsd-questions@freebsd.org Message-id: <200401011050.08439.kellers@njit.edu> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: KMail/1.5.4 References: <200401011332.55814.phil@sal-n-phil.net> Subject: Re: Samba, Cups and Printing: Windows client gives "Access denied" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 15:50:12 -0000 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"