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 "[EMAIL PROTECTED]"
_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"