I experienced the same thing mounting a WD Netcenter drive. I also found nothing through Google. My workaround was to use smbfs instead of cifs. However, since smbfs is to be eliminated at some point, have you tried Ethy's suggestion, and did it work?

Dale

Jonathan Duncan wrote:

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
Try

username = myusername
password = mypassword

(note the whitespaces)

Regards
--
Ethy H. Brito
InterNexo Ltda.  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
+55 (12) 3941-6860 ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
S.J.Campos - Brasil -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to