Jontler
October 16th, 2005, 13:05
I know that samba is available to allow windows to view shares in FreeBSD, among other operating systems. That isn't the issue here.

I'm making an effort to move from using Windows as my primary desktop to FreeBSD. I've got most of the gritty little details taken care of, save one - I'd like to access all the music on the Windows machine on the FreeBSD machine, via the network. Is there any possible way to view/mount windows network shares through/on FreeBSD? Can samba do this and I'm not aware of it?

Amicus
October 16th, 2005, 14:38
You're looking for mount_smbfs (or mount -t smbfs). This will allow you to mount SMB shares on FreeBSD.
http://www.freebsd.org/cgi/man.cgi?query=mount_smbfs&apropos=0&sektion=0&manpath=FreeBSD+5.4-RELEASE+and+Ports&format=html <-- Should be what you're looking for.

EXAMPLES
The following example illustrates how to connect to SMB server SAMBA as
user GUEST, and mount shares PUBLIC and TMP:

mount_smbfs -I samba.mydomain.com //guest@samba/public /smb/public
mount_smbfs -I 192.168.20.3 -E koi8-r:cp866 //guest@samba/tmp /smb/tmp

It is possible to use fstab(5) (http://www.freebsd.org/cgi/man.cgi?query=fstab&sektion=5&apropos=0&manpath=FreeBSD+5.4-RELEASE+and+Ports) for smbfs mounts:

//guest@samba/public /smb/public smbfs rw,noauto 0 0Or on your FreeBSD machine type in "man mount_smbfs" (same as the above link).

Good luck :smile:

Jontler
October 16th, 2005, 16:34
worked like a charm, thanks a bunch