Mount samba shares on Boot

Hi,
I am trying to mount two samba shares on boot. I can mount them as root in the command line with the system booted.
my fstab looks like :

Code:
//dlsa@WDMyCloudEX4100/Public    /naswd/Public    smbfs    rw,-I192.168.1.67    0    0
//dlsa@WDMyCloudEX4100/dlsa    /naswd/dlsa    smbfs    rw,-I192.168.1.67    0    0

I have the file /etc/nsmb with the passwod and it looks like :

Code:
[WDMYCLOUDEX4100:DLSA]
password=<password>

I have a symlink to /usr/sbin/mount_smbfs in /sbin like the mount man page refers.

In /etc/rc.local I have :
Code:
extra_netfs_types="smbfs:samba"

My version of FreeBSD is 14.x.

I don't have the foggiest idea why it does not work.

Thanks,
Regards
 
Back
Top