From owner-freebsd-questions@FreeBSD.ORG Sat Mar 26 16:53:51 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 AEA1C16A4CE for ; Sat, 26 Mar 2005 16:53:51 +0000 (GMT) Received: from relay.pair.com (relay00.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 14B5C43D1F for ; Sat, 26 Mar 2005 16:53:51 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 89393 invoked from network); 26 Mar 2005 16:53:50 -0000 Received: from unknown (HELO ale.varnet.bsd) (unknown) by unknown with SMTP; 26 Mar 2005 16:53:50 -0000 X-pair-Authenticated: 200.115.214.28 Date: Sat, 26 Mar 2005 13:54:37 -0300 From: Alejandro Pulver To: Stefan Haglund Message-ID: <20050326135437.44b5d481@ale.varnet.bsd> In-Reply-To: <424586CF.4030703@crystalnorth.com> References: <20050326122909.06ed9062@ale.varnet.bsd> <424586CF.4030703@crystalnorth.com> 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: Sat, 26 Mar 2005 16:53:51 -0000 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