From owner-freebsd-questions@FreeBSD.ORG Sat Mar 26 15:59:14 2005 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 69EB316A4CE for ; Sat, 26 Mar 2005 15:59:14 +0000 (GMT) Received: from av6-2-sn3.vrr.skanova.net (av6-2-sn3.vrr.skanova.net [81.228.9.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC61F43D2F for ; Sat, 26 Mar 2005 15:59:13 +0000 (GMT) (envelope-from stefan.haglund@crystalnorth.com) Received: by av6-2-sn3.vrr.skanova.net (Postfix, from userid 502) id 7B91637FD5; Sat, 26 Mar 2005 16:59:12 +0100 (CET) Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av6-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 68A5B37EB3; Sat, 26 Mar 2005 16:59:12 +0100 (CET) Received: from [192.168.1.150] (h194n4fls310o253.telia.com [81.229.63.194]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id BEBA737E44; Sat, 26 Mar 2005 16:59:11 +0100 (CET) Message-ID: <424586CF.4030703@crystalnorth.com> Date: Sat, 26 Mar 2005 16:59:11 +0100 From: Stefan Haglund User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: sv, en-us, en MIME-Version: 1.0 To: Alejandro Pulver References: <20050326122909.06ed9062@ale.varnet.bsd> In-Reply-To: <20050326122909.06ed9062@ale.varnet.bsd> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions Subject: Re: Samba problems 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: Sat, 26 Mar 2005 15:59:14 -0000 First of all, make sure those mounts are accessible for normal users, if you haven't. It's under the options for the mount in /etc/fstab, I think. You can always do a 'man fstab' if unsure. Does the username/password (check out 'smbpasswd') you are using to connect to samba exist in the samba user database? If not, samba won't know who you are, and will use the default guest user to access files (usually very restricted). That might be why you can access the mounts when you log in to the server, but not through server. If you go with the first, ALL users will have access. If you want to restrict it to, say, a certain group, you have to go with the second solution I think (and add users in the samba user database). Hope I got the issue correctly, else I dunno :-). Regards, Stefan Haglund >Hello, > >I am using FreeBSD 5.3 with Samba 3.0.7,1. > >I can read all files from a Windows 2000 Pro. But when >I try to access a mount point that is an NTFS filesystem, I have no read >permission (files and directories appear as zero length files) until I >access them from the server machine (like doing an 'ls'). > >My configuration file is as follows: > >===== BEGIN ===== ># Samba config file created using SWAT ># from 127.0.0.1 (127.0.0.1) ># Date: 2004/12/11 19:24:02 > ># Global parameters >[global] > workgroup = VARNET > server string = FreeBSD 5.3 > security = SHARE > log file = /var/log/samba/log.%m > max log size = 50 > dns proxy = No > >[mnt] > comment = Mounted Filesystems > path = /mnt > guest ok = Yes > >[printers] > comment = All Printers > path = /var/spool/samba > printable = Yes > browseable = No > >[ale] > comment = Ale's Home DIrectory > path = /home/ale > guest ok = Yes >===== END ======= > >Note: I have subdirectories under '/mnt' like 'w2k', 'wxp', 'cam', and >'tmp'. > >What am I doing wrong? > >Thanks and Best Regards, >Ale >_______________________________________________ >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" > > >