I am running Gentoo. I am trying to get my /etc/fstab to automatically
mount a remote Samba share at boot time. I have the following in my
/etc/fstab file:
//192.168.0.2/share /mnt/share cifs
auto,credentials=/home/user/.smbpasswd,uid=1000,umask=002,user 0 0
This works fine if I specify the username and password in the /etc/fstab
file. However, if I try to use the credentials file option I get:
CIFS VFS: No username specified
The credential file looks like this:
-rw------- 1 root wheel 34 Oct 9 22:01 .smbpasswd
The contents look like this:
username=myusername
password=mypassword
What am I doing wrong?
Thanks,
Jonathan
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba