From owner-freebsd-questions@FreeBSD.ORG Thu Jan 1 05:35:23 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 E5F5316A4CE for ; Thu, 1 Jan 2004 05:35:23 -0800 (PST) Received: from shockwave.systems.pipex.net (shockwave.systems.pipex.net [62.241.160.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6883543D8A for ; Thu, 1 Jan 2004 05:34:21 -0800 (PST) (envelope-from phil@sal-n-phil.net) Received: from ext-gw.pp.internal (81-178-227-215.dsl.pipex.com [81.178.227.215]) by shockwave.systems.pipex.net (Postfix) with ESMTP id D50301C00223 for ; Thu, 1 Jan 2004 13:32:55 +0000 (GMT) From: Phil Payne To: freebsd-questions@freebsd.org Date: Thu, 1 Jan 2004 13:32:55 +0000 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401011332.55814.phil@sal-n-phil.net> Subject: 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 13:35:24 -0000 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