« Redhat up2date error | Main | Installing OpenBSD on an AR-B9637 »

Samba mounts from fstab in FreeBSD

For some reason it seems very difficult to get Samba mounts to work from FreeBSD's fstab. I think I've got the (a?) magic formula:

<fstab>
//bob@sambaserver/share        /the/local/mount/point  smbfs   rw,noauto,-I=10.11.12.13      0 0
</fstab>

where:

bob = username
sambaserver = netbios server name
share = share name
10.11.12.13 = IP address of sambaserver

and

<.nsmbrc>
[SAMBASERVER:BOB]
password=bobspassword
</.nsmbrc>

Put .nsmbrc in root's home directory and make sure it isn't readable by anyone else. The bit in square brakets needs to be in capitals.

About

This page contains a single entry from the blog

The previous post in this blog was Redhat up2date error.

The next post in this blog is Installing OpenBSD on an AR-B9637.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.33