From owner-freebsd-questions@FreeBSD.ORG Mon Aug 29 22:56:54 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 40B1016A420 for ; Mon, 29 Aug 2005 22:56:54 +0000 (GMT) (envelope-from northg@shaw.ca) Received: from pd4mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28F5443D55 for ; Mon, 29 Aug 2005 22:56:51 +0000 (GMT) (envelope-from northg@shaw.ca) Received: from pd4mr1so.prod.shaw.ca (pd4mr1so-qfe3.prod.shaw.ca [10.0.141.212]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IM0002A8AD98G50@l-daemon> for freebsd-questions@freebsd.org; Mon, 29 Aug 2005 16:55:57 -0600 (MDT) Received: from pn2ml8so.prod.shaw.ca ([10.0.121.152]) by pd4mr1so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IM0003AAAD95ZI0@pd4mr1so.prod.shaw.ca> for freebsd-questions@freebsd.org; Mon, 29 Aug 2005 16:55:57 -0600 (MDT) Received: from [192.168.0.100] (S0106000f3d63c5a5.vc.shawcable.net [24.85.154.162]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0IM000I3DAD9A7@l-daemon> for freebsd-questions@freebsd.org; Mon, 29 Aug 2005 16:55:57 -0600 (MDT) Received: from 127.0.0.1 (AVG SMTP 7.0.344 [267.10.17]); Mon, 29 Aug 2005 15:56:03 -0700 Date: Mon, 29 Aug 2005 15:56:03 -0700 From: Graham North To: questions freebsd Message-id: <43139283.4010407@shaw.ca> MIME-version: 1.0 Content-type: multipart/mixed; boundary="=======AVGMAIL-431392836D20=======" X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Security level problem with Samba Apsfilter print server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2005 22:56:54 -0000 --=======AVGMAIL-431392836D20======= Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Recently I tried using Samba to print from the WinXP box to a FreeBSD webserver which has been using Samba 2.2.12 successfully to share folders to WinXP. It works - sort of. Problem is Samba keeps applying user level security to printer access. I thought that I could change security to "share" in the [printers} definition but that does not seem to work. Probably a doddle to fix for you pros..! I was able to connect printer to FBSD box, and install it as a printer in WinXP, however if I shutdown WinXP then the next time I boot WinXP my printer is inaccessible until I "login" to my FBSD file shares using a user id. There are lots of settings which I have tried which are currently commented out as they did not seem to be effective. Help with this would be greatly appreciated as I do not want to have to "login" to my webserver every time I need to print from Windows. Here is my smb.conf: (sorry the [printers] is at bottom) #======================= Global Settings ===================================== [global] printing = BSD workgroup = DELNORTE encrypt passwords = yes server string = soleado server hosts allow = 127.0.0.1 192.168.0.100 192.168.0.101 192.168.0.102 192.168.0.103 printcap = /etc/printcap load printers = yes log file = /var/log/log.%m max log size = 50 security = user socket options = TCP_NODELAY wins support = no #============================ Share Definitions ============================== [gn] comment = Soleado WebServer path = /home/gn browseable = yes writeable = yes read only = no [configs] comment = Soleado Configs path = /home/soleado_configs browseable = yes writeable = yes read only = no [wqs] comment = WQS WebServer path = /home/wqs browseable = yes writeable = yes read only = no # NOTE: If you have a BSD-style print system there is no need to #20060826 Opened up printer section again. [printers] comment = All Printers path = /var/spool/lpd # print command = /usr/bin/lpr -P%p -r %s public = yes browseable = no # security = share # set client driver use to no use client driver = yes # Set public = yes to allow user 'guest account' to print guest ok = yes # guest account = nobody # writeable = yes printable = yes printer = lp -- Kindness can be infectious - try it. Graham North Vancouver, BC www.soleado.ca --=======AVGMAIL-431392836D20======= Content-Type: text/plain; x-avg=cert; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-Description: "AVG certification" No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 8/29/2005 --=======AVGMAIL-431392836D20=======--