Date: Sat, 26 Mar 2005 16:59:11 +0100 From: Stefan Haglund <stefan.haglund@crystalnorth.com> To: Alejandro Pulver <alejandro@varnet.biz> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Samba problems Message-ID: <424586CF.4030703@crystalnorth.com> In-Reply-To: <20050326122909.06ed9062@ale.varnet.bsd> References: <20050326122909.06ed9062@ale.varnet.bsd>
next in thread | previous in thread | raw e-mail | index | archive | help
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" > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?424586CF.4030703>