Re: [Samba] Problem mounting with credentials file

2006-10-28 Thread Jonathan Duncan
On Sat, 28 Oct 2006, Guenter Kukkukk wrote: you _need_ mount.cifs when using a credentials file! mount.cifs reads and parses the credentials file - the cifs kernel module does _not_! Thank you. This is probably dependant on my distribution, but how do I get that file? Is it usually

Re: [Samba] Problem mounting with credentials file

2006-10-27 Thread Dale Schroeder
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,

Re: [Samba] Problem mounting with credentials file

2006-10-27 Thread Jonathan Duncan
On Thu, 26 Oct 2006, Ethy H. Brito wrote: On Thu, 26 Oct 2006 15:45:40 -0600 (MDT) Jonathan Duncan [EMAIL PROTECTED] wrote: 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:

Re: [Samba] Problem mounting with credentials file

2006-10-27 Thread Jonathan Duncan
On Fri, 27 Oct 2006, Dale Schroeder wrote: 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

Re: [Samba] Problem mounting with credentials file

2006-10-27 Thread Ethy H. Brito
On Fri, 27 Oct 2006 10:04:12 -0600 (MDT) Jonathan Duncan [EMAIL PROTECTED] wrote: Try username = myusername password = mypassword (note the whitespaces) Ethy, thank you for the reply. That did not help my problem. dmesg | tail continues to show this after I try using the

Re: [Samba] Problem mounting with credentials file

2006-10-27 Thread Jonathan Duncan
On Fri, 27 Oct 2006, Ethy H. Brito wrote: On Fri, 27 Oct 2006 10:04:12 -0600 (MDT) Jonathan Duncan [EMAIL PROTECTED] wrote: Try username = myusername password = mypassword (note the whitespaces) Ethy, thank you for the reply. That did not help my problem. dmesg | tail continues to show

Re: [Samba] Problem mounting with credentials file

2006-10-27 Thread Ethy H. Brito
On Fri, 27 Oct 2006 10:55:08 -0600 (MDT) Jonathan Duncan [EMAIL PROTECTED] wrote: I am mounting as the root user because I have not given my user permission to mount this share. Following is the results of the troubleshooting steps that you gave me. I did not understand what would be

Re: [Samba] Problem mounting with credentials file

2006-10-27 Thread Jonathan Duncan
On Fri, 27 Oct 2006, Ethy H. Brito wrote: On Fri, 27 Oct 2006 10:55:08 -0600 (MDT) Jonathan Duncan [EMAIL PROTECTED] wrote: I am mounting as the root user because I have not given my user permission to mount this share. Following is the results of the troubleshooting steps that you gave me.

Re: [Samba] Problem mounting with credentials file

2006-10-27 Thread Guenter Kukkukk
Am Freitag, 27. Oktober 2006 19:29 schrieb Jonathan Duncan: On Fri, 27 Oct 2006, Ethy H. Brito wrote: On Fri, 27 Oct 2006 10:55:08 -0600 (MDT) Jonathan Duncan [EMAIL PROTECTED] wrote: I am mounting as the root user because I have not given my user permission to mount this share.

Re: [Samba] Problem mounting with credentials file

2006-10-27 Thread Jonathan Duncan
On Sat, 28 Oct 2006, Guenter Kukkukk wrote: locate and find both turned up nothing. Apparently I do not have mount.cifs on my filesystem. That does not make sense to me. CIFS works when I specify a username and password directly but not when I use the credentials option. It would seem that

Re: [Samba] Problem mounting with credentials file

2006-10-27 Thread Guenter Kukkukk
Am Samstag, 28. Oktober 2006 02:14 schrieb Jonathan Duncan: On Sat, 28 Oct 2006, Guenter Kukkukk wrote: locate and find both turned up nothing. Apparently I do not have mount.cifs on my filesystem. That does not make sense to me. CIFS works when I specify a username and password

Re: [Samba] Problem mounting with credentials file

2006-10-26 Thread Jonathan Duncan
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

Re: [Samba] Problem mounting with credentials file

2006-10-26 Thread Ethy H. Brito
On Thu, 26 Oct 2006 15:45:40 -0600 (MDT) Jonathan Duncan [EMAIL PROTECTED] wrote: 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

[Samba] Problem mounting with credentials file

2006-10-25 Thread Jonathan Duncan
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