From owner-freebsd-questions@FreeBSD.ORG Tue Jul 26 08:16:50 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 2893616A41F for ; Tue, 26 Jul 2005 08:16:50 +0000 (GMT) (envelope-from Joerg.Pulz@frm2.tum.de) Received: from mailhost.frm2.tum.de (mailhost.frm2.tum.de [129.187.179.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 544C743D4C for ; Tue, 26 Jul 2005 08:16:46 +0000 (GMT) (envelope-from Joerg.Pulz@frm2.tum.de) Received: from localhost (mailhost.frm2.tum.de [129.187.179.12]) by mailhost.frm2.tum.de (8.13.3/8.13.1) with ESMTP id j6Q8Gj8v049490; Tue, 26 Jul 2005 10:16:45 +0200 (CEST) (envelope-from jpulz@frm2.tum.de) Received: from hades.admin.frm2 (hades.admin.frm2 [172.25.1.10]) by mailhost.frm2.tum.de (8.13.3/8.13.1) with ESMTP id j6Q8Gexf049482 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 26 Jul 2005 10:16:40 +0200 (CEST) (envelope-from jpulz@frm2.tum.de) Received: from hades.admin.frm2 (localhost [127.0.0.1]) by hades.admin.frm2 (8.13.3/8.13.3) with ESMTP id j6Q8GeJW004148; Tue, 26 Jul 2005 10:16:40 +0200 (CEST) (envelope-from jpulz@frm2.tum.de) Received: (from jpulz@localhost) by hades.admin.frm2 (8.13.3/8.13.3/Submit) id j6Q8Getf004147; Tue, 26 Jul 2005 10:16:40 +0200 (CEST) (envelope-from jpulz) Date: Tue, 26 Jul 2005 10:16:37 +0200 (CEST) From: Joerg Pulz To: Graham Bentley In-Reply-To: <50840.81.174.174.115.1122364591.squirrel@maxproxy1.uk2net.com> Message-ID: <20050726100052.P72944@hades.admin.frm2> References: <20050726020239.195DD16A428@hub.freebsd.org> <50840.81.174.174.115.1122364591.squirrel@maxproxy1.uk2net.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: at mailhost.frm2.tum.de Cc: freebsd-questions@freebsd.org Subject: Re: Samba without Cups ? 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: Tue, 26 Jul 2005 08:16:50 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 26 Jul 2005, Graham Bentley wrote: > I just want file sharing, not printing. > > pkg_add -r samba3 also pulls in cups then my smb log > complains ... > > [2005/07/26 00:31:17, 0] printing/print_cups.c:cups_cache_reload(85) > Unable to connect to CUPS server localhost - Connection refused > > (I havent enabled cups daemon) > > but insists ; > > Global parameter load printers found in service section! > > even thought I have printers = no in my smb.conf ??? > > Anyone know how to stop Samba trying to pal up with cups ? Hi, tha package build defaults to build with cups printing support. so if you use the package, you will always get cups installed as a dependency. if you want to entirely remove this dependency you have to build this port from source.and you need to run "make config" in the ports directory and should deslect the CUPS option. setting "load printers = no" in smb.conf should prevent samba from acquiring any printers at all and you should not see the error message. As far as i remember, there is NO "printers = no" option for smb.conf. You should run testparm(1) to verify the options used in your smb.conf file. Joerg - -- The beginning is the most important part of the work. -Plato -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC5fFoSPOsGF+KA+MRAsmmAJ4thkbwb7AKjgeXIlds+otzPmCDcgCcCQs1 t5RnGpxL5gRVGHXh2F5gmeE= =G2bT -----END PGP SIGNATURE-----