stefan.haglund at crystalnorth.com
Sat Mar 26 07:59:14 PST 2005
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 :-).
>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
> workgroup = VARNET
> server string = FreeBSD 5.3
> security = SHARE
> log file = /var/log/samba/log.%m
> max log size = 50
> dns proxy = No
> comment = Mounted Filesystems
> path = /mnt
> guest ok = Yes
> comment = All Printers
> path = /var/spool/samba
> printable = Yes
> browseable = No
> comment = Ale's Home DIrectory
> path = /home/ale
> guest ok = Yes
>===== END =======
>Note: I have subdirectories under '/mnt' like 'w2k', 'wxp', 'cam', and
>What am I doing wrong?
>Thanks and Best Regards,
>freebsd-questions at freebsd.org mailing list
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions