Hi everyone and Merry Christmas.
I searched the forum for my problem but I stil can't solve it.
Please can someone help me with this problem.
I would like to mount a samba share on an mac machine from FreeBSD. The following is my entry in the /etc/fstab file.
The above works but I have to enter a password every time freebsd restart.
Then I created a /root/.nsmbrc file with the following content, but it doesn't work for me
Can someone please tell me first how to get rid of password prompt at boot and how to automate mounting the share.
I don't mind putting password in the /etc/fstab file. But it seems it doesn't work in FreeBSD. I have searched online and seen that people can put password in linux but not in FreeBSD.
I would prefer password in /etc/fstab than on /root/.nsmbrc file.
Any help is very much appreciated.
Thanks
SaMMY
I searched the forum for my problem but I stil can't solve it.
Please can someone help me with this problem.
I would like to mount a samba share on an mac machine from FreeBSD. The following is my entry in the /etc/fstab file.
Code:
//username@host/share /mnt/share smbfs rw 0 0
The above works but I have to enter a password every time freebsd restart.
Then I created a /root/.nsmbrc file with the following content, but it doesn't work for me
Code:
[host]
password=secret
Can someone please tell me first how to get rid of password prompt at boot and how to automate mounting the share.
I don't mind putting password in the /etc/fstab file. But it seems it doesn't work in FreeBSD. I have searched online and seen that people can put password in linux but not in FreeBSD.
I would prefer password in /etc/fstab than on /root/.nsmbrc file.
Any help is very much appreciated.
Thanks
SaMMY