From owner-freebsd-questions@FreeBSD.ORG Sat Mar 26 16:58:18 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 ED2E716A4CE for ; Sat, 26 Mar 2005 16:58:18 +0000 (GMT) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 554FD43D31 for ; Sat, 26 Mar 2005 16:58:18 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 62100 invoked from network); 26 Mar 2005 16:58:16 -0000 Received: from unknown (HELO ale.varnet.bsd) (unknown) by unknown with SMTP; 26 Mar 2005 16:58:16 -0000 X-pair-Authenticated: 200.115.214.28 Date: Sat, 26 Mar 2005 13:59:06 -0300 From: Alejandro Pulver To: Alejandro Pulver Message-ID: <20050326135906.199ef70e@ale.varnet.bsd> In-Reply-To: <20050326135437.44b5d481@ale.varnet.bsd> References: <20050326122909.06ed9062@ale.varnet.bsd> <424586CF.4030703@crystalnorth.com> <20050326135437.44b5d481@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: Stefan Haglund 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 16:58:19 -0000 On Sat, 26 Mar 2005 13:54:37 -0300 Alejandro Pulver wrote: > On Sat, 26 Mar 2005 16:59:11 +0100 > Stefan Haglund wrote: > > > > 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, > > Thank you for your reply. > > I am using the security level "SHARE" with "guest" enabled (I have > only two machines on my network). > > The mounts are accessible by normal users (like "ale"), the > permissions in '/mnt/w2k/' are 'rwxr-xr-x', the owner is "root" and > group "wheel". > > I would like to add that I also have another share that is a FAT32 > partition (WinXP) and I can browse it from the other machine (like > everything else). > > I tried to map the guest account to the user "ale" that I use (and I > can access '/mnt/w2k'), but nothing happened. > > This only happens in a NTFS mount point. The files and directories > show as truncated, and I can not "see" (determine size, copy, > determine if it is a file or directory, etc.) them until I do an > operation over them with any normal user in the server, then I can see > the files/dirs affected by the operation I did (ls, etc.). Before I > only see the entries (names) without attributes (permissions, > directory flag, etc.). > > Thanks and Best Regards, > Ale I even tried mapping the guest account to root but it still does not work. Thanks and Best Regards, Ale