From owner-freebsd-questions@FreeBSD.ORG Tue May 2 14:58:38 2006 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 8787416A440 for ; Tue, 2 May 2006 14:58:38 +0000 (UTC) (envelope-from vdemart1@tin.it) Received: from vsmtp4.tin.it (vsmtp4.tin.it [212.216.176.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5510A43D53 for ; Tue, 2 May 2006 14:58:35 +0000 (GMT) (envelope-from vdemart1@tin.it) Received: from pswm7.cp.tin.it (192.168.70.27) by vsmtp4.tin.it (7.2.072.1) id 44469C8300B31B24 for freebsd-questions@freebsd.org; Tue, 2 May 2006 16:59:55 +0200 Message-ID: <10af59b8c90.vdemart1@tin.it> Date: Tue, 2 May 2006 15:58:32 +0100 (GMT+01:00) From: Vittorio To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: 194.185.25.72 Subject: public samba share annoyingly asking for password X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vittorio List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 May 2006 14:58:39 -0000 Context: pentium 4, freebsd 6.0, samba 3.0.22, 6 windows 2000, NT,XP samba clients Dear friends, I'm writing to this ML because, googling the net on the subject reported below, it seems that samba works slightly differently according to the platform in which it is installed (I read of differences of behaviour between Fedora and Debian samba installations, or even between FC1 and FC2 installations). I setup a samba server connected to a very large *** original MS-windows LAN *** with the following smb.conf file. The aim is to put in a public read- only share all the programs we need to share. Now, the problem is that at boot time - after logging in the MS-windows client - windows 2000 or NT clients present the user with a pop-up window asking for a password to connect to the public share (I created the 'pcguest' freebsd user as a passwordless user and to 'smbpasswd pcguest' I didn't provide any password at all!). Clicking on OK the share is immediatedly connected and it all works. Nonetheless the pop-up window asking for a password is somewhat disturbing. By the way, windows XP clients don't seem to suffer from the same problem. They connect to the share smoothly, without asking anything as expected! Any idea to solve the problem? Ciao Vittorio ###smb.conf [global] workgroup = mygroup server string = FreeBSD map to guest = Bad User passdb backend = tdbsam security = user guest account = pcguest log file = /var/log/samba/log.% m load printers = No preferred master = No local master = No domain master = No dns proxy = No wins server = 10.100.10.38, 10.100.10.21 hosts allow = 10.100. [homes] comment = Home Directories read only = No browseable = No [public] comment = Deposit path = /home/pcguest guest only = Yes guest ok = Yes