[Samba] Problem mounting with credentials file
Jonathan Duncan
jonathan at nacnud.com
Thu Oct 26 21:45:40 GMT 2006
On Wed, 25 Oct 2006, Jonathan Duncan wrote:
> 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?
>
>
I find it hard to believe that no one else has experienced this problem
before. I have done some Googling and other references to this have not
solved the problem for me.
Jonathan
More information about the samba
mailing list