Mount smbfs

Note: You probably don't want smbfs. See notes below. I have found that on the server side it is necessary to set: HKLM\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\enablesecuritysignature ...as well as... HKLM\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\requiresecuritysignature
 * 1) Compile a kernel ensuring that the following are defined:
 * 2) *file-system SMBFS
 * 3) *pseudo-device nsmb
 * 4) Install the new kernel and reboot.
 * 5) cd /dev
 * 6) sh MAKEDEV nsmb
 * 7) Check out the mount_smbfs man page for reference on a command to use. Here's what I've used successfully:
 * 8) *mount_smbfs -I [Server IP] -W [domain] //[user]@[servername]/[Share Name] /mnt
 * 9) *The domain and servername do not necessarily need to be fully qualified.
 * 10) Observe the share is mounted on /mnt.
 * 11) umount /mnt to unmount the share.

...to 0 in order to even connect. Once the mount is made successfully though, I encounter "permission denied" errors attempting to create new files. I have not resolved this issue at the current time. It may be time for an SMBFS code overhaul though, as I also experience NetBSD kernel panics doing a directory listing on an smbfs filesystem mount point after it has been unmounted.

David Ross 07:54, January 12, 2010 (UTC)