From owner-freebsd-questions@FreeBSD.ORG Tue Mar 29 19:07:19 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 7ED4416A4CE for ; Tue, 29 Mar 2005 19:07:19 +0000 (GMT) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.FreeBSD.org (Postfix) with SMTP id E26DC43D39 for ; Tue, 29 Mar 2005 19:07:18 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 50857 invoked from network); 29 Mar 2005 19:07:17 -0000 Received: from unknown (HELO ale.varnet.bsd) (unknown) by unknown with SMTP; 29 Mar 2005 19:07:17 -0000 X-pair-Authenticated: 200.115.214.28 Date: Tue, 29 Mar 2005 16:08:09 -0300 From: Alejandro Pulver To: Garance A Drosihn Message-ID: <20050329160809.0af1af7c@ale.varnet.bsd> In-Reply-To: References: <20050326122909.06ed9062@ale.varnet.bsd> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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: Tue, 29 Mar 2005 19:07:19 -0000 On Tue, 29 Mar 2005 11:52:15 -0500 Garance A Drosihn wrote: > At 12:29 PM -0300 3/26/05, Alejandro Pulver wrote: > >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'). > > Let me see if I understand the situation: > > You have a FreeBSD box running Samba. You have Win2k boxes > which connect to file shares on that FreeBSD box. When they > do, the PC's can not access partitions on the FreeBSD box, > unless the FreeBSD box has already accessed them. > Yes. > I don't quite understand the reference to NTFS. Are you saying > that the *FreeBSD* box is mounting NTFS partitions, and it then > makes those partitions available to the PC's via Samba? Where > are those NTFS partitions located? Are they on the hard drives > of the FreeBSD box? Or is the FreeBSD box mounting them from > some other file server? > The NTFS slice I mount at '/mnt/w2k' is in the server. I only have two machines. > >Note: I have subdirectories under '/mnt' like 'w2k', 'wxp', > >'cam', and 'tmp'. > > > >What am I doing wrong? > > What *exactly* is your /etc/fstab file? The fact that you > have directories under /mnt does not tell us anything about > what filesystems you are mounting, or how they are getting > mounted. > > -- > Garance Alistair Drosehn = gad@gilead.netel.rpi.edu > Senior Systems Programmer or gad@freebsd.org > Rensselaer Polytechnic Institute or drosih@rpi.edu This is my '/etc/fstab': ==================================================================== # Device Mountpoint FStype Options Dump Pass# /dev/ad2s4b none swap sw 0 0 /dev/ad2s4a / ufs rw 1 1 /dev/ad2s4e /tmp ufs rw 2 2 /dev/ad2s4f /usr ufs rw 2 2 /dev/ad2s4d /var ufs rw 2 2 devfs /dev devfs rw 0 0 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/fd0 /floppy msdosfs rw,noauto 0 0 /dev/ad0s5 /mnt/w2k ntfs ro 0 0 /dev/ad0s1 /mnt/wxp msdosfs rw 0 0 /dev/ad2s1 /mnt/deb ext2fs rw,noauto 0 0 /dev/da0s1 /mnt/cam msdosfs rw,noauto 0 0 procfs /proc procfs rw 0 0 linprocfs /compat/linux/proc linprocfs rw 0 0 ==================================================================== Please see the complete thread (there is more information there). Thanks and Best Regards, Ale