Skip to contentSkip to conversation

Unable to mount using credentials file

DISCUSSION Roger Brooks 3 participants 15 messages Nov 1, 2014 – Nov 4, 2014 5 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

I am attempting to mount Windows volumes on a Synology DS (running DSM 5.0, a Debian-based distribution).
Command lines of the form:
mount -t cifs -o username=<user>,password=<pass> //<IP address>/share/ /mnt/<mountpoint>
succeed.
However, command lines of the form:
mount -t cifs -o credentials=<filename> //<IP address>/share/ /mnt/<mountpoint> fail with the error "Invalid argument".
For diagnostic purposes, I have attempted to mount the volumes directly using mount.cifs (v5.5).
Once again, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o username=<user>,password=<password>
succeed.
However, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o credentials=<file> fail with the error message:
error -1 (Unknown error 4294967295) opening credential file <file> This is the case regardless of the location of the file (see
http://samba.2283325.n4.nabble.com/Error-s-opening-credentials-file-td2518214.html)
or its privileges. The error persists, even when the command is executed from a root session and the credentials file has permissions 0777 and is in a subdirectory of /root.
How can I get mount to work using a credentials file?

A message that is not in the archive (sent off-list or not yet received): CANzfOVLmYUWPoTD8zF7oDFJ-XR57sPTBH=yJQ4mzPd2zgapFog@mail.gmail.com

#2 lore raw

Hi Benjamin,

Thanks for responding.

The credentials file is a simple text file created with vi containing the lines:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
<<
I have tried this both with and without trailing newline at the end of the second line.

I have also tried the variant:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
domain=<domain>
<<

The results are always the same.
If there is a problem with the *content* of the file, why would the error message say that the file could not be opened?

Thanks for your help!
Best Regards,
Roger

From: Benjamin Bellec [mailto:[email protected]]
Sent: Saturday, November 1, 2014 1:34 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

Hi,
Does your credential file is correctly formatted ?

2014-11-01 13:03 GMT+01:00 Roger Brooks <[email protected]>:
I am attempting to mount Windows volumes on a Synology DS (running DSM 5.0, a Debian-based distribution).
Command lines of the form:
mount -t cifs -o username=<user>,password=<pass> //<IP address>/share/ /mnt/<mountpoint>
succeed.
However, command lines of the form:
mount -t cifs -o credentials=<filename> //<IP address>/share/ /mnt/<mountpoint> fail with the error "Invalid argument".
For diagnostic purposes, I have attempted to mount the volumes directly using mount.cifs (v5.5).
Once again, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o username=<user>,password=<password>
succeed.
However, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o credentials=<file> fail with the error message:
error -1 (Unknown error 4294967295) opening credential file <file> This is the case regardless of the location of the file (see
http://samba.2283325.n4.nabble.com/Error-s-opening-credentials-file-td2518214.html)
or its privileges. The error persists, even when the command is executed from a root session and the credentials file has permissions 0777 and is in a subdirectory of /root.
How can I get mount to work using a credentials file?

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to a message not in the archive

P.S.
There was a non-printing character in the directory name under /root.
After correcting that, mount.cifs -o credentials=<filename> works.
However, mount -t cifs -o credentials=<filename> still returns "Invalid argument". Can I just use mount.cifs directly, or does mount perform some additional needed housekeeping? If mount is needed, how can I get -o credentials to work?
TIA for any tips!

Hi Benjamin,

Thanks for responding.

The credentials file is a simple text file created with vi containing the lines:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
<<
I have tried this both with and without trailing newline at the end of the second line.

I have also tried the variant:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
domain=<domain>
<<

The results are always the same.
If there is a problem with the *content* of the file, why would the error message say that the file could not be opened?

Thanks for your help!
Best Regards,
Roger

From: Benjamin Bellec [mailto:[email protected]]
Sent: Saturday, November 1, 2014 1:34 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

Hi,
Does your credential file is correctly formatted ?

2014-11-01 13:03 GMT+01:00 Roger Brooks <[email protected]>:
I am attempting to mount Windows volumes on a Synology DS (running DSM 5.0, a Debian-based distribution).
Command lines of the form:
mount -t cifs -o username=<user>,password=<pass> //<IP address>/share/ /mnt/<mountpoint> succeed.
However, command lines of the form:
mount -t cifs -o credentials=<filename> //<IP address>/share/ /mnt/<mountpoint> fail with the error "Invalid argument".
For diagnostic purposes, I have attempted to mount the volumes directly using mount.cifs (v5.5).
Once again, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o username=<user>,password=<password>
succeed.
However, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o credentials=<file> fail with the error message:
error -1 (Unknown error 4294967295) opening credential file <file> This is the case regardless of the location of the file (see
http://samba.2283325.n4.nabble.com/Error-s-opening-credentials-file-td2518214.html)
or its privileges. The error persists, even when the command is executed from a root session and the credentials file has permissions 0777 and is in a subdirectory of /root. How can I get mount to work using a credentials file?

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

using /sbin/mount.cifs directly should be fine. When you mount with
verbose mount option does it show any useful differences between the two cases (working vs. failing)

Quoted 69 lines · Roger Brooks

P.S.
There was a non-printing character in the directory name under /root.
After correcting that, mount.cifs -o credentials=<filename> works.
However, mount -t cifs -o credentials=<filename> still returns "Invalid argument". Can I just use mount.cifs directly, or does mount perform some additional needed housekeeping? If mount is needed, how can I get -o credentials to work?
TIA for any tips!

Hi Benjamin,

Thanks for responding.

The credentials file is a simple text file created with vi containing the lines:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
<<
I have tried this both with and without trailing newline at the end of the second line.

I have also tried the variant:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
domain=<domain>
<<

The results are always the same.
If there is a problem with the *content* of the file, why would the error message say that the file could not be opened?

Thanks for your help!
Best Regards,
Roger

From: Benjamin Bellec [mailto:[email protected]]
Sent: Saturday, November 1, 2014 1:34 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

Hi,
Does your credential file is correctly formatted ?

2014-11-01 13:03 GMT+01:00 Roger Brooks <[email protected]>:
I am attempting to mount Windows volumes on a Synology DS (running DSM 5.0, a Debian-based distribution).
Command lines of the form:
mount -t cifs -o username=<user>,password=<pass> //<IP address>/share/ /mnt/<mountpoint> succeed.
However, command lines of the form:
mount -t cifs -o credentials=<filename> //<IP address>/share/ /mnt/<mountpoint> fail with the error "Invalid argument".
For diagnostic purposes, I have attempted to mount the volumes directly using mount.cifs (v5.5).
Once again, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o username=<user>,password=<password>
succeed.
However, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o credentials=<file> fail with the error message:
error -1 (Unknown error 4294967295) opening credential file <file> This is the case regardless of the location of the file (see
http://samba.2283325.n4.nabble.com/Error-s-opening-credentials-file-td2518214.html)
or its privileges. The error persists, even when the command is executed from a root session and the credentials file has permissions 0777 and is in a subdirectory of /root. How can I get mount to work using a credentials file?

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 3 lines
Thanks,

Steve

A message that is not in the archive (sent off-list or not yet received): CAH2r5mupp47fyNw7t_EEvdQSzk-oNPNm8C9vfdNSvbMqr6GcPA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#6 lore raw

Thanks for the tips, Steve!

My version of mount:
BusyBox v1.16.1 (2014-10-10 08:37:09 CST) multi-call binary.
does not appear to have a verbose option. At least:
mount --help
does not list any such option, and mount does not return any information to the console when it succeeds, regardless of whether or not I specify -v.

The failure message is also unchanged with the -v option:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint> failed: Invalid argument

Also, I have read that mount maintains /etc/mtab.
Does that mean that mount will not list volumes which I mounted directly with mount.cifs, and that I cannot use umount to unmount volumes mounted directly with mount.cifs?

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Saturday, November 1, 2014 5:24 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

using /sbin/mount.cifs directly should be fine. When you mount with
verbose mount option does it show any useful differences between the two cases (working vs. failing)

Quoted 70 lines · Roger Brooks

P.S.
There was a non-printing character in the directory name under /root.
After correcting that, mount.cifs -o credentials=<filename> works.
However, mount -t cifs -o credentials=<filename> still returns "Invalid argument". Can I just use mount.cifs directly, or does mount perform some additional needed housekeeping? If mount is needed, how can I get -o credentials to work?
TIA for any tips!

Hi Benjamin,

Thanks for responding.

The credentials file is a simple text file created with vi containing the lines:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
<<
I have tried this both with and without trailing newline at the end of the second line.

I have also tried the variant:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
domain=<domain>
<<

The results are always the same.
If there is a problem with the *content* of the file, why would the error message say that the file could not be opened?

Thanks for your help!
Best Regards,
Roger

From: Benjamin Bellec [mailto:[email protected]]
Sent: Saturday, November 1, 2014 1:34 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

Hi,
Does your credential file is correctly formatted ?

2014-11-01 13:03 GMT+01:00 Roger Brooks <[email protected]>:
I am attempting to mount Windows volumes on a Synology DS (running DSM 5.0, a Debian-based distribution). Command lines of the form:
mount -t cifs -o username=<user>,password=<pass> //<IP address>/share/ /mnt/<mountpoint> succeed. However, command lines of the form:
mount -t cifs -o credentials=<filename> //<IP address>/share/ /mnt/<mountpoint> fail with the error "Invalid argument". For diagnostic purposes, I have attempted to mount the volumes directly using mount.cifs (v5.5). Once again, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o
username=<user>,password=<password>
succeed.
However, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o credentials=<file> fail with the error message:
error -1 (Unknown error 4294967295) opening credential file <file>
This is the case regardless of the location of the file (see
http://samba.2283325.n4.nabble.com/Error-s-opening-credentials-file-td
2518214.html) or its privileges. The error persists, even when the
command is executed from a root session and the credentials file has permissions 0777 and is in a subdirectory of /root. How can I get mount to work using a credentials file?

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Steve

#7 lore raw
In reply to Steve French

P.S. To answer my own question below, experimentation shows that mount and umount still fulfill their normal functions for volumes mounted directly with mount.cifs. So, much as it irritates me not to know why mount -o credentials doesn't work, I can live with using mount.cifs instead.
Thanks to all who responded!

Thanks for the tips, Steve!

My version of mount:
BusyBox v1.16.1 (2014-10-10 08:37:09 CST) multi-call binary.
does not appear to have a verbose option. At least:
mount --help
does not list any such option, and mount does not return any information to the console when it succeeds, regardless of whether or not I specify -v.

The failure message is also unchanged with the -v option:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint> failed: Invalid argument

Also, I have read that mount maintains /etc/mtab.
Does that mean that mount will not list volumes which I mounted directly with mount.cifs, and that I cannot use umount to unmount volumes mounted directly with mount.cifs?

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Saturday, November 1, 2014 5:24 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

using /sbin/mount.cifs directly should be fine. When you mount with
verbose mount option does it show any useful differences between the two cases (working vs. failing)

Quoted 70 lines · Roger Brooks

P.S.
There was a non-printing character in the directory name under /root.
After correcting that, mount.cifs -o credentials=<filename> works.
However, mount -t cifs -o credentials=<filename> still returns "Invalid argument". Can I just use mount.cifs directly, or does mount perform some additional needed housekeeping? If mount is needed, how can I get -o credentials to work?
TIA for any tips!

Hi Benjamin,

Thanks for responding.

The credentials file is a simple text file created with vi containing the lines:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
<<
I have tried this both with and without trailing newline at the end of the second line.

I have also tried the variant:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
domain=<domain>
<<

The results are always the same.
If there is a problem with the *content* of the file, why would the error message say that the file could not be opened?

Thanks for your help!
Best Regards,
Roger

From: Benjamin Bellec [mailto:[email protected]]
Sent: Saturday, November 1, 2014 1:34 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

Hi,
Does your credential file is correctly formatted ?

2014-11-01 13:03 GMT+01:00 Roger Brooks <[email protected]>:
I am attempting to mount Windows volumes on a Synology DS (running DSM 5.0, a Debian-based distribution). Command lines of the form:
mount -t cifs -o username=<user>,password=<pass> //<IP address>/share/ /mnt/<mountpoint> succeed. However, command lines of the form:
mount -t cifs -o credentials=<filename> //<IP address>/share/ /mnt/<mountpoint> fail with the error "Invalid argument". For diagnostic purposes, I have attempted to mount the volumes directly using mount.cifs (v5.5). Once again, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o
username=<user>,password=<password>
succeed.
However, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o credentials=<file> fail with the error message:
error -1 (Unknown error 4294967295) opening credential file <file>
This is the case regardless of the location of the file (see
http://samba.2283325.n4.nabble.com/Error-s-opening-credentials-file-td
2518214.html) or its privileges. The error persists, even when the
command is executed from a root session and the credentials file has permissions 0777 and is in a subdirectory of /root. How can I get mount to work using a credentials file?

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Steve

#8 lore raw

Am 02.11.2014 um 11:09 schrieb Roger Brooks:

Quoted 12 lines

P.S. To answer my own question below, experimentation shows that mount and umount still fulfill their normal functions for volumes mounted directly with mount.cifs. So, much as it irritates me not to know why mount -o credentials doesn't work, I can live with using mount.cifs instead.
Thanks to all who responded!

Thanks for the tips, Steve!

My version of mount:
BusyBox v1.16.1 (2014-10-10 08:37:09 CST) multi-call binary.
does not appear to have a verbose option. At least:
mount --help
does not list any such option, and mount does not return any information to the console when it succeeds, regardless of whether or not I specify -v.

Quoted 6 lines

The failure message is also unchanged with the -v option:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint> failed: Invalid argument

Also, I have read that mount maintains /etc/mtab.
Does that mean that mount will not list volumes which I mounted directly with mount.cifs, and that I cannot use umount to unmount volumes mounted directly with mount.cifs?

Hi Roger,

to be able to use very different mount options, the "mount" command looks for installed *mount helpers* and executes them:
When you e.g. specify
mount -t nfs .... it looks for a mount helper "mount.nfs" in $PATH
mount -t cifs .... it looks for a mount helper "mount.cifs" in $PATH

Here with opensuse 13.1:
ls -al /sbin/mount.*

-rwxr-xr-x 1 root root  39736 Oct 11  2013 /sbin/mount.cifs
-rwxr-xr-x 1 root root    556 Sep 28  2013 /sbin/mount.crypt
lrwxrwxrwx 1 root root     11 Dec  3  2013 /sbin/mount.crypt_LUKS -> mount.crypt
lrwxrwxrwx 1 root root     11 Dec  3  2013 /sbin/mount.crypto_LUKS -> mount.crypt
lrwxrwxrwx 1 root root     20 Nov 20  2013 /sbin/mount.fuse -> /usr/sbin/mount.fuse
lrwxrwxrwx 1 root root     19 Nov  6  2013 /sbin/mount.lowntfs-3g -> /usr/bin/lowntfs-3g
-rwsr-xr-x 1 root root 114856 May  6 11:06 /sbin/mount.nfs
lrwxrwxrwx 1 root root      9 May 18 05:57 /sbin/mount.nfs4 -> mount.nfs
lrwxrwxrwx 1 root root     28 Nov  6  2013 /sbin/mount.ntfs -> /etc/alternatives/mount.ntfs
lrwxrwxrwx 1 root root     16 Nov  6  2013 /sbin/mount.ntfs-3g -> /usr/bin/ntfs-3g

-r-xr-xr-x 1 root root 55264 May 30 04:00 /sbin/mount.vmhgfs

When mounting a cifs share, _only_ the mount helper "mount.cifs" is able to open and parse the credentials file!
So mount must be able to find that helper inside $PATH.

...

Whether from /etc/fstab or mounted manually with mount.cifs, the "mount" command lists _all_ currently active mounts and can also be used to de-activate mounts.

Cheers, Günter

Quoted 98 lines

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Saturday, November 1, 2014 5:24 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

using /sbin/mount.cifs directly should be fine. When you mount with
verbose mount option does it show any useful differences between the two cases (working vs. failing)

Quoted 70 lines · Roger Brooks

P.S.
There was a non-printing character in the directory name under /root.
After correcting that, mount.cifs -o credentials=<filename> works.
However, mount -t cifs -o credentials=<filename> still returns "Invalid argument". Can I just use mount.cifs directly, or does mount perform some additional needed housekeeping? If mount is needed, how can I get -o credentials to work?
TIA for any tips!

Hi Benjamin,

Thanks for responding.

The credentials file is a simple text file created with vi containing the lines:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
<<
I have tried this both with and without trailing newline at the end of the second line.

I have also tried the variant:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
domain=<domain>
<<

The results are always the same.
If there is a problem with the *content* of the file, why would the error message say that the file could not be opened?

Thanks for your help!
Best Regards,
Roger

From: Benjamin Bellec [mailto:[email protected]]
Sent: Saturday, November 1, 2014 1:34 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

Hi,
Does your credential file is correctly formatted ?

2014-11-01 13:03 GMT+01:00 Roger Brooks <[email protected]>:
I am attempting to mount Windows volumes on a Synology DS (running DSM 5.0, a Debian-based distribution). Command lines of the form:
mount -t cifs -o username=<user>,password=<pass> //<IP address>/share/ /mnt/<mountpoint> succeed. However, command lines of the form:
mount -t cifs -o credentials=<filename> //<IP address>/share/ /mnt/<mountpoint> fail with the error "Invalid argument". For diagnostic purposes, I have attempted to mount the volumes directly using mount.cifs (v5.5). Once again, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o
username=<user>,password=<password>
succeed.
However, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o credentials=<file> fail with the error message:
error -1 (Unknown error 4294967295) opening credential file <file>
This is the case regardless of the location of the file (see
http://samba.2283325.n4.nabble.com/Error-s-opening-credentials-file-td
2518214.html) or its privileges. The error persists, even when the
command is executed from a root session and the credentials file has permissions 0777 and is in a subdirectory of /root. How can I get mount to work using a credentials file?

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#9 lore raw
In reply to Roger Brooks

mount with call mount.cifs (if it is present in /sbin) when you specify "mount -t cifs"

You can specify --verbose before the -o (see
http://linux.die.net/man/8/mount.cifs) and it will show the mount options being passed in to the kernel syscall so it would be useful for debugging to compare the exact parameters being passed in to the kernel in the working vs. failing case by specifying --verbose before the -o

Quoted 115 lines · Roger Brooks

P.S. To answer my own question below, experimentation shows that mount and umount still fulfill their normal functions for volumes mounted directly with mount.cifs. So, much as it irritates me not to know why mount -o credentials doesn't work, I can live with using mount.cifs instead.
Thanks to all who responded!

Thanks for the tips, Steve!

My version of mount:
BusyBox v1.16.1 (2014-10-10 08:37:09 CST) multi-call binary.
does not appear to have a verbose option. At least:
mount --help
does not list any such option, and mount does not return any information to the console when it succeeds, regardless of whether or not I specify -v.

The failure message is also unchanged with the -v option:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint> failed: Invalid argument

Also, I have read that mount maintains /etc/mtab.
Does that mean that mount will not list volumes which I mounted directly with mount.cifs, and that I cannot use umount to unmount volumes mounted directly with mount.cifs?

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Saturday, November 1, 2014 5:24 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

using /sbin/mount.cifs directly should be fine. When you mount with
verbose mount option does it show any useful differences between the two cases (working vs. failing)

Quoted 70 lines · Roger Brooks

P.S.
There was a non-printing character in the directory name under /root.
After correcting that, mount.cifs -o credentials=<filename> works.
However, mount -t cifs -o credentials=<filename> still returns "Invalid argument". Can I just use mount.cifs directly, or does mount perform some additional needed housekeeping? If mount is needed, how can I get -o credentials to work?
TIA for any tips!

Hi Benjamin,

Thanks for responding.

The credentials file is a simple text file created with vi containing the lines:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
<<
I have tried this both with and without trailing newline at the end of the second line.

I have also tried the variant:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
domain=<domain>
<<

The results are always the same.
If there is a problem with the *content* of the file, why would the error message say that the file could not be opened?

Thanks for your help!
Best Regards,
Roger

From: Benjamin Bellec [mailto:[email protected]]
Sent: Saturday, November 1, 2014 1:34 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

Hi,
Does your credential file is correctly formatted ?

2014-11-01 13:03 GMT+01:00 Roger Brooks <[email protected]>:
I am attempting to mount Windows volumes on a Synology DS (running DSM 5.0, a Debian-based distribution). Command lines of the form:
mount -t cifs -o username=<user>,password=<pass> //<IP address>/share/ /mnt/<mountpoint> succeed. However, command lines of the form:
mount -t cifs -o credentials=<filename> //<IP address>/share/ /mnt/<mountpoint> fail with the error "Invalid argument". For diagnostic purposes, I have attempted to mount the volumes directly using mount.cifs (v5.5). Once again, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o
username=<user>,password=<password>
succeed.
However, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o credentials=<file> fail with the error message:
error -1 (Unknown error 4294967295) opening credential file <file>
This is the case regardless of the location of the file (see
http://samba.2283325.n4.nabble.com/Error-s-opening-credentials-file-td
2518214.html) or its privileges. The error persists, even when the
command is executed from a root session and the credentials file has permissions 0777 and is in a subdirectory of /root. How can I get mount to work using a credentials file?

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 3 lines
Thanks,

Steve

A message that is not in the archive (sent off-list or not yet received): CAH2r5mur=q=nJhpYWRRK_6CQgxYF067pxpiCtnHWQ3y9NiXX5A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#11 lore raw

Here is the output from mount -t cifs --verbose -o ... for the failing case:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint>/ failed: Invalid argument There is still no output when I add --verbose to the successful case. There is no verbose option listed for mount --help.
Thanks for your help.

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Sunday, November 2, 2014 5:30 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

mount with call mount.cifs (if it is present in /sbin) when you specify "mount -t cifs"

You can specify --verbose before the -o (see
http://linux.die.net/man/8/mount.cifs) and it will show the mount options being passed in to the kernel syscall so it would be useful for debugging to compare the exact parameters being passed in to the kernel in the working vs. failing case by specifying --verbose before the -o

Quoted 112 lines · Roger Brooks

P.S. To answer my own question below, experimentation shows that mount and umount still fulfill their normal functions for volumes mounted directly with mount.cifs. So, much as it irritates me not to know why mount -o credentials doesn't work, I can live with using mount.cifs instead.
Thanks to all who responded!

Thanks for the tips, Steve!

My version of mount:
BusyBox v1.16.1 (2014-10-10 08:37:09 CST) multi-call binary.
does not appear to have a verbose option. At least:
mount --help
does not list any such option, and mount does not return any information to the console when it succeeds, regardless of whether or not I specify -v.

The failure message is also unchanged with the -v option:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint> failed:
Invalid argument

Also, I have read that mount maintains /etc/mtab.
Does that mean that mount will not list volumes which I mounted directly with mount.cifs, and that I cannot use umount to unmount volumes mounted directly with mount.cifs?

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Saturday, November 1, 2014 5:24 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

using /sbin/mount.cifs directly should be fine. When you mount with
verbose mount option does it show any useful differences between the two cases (working vs. failing)

Quoted 71 lines · Roger Brooks

P.S.
There was a non-printing character in the directory name under /root.
After correcting that, mount.cifs -o credentials=<filename> works.
However, mount -t cifs -o credentials=<filename> still returns "Invalid argument". Can I just use mount.cifs directly, or does mount perform some additional needed housekeeping? If mount is needed, how can I get -o credentials to work?
TIA for any tips!

Hi Benjamin,

Thanks for responding.

The credentials file is a simple text file created with vi containing the lines:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
<<
I have tried this both with and without trailing newline at the end of the second line.

I have also tried the variant:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
domain=<domain>
<<

The results are always the same.
If there is a problem with the *content* of the file, why would the error message say that the file could not be opened?

Thanks for your help!
Best Regards,
Roger

From: Benjamin Bellec [mailto:[email protected]]
Sent: Saturday, November 1, 2014 1:34 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

Hi,
Does your credential file is correctly formatted ?

2014-11-01 13:03 GMT+01:00 Roger Brooks <[email protected]>:
I am attempting to mount Windows volumes on a Synology DS (running DSM 5.0, a Debian-based distribution). Command lines of the form:
mount -t cifs -o username=<user>,password=<pass> //<IP address>/share/ /mnt/<mountpoint> succeed. However, command lines of the form:
mount -t cifs -o credentials=<filename> //<IP address>/share/ /mnt/<mountpoint> fail with the error "Invalid argument". For diagnostic purposes, I have attempted to mount the volumes directly using mount.cifs (v5.5). Once again, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o
username=<user>,password=<password>
succeed.
However, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o credentials=<file> fail with the error message:
error -1 (Unknown error 4294967295) opening credential file <file>
This is the case regardless of the location of the file (see
http://samba.2283325.n4.nabble.com/Error-s-opening-credentials-file-t
d
2518214.html) or its privileges. The error persists, even when the
command is executed from a root session and the credentials file has permissions 0777 and is in a subdirectory of /root. How can I get mount to work using a credentials file?

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Quoted 6 lines

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Steve

#12 lore raw

If "mount -t cifs --verbose //server/share /mnt -o ..." doesn't display the verbose output then I really doubt that you have mount.cifs installed in the right place for the distro (mount automatically looks for a mount helper to match the fstype you specify
after "-t" e.g. for -t cifs it would look for mount.cifs). You
probably aren't getting to mount.cifs
The output of mount when verbose is enabled looks like
mount.cifs kernel mount options:
ip=127.0.0.1,unc=\\localhost\share etc.
Also note that you can "echo 7 > /proc/fs/cifs/cifsFYI" before mount to turn on debugging calls for cifs in the kernel and then after mount look for the cifs messages in the kernel message log (type "dmesg"). You can see what username for example is being passed in and make sure that that is correct

What version of mount.cifs do you have ? Type "/sbin/mount.cifs -V" to display the mount helper version. Current is 6.4 but earlier versions should be fine for your purposes (there are some cifscreds fixes in 6.4 but not obvious why they should matter for your use case).

Quoted 149 lines · Roger Brooks

Here is the output from mount -t cifs --verbose -o ... for the failing case:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint>/ failed: Invalid argument There is still no output when I add --verbose to the successful case. There is no verbose option listed for mount --help.
Thanks for your help.

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Sunday, November 2, 2014 5:30 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

mount with call mount.cifs (if it is present in /sbin) when you specify "mount -t cifs"

You can specify --verbose before the -o (see
http://linux.die.net/man/8/mount.cifs) and it will show the mount options being passed in to the kernel syscall so it would be useful for debugging to compare the exact parameters being passed in to the kernel in the working vs. failing case by specifying --verbose before the -o

Quoted 112 lines · Roger Brooks

P.S. To answer my own question below, experimentation shows that mount and umount still fulfill their normal functions for volumes mounted directly with mount.cifs. So, much as it irritates me not to know why mount -o credentials doesn't work, I can live with using mount.cifs instead.
Thanks to all who responded!

Thanks for the tips, Steve!

My version of mount:
BusyBox v1.16.1 (2014-10-10 08:37:09 CST) multi-call binary.
does not appear to have a verbose option. At least:
mount --help
does not list any such option, and mount does not return any information to the console when it succeeds, regardless of whether or not I specify -v.

The failure message is also unchanged with the -v option:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint> failed:
Invalid argument

Also, I have read that mount maintains /etc/mtab.
Does that mean that mount will not list volumes which I mounted directly with mount.cifs, and that I cannot use umount to unmount volumes mounted directly with mount.cifs?

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Saturday, November 1, 2014 5:24 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

using /sbin/mount.cifs directly should be fine. When you mount with
verbose mount option does it show any useful differences between the two cases (working vs. failing)

Quoted 71 lines · Roger Brooks

P.S.
There was a non-printing character in the directory name under /root.
After correcting that, mount.cifs -o credentials=<filename> works.
However, mount -t cifs -o credentials=<filename> still returns "Invalid argument". Can I just use mount.cifs directly, or does mount perform some additional needed housekeeping? If mount is needed, how can I get -o credentials to work?
TIA for any tips!

Hi Benjamin,

Thanks for responding.

The credentials file is a simple text file created with vi containing the lines:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
<<
I have tried this both with and without trailing newline at the end of the second line.

I have also tried the variant:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
domain=<domain>
<<

The results are always the same.
If there is a problem with the *content* of the file, why would the error message say that the file could not be opened?

Thanks for your help!
Best Regards,
Roger

From: Benjamin Bellec [mailto:[email protected]]
Sent: Saturday, November 1, 2014 1:34 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

Hi,
Does your credential file is correctly formatted ?

2014-11-01 13:03 GMT+01:00 Roger Brooks <[email protected]>:
I am attempting to mount Windows volumes on a Synology DS (running DSM 5.0, a Debian-based distribution). Command lines of the form:
mount -t cifs -o username=<user>,password=<pass> //<IP address>/share/ /mnt/<mountpoint> succeed. However, command lines of the form:
mount -t cifs -o credentials=<filename> //<IP address>/share/ /mnt/<mountpoint> fail with the error "Invalid argument". For diagnostic purposes, I have attempted to mount the volumes directly using mount.cifs (v5.5). Once again, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o
username=<user>,password=<password>
succeed.
However, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o credentials=<file> fail with the error message:
error -1 (Unknown error 4294967295) opening credential file <file>
This is the case regardless of the location of the file (see
http://samba.2283325.n4.nabble.com/Error-s-opening-credentials-file-t
d
2518214.html) or its privileges. The error persists, even when the
command is executed from a root session and the credentials file has permissions 0777 and is in a subdirectory of /root. How can I get mount to work using a credentials file?

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Quoted 6 lines

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 3 lines
Thanks,

Steve
#13 lore raw
In reply to Roger Brooks

Am 02.11.2014 um 17:50 schrieb Roger Brooks:

Quoted 5 lines

Here is the output from mount -t cifs --verbose -o ... for the failing case:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint>/ failed: Invalid argument There is still no output when I add --verbose to the successful case. There is no verbose option listed for mount --help.
Thanks for your help.

you can also try strace (hopefully available) like:

strace -f mount -t cifs --verbose //server/share /mnt -o .....

look, whether mount.cifs is found or not.

Btw - where is your mount.cifs installed (absolute path)?

Cheers, Günter

Quoted 145 lines

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Sunday, November 2, 2014 5:30 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

mount with call mount.cifs (if it is present in /sbin) when you specify "mount -t cifs"

You can specify --verbose before the -o (see
http://linux.die.net/man/8/mount.cifs) and it will show the mount options being passed in to the kernel syscall so it would be useful for debugging to compare the exact parameters being passed in to the kernel in the working vs. failing case by specifying --verbose before the -o

Quoted 112 lines · Roger Brooks

P.S. To answer my own question below, experimentation shows that mount and umount still fulfill their normal functions for volumes mounted directly with mount.cifs. So, much as it irritates me not to know why mount -o credentials doesn't work, I can live with using mount.cifs instead.
Thanks to all who responded!

Thanks for the tips, Steve!

My version of mount:
BusyBox v1.16.1 (2014-10-10 08:37:09 CST) multi-call binary.
does not appear to have a verbose option. At least:
mount --help
does not list any such option, and mount does not return any information to the console when it succeeds, regardless of whether or not I specify -v.

The failure message is also unchanged with the -v option:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint> failed:
Invalid argument

Also, I have read that mount maintains /etc/mtab.
Does that mean that mount will not list volumes which I mounted directly with mount.cifs, and that I cannot use umount to unmount volumes mounted directly with mount.cifs?

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Saturday, November 1, 2014 5:24 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

using /sbin/mount.cifs directly should be fine. When you mount with
verbose mount option does it show any useful differences between the two cases (working vs. failing)

Quoted 71 lines · Roger Brooks

P.S.
There was a non-printing character in the directory name under /root.
After correcting that, mount.cifs -o credentials=<filename> works.
However, mount -t cifs -o credentials=<filename> still returns "Invalid argument". Can I just use mount.cifs directly, or does mount perform some additional needed housekeeping? If mount is needed, how can I get -o credentials to work?
TIA for any tips!

Hi Benjamin,

Thanks for responding.

The credentials file is a simple text file created with vi containing the lines:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
<<
I have tried this both with and without trailing newline at the end of the second line.

I have also tried the variant:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
domain=<domain>
<<

The results are always the same.
If there is a problem with the *content* of the file, why would the error message say that the file could not be opened?

Thanks for your help!
Best Regards,
Roger

From: Benjamin Bellec [mailto:[email protected]]
Sent: Saturday, November 1, 2014 1:34 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

Hi,
Does your credential file is correctly formatted ?

2014-11-01 13:03 GMT+01:00 Roger Brooks <[email protected]>:
I am attempting to mount Windows volumes on a Synology DS (running DSM 5.0, a Debian-based distribution). Command lines of the form:
mount -t cifs -o username=<user>,password=<pass> //<IP address>/share/ /mnt/<mountpoint> succeed. However, command lines of the form:
mount -t cifs -o credentials=<filename> //<IP address>/share/ /mnt/<mountpoint> fail with the error "Invalid argument". For diagnostic purposes, I have attempted to mount the volumes directly using mount.cifs (v5.5). Once again, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o
username=<user>,password=<password>
succeed.
However, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o credentials=<file> fail with the error message:
error -1 (Unknown error 4294967295) opening credential file <file>
This is the case regardless of the location of the file (see
http://samba.2283325.n4.nabble.com/Error-s-opening-credentials-file-t
d
2518214.html) or its privileges. The error persists, even when the
command is executed from a root session and the credentials file has permissions 0777 and is in a subdirectory of /root. How can I get mount to work using a credentials file?

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Quoted 6 lines

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#15 lore raw

Sorry, Gunter, I don't have strace:

-ash: strace: not found

mount.cifs is located at:

/usr/syno/bin/mount.cifs

I suspect that the installed version of mount (from BusyBox 1.16) is too old to correctly handle "-o credentials=<file>". I will try installing a newer version (BusyBox 1.21) and report back later.

However, this no longer has a high priority for me, as I can live with calling mount.cifs directly.

@Steve,
mount.cifs is only v5.5 in my installation, but since calling it directly works fine, I presume that the problem lies with the BusyBox version of mount and not with mount.cifs. Since mount works with "-o username=<user>,password=<password>", I presume that it is finding mount.cifs, but is not passing "-o credentials=<file>" correctly.

Thanks for all of your help!

-----Original Message-----
From: Günter Kukkukk [mailto:[email protected]]
Sent: Monday, November 3, 2014 12:50 AM
To: Roger Brooks; [email protected]
Subject: Re: Unable to mount using credentials file

Am 02.11.2014 um 17:50 schrieb Roger Brooks:

Quoted 5 lines

Here is the output from mount -t cifs --verbose -o ... for the failing case:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint>/ failed:
Invalid argument There is still no output when I add --verbose to the successful case. There is no verbose option listed for mount --help.
Thanks for your help.

you can also try strace (hopefully available) like:

strace -f mount -t cifs --verbose //server/share /mnt -o .....

look, whether mount.cifs is found or not.

Btw - where is your mount.cifs installed (absolute path)?

Cheers, Günter

Quoted 150 lines

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Sunday, November 2, 2014 5:30 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

mount with call mount.cifs (if it is present in /sbin) when you specify "mount -t cifs"

You can specify --verbose before the -o (see
http://linux.die.net/man/8/mount.cifs) and it will show the mount options being passed in to the kernel syscall so it would be useful for debugging to compare the exact parameters being passed in to the kernel in the working vs. failing case by specifying --verbose before the -o

Quoted 113 lines · Roger Brooks

P.S. To answer my own question below, experimentation shows that mount and umount still fulfill their normal functions for volumes mounted directly with mount.cifs. So, much as it irritates me not to know why mount -o credentials doesn't work, I can live with using mount.cifs instead.
Thanks to all who responded!

Thanks for the tips, Steve!

My version of mount:
BusyBox v1.16.1 (2014-10-10 08:37:09 CST) multi-call binary.
does not appear to have a verbose option. At least:
mount --help
does not list any such option, and mount does not return any information to the console when it succeeds, regardless of whether or not I specify -v.

The failure message is also unchanged with the -v option:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint> failed:
Invalid argument

Also, I have read that mount maintains /etc/mtab.
Does that mean that mount will not list volumes which I mounted directly with mount.cifs, and that I cannot use umount to unmount volumes mounted directly with mount.cifs?

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Saturday, November 1, 2014 5:24 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

using /sbin/mount.cifs directly should be fine. When you mount with
verbose mount option does it show any useful differences between the two cases (working vs. failing)

Quoted 72 lines · Roger Brooks

P.S.
There was a non-printing character in the directory name under /root.
After correcting that, mount.cifs -o credentials=<filename> works.
However, mount -t cifs -o credentials=<filename> still returns "Invalid argument". Can I just use mount.cifs directly, or does mount perform some additional needed housekeeping? If mount is needed, how can I get -o credentials to work?
TIA for any tips!

Hi Benjamin,

Thanks for responding.

The credentials file is a simple text file created with vi containing the lines:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
<<
I have tried this both with and without trailing newline at the end of the second line.

I have also tried the variant:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
domain=<domain>
<<

The results are always the same.
If there is a problem with the *content* of the file, why would the error message say that the file could not be opened?

Thanks for your help!
Best Regards,
Roger

From: Benjamin Bellec [mailto:[email protected]]
Sent: Saturday, November 1, 2014 1:34 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

Hi,
Does your credential file is correctly formatted ?

2014-11-01 13:03 GMT+01:00 Roger Brooks <[email protected]>:
I am attempting to mount Windows volumes on a Synology DS (running DSM 5.0, a Debian-based distribution). Command lines of the form:
mount -t cifs -o username=<user>,password=<pass> //<IP address>/share/ /mnt/<mountpoint> succeed. However, command lines of the form:
mount -t cifs -o credentials=<filename> //<IP address>/share/ /mnt/<mountpoint> fail with the error "Invalid argument". For diagnostic purposes, I have attempted to mount the volumes directly using mount.cifs (v5.5). Once again, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o
username=<user>,password=<password>
succeed.
However, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o credentials=<file> fail with the error message:
error -1 (Unknown error 4294967295) opening credential file <file>
This is the case regardless of the location of the file (see
http://samba.2283325.n4.nabble.com/Error-s-opening-credentials-file-
t
d
2518214.html) or its privileges. The error persists, even when the
command is executed from a root session and the credentials file has permissions 0777 and is in a subdirectory of /root. How can I get mount to work using a credentials file?

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Quoted 6 lines

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#16 lore raw

Makes sense - it looks like it sis simply not finding mount.cifs so in your case you will want to call mount.cifs directly or move it into /sbin

One way to think about this is that if you don't have mount.cifs (or if it is not in the path, usually /sbin/mount.cifs, where mount is looking for it) then the mount command will pass the mount options directly to the kernel (cifs.ko) without parsing them. This is ok for something like:

       mount -t cifs //192.168.0.101/sharename /mnt -o

username=myuser,password=mypassword
but won't work when you pass in something which has to be resolved in userspace berfore getting to the kernel. In particular it won't work if you have - a credential file (since mount.cifs has to open that), or if you mount using a tcp name of the server (instead of using the server's ip address) e.g. mount -t cifs //myserver/myshare /mnt instead of mount -t cifs //ip-address/myshare and will also fail if you don't specify the password (because mount won't prompt for a
password if missing). Most of the work in mount is done in kernel
(at least for the case of cifs) but opening credential files, looking up hostnames and prompting for the password are exceptions.

Quoted 201 lines · Roger Brooks

Sorry, Gunter, I don't have strace:

-ash: strace: not found

mount.cifs is located at:

/usr/syno/bin/mount.cifs

I suspect that the installed version of mount (from BusyBox 1.16) is too old to correctly handle "-o credentials=<file>". I will try installing a newer version (BusyBox 1.21) and report back later.

However, this no longer has a high priority for me, as I can live with calling mount.cifs directly.

@Steve,
mount.cifs is only v5.5 in my installation, but since calling it directly works fine, I presume that the problem lies with the BusyBox version of mount and not with mount.cifs. Since mount works with "-o username=<user>,password=<password>", I presume that it is finding mount.cifs, but is not passing "-o credentials=<file>" correctly.

Thanks for all of your help!

-----Original Message-----
From: Günter Kukkukk [mailto:[email protected]]
Sent: Monday, November 3, 2014 12:50 AM
To: Roger Brooks; [email protected]
Subject: Re: Unable to mount using credentials file

Am 02.11.2014 um 17:50 schrieb Roger Brooks:

Quoted 5 lines

Here is the output from mount -t cifs --verbose -o ... for the failing case:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint>/ failed:
Invalid argument There is still no output when I add --verbose to the successful case. There is no verbose option listed for mount --help.
Thanks for your help.

you can also try strace (hopefully available) like:

strace -f mount -t cifs --verbose //server/share /mnt -o .....

look, whether mount.cifs is found or not.

Btw - where is your mount.cifs installed (absolute path)?

Cheers, Günter

Quoted 143 lines

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Sunday, November 2, 2014 5:30 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

mount with call mount.cifs (if it is present in /sbin) when you specify "mount -t cifs"

You can specify --verbose before the -o (see
http://linux.die.net/man/8/mount.cifs) and it will show the mount options being passed in to the kernel syscall so it would be useful for debugging to compare the exact parameters being passed in to the kernel in the working vs. failing case by specifying --verbose before the -o

Quoted 113 lines · Roger Brooks

P.S. To answer my own question below, experimentation shows that mount and umount still fulfill their normal functions for volumes mounted directly with mount.cifs. So, much as it irritates me not to know why mount -o credentials doesn't work, I can live with using mount.cifs instead.
Thanks to all who responded!

Thanks for the tips, Steve!

My version of mount:
BusyBox v1.16.1 (2014-10-10 08:37:09 CST) multi-call binary.
does not appear to have a verbose option. At least:
mount --help
does not list any such option, and mount does not return any information to the console when it succeeds, regardless of whether or not I specify -v.

The failure message is also unchanged with the -v option:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint> failed:
Invalid argument

Also, I have read that mount maintains /etc/mtab.
Does that mean that mount will not list volumes which I mounted directly with mount.cifs, and that I cannot use umount to unmount volumes mounted directly with mount.cifs?

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Saturday, November 1, 2014 5:24 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

using /sbin/mount.cifs directly should be fine. When you mount with
verbose mount option does it show any useful differences between the two cases (working vs. failing)

Quoted 72 lines · Roger Brooks

P.S.
There was a non-printing character in the directory name under /root.
After correcting that, mount.cifs -o credentials=<filename> works.
However, mount -t cifs -o credentials=<filename> still returns "Invalid argument". Can I just use mount.cifs directly, or does mount perform some additional needed housekeeping? If mount is needed, how can I get -o credentials to work?
TIA for any tips!

Hi Benjamin,

Thanks for responding.

The credentials file is a simple text file created with vi containing the lines:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
<<
I have tried this both with and without trailing newline at the end of the second line.

I have also tried the variant:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
domain=<domain>
<<

The results are always the same.
If there is a problem with the *content* of the file, why would the error message say that the file could not be opened?

Thanks for your help!
Best Regards,
Roger

From: Benjamin Bellec [mailto:[email protected]]
Sent: Saturday, November 1, 2014 1:34 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

Hi,
Does your credential file is correctly formatted ?

2014-11-01 13:03 GMT+01:00 Roger Brooks <[email protected]>:
I am attempting to mount Windows volumes on a Synology DS (running DSM 5.0, a Debian-based distribution). Command lines of the form:
mount -t cifs -o username=<user>,password=<pass> //<IP address>/share/ /mnt/<mountpoint> succeed. However, command lines of the form:
mount -t cifs -o credentials=<filename> //<IP address>/share/ /mnt/<mountpoint> fail with the error "Invalid argument". For diagnostic purposes, I have attempted to mount the volumes directly using mount.cifs (v5.5). Once again, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o
username=<user>,password=<password>
succeed.
However, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o credentials=<file> fail with the error message:
error -1 (Unknown error 4294967295) opening credential file <file>
This is the case regardless of the location of the file (see
http://samba.2283325.n4.nabble.com/Error-s-opening-credentials-file-
t
d
2518214.html) or its privileges. The error persists, even when the
command is executed from a root session and the credentials file has permissions 0777 and is in a subdirectory of /root. How can I get mount to work using a credentials file?

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Quoted 6 lines

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Quoted 7 lines

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 3 lines
Thanks,

Steve

A message that is not in the archive (sent off-list or not yet received): CAH2r5mvxygva+WL2ExeWNky5GdbF88hJwOdcQQshoxPTrTnZeA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#18 lore raw

Actually neither mount nor mount.cifs could resolve the computer name until I added wins to /etc/nsswitch.conf.
After I did so, neither had any difficulty mounting volumes by computer name instead of by IP address.
Your prediction is correct, however, concerning mount commands without credentials on the command line.
In that case mount fails with "Invalid argument", whereas mount.cifs prompts for a password.
Unfortunately, mount does not seem to be looking for mount.cifs in /sbin.
I was afraid of moving mount.cifs from where Synology puts it, so I added a softlink (with privileges 777) in /sbin to /usr/syno/bin/mount.cifs, but the behaviour of mount remains unchanged. Why would mount require a fixed location for mount.cifs? Why wouldn't it just search the PATH?
IAC, I can just call mount.cifs directly.

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Monday, November 3, 2014 3:40 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

Makes sense - it looks like it sis simply not finding mount.cifs so in your case you will want to call mount.cifs directly or move it into /sbin

One way to think about this is that if you don't have mount.cifs (or if it is not in the path, usually /sbin/mount.cifs, where mount is looking for it) then the mount command will pass the mount options directly to the kernel (cifs.ko) without parsing them. This is ok for something like:

       mount -t cifs //192.168.0.101/sharename /mnt -o username=myuser,password=mypassword

but won't work when you pass in something which has to be resolved in userspace berfore getting to the kernel. In particular it won't work if you have - a credential file (since mount.cifs has to open that), or if you mount using a tcp name of the server (instead of using the server's ip address) e.g. mount -t cifs //myserver/myshare /mnt instead of mount -t cifs //ip-address/myshare and will also fail if you don't specify the password (because mount won't prompt for a
password if missing). Most of the work in mount is done in kernel
(at least for the case of cifs) but opening credential files, looking up hostnames and prompting for the password are exceptions.

Quoted 195 lines · Roger Brooks

Sorry, Gunter, I don't have strace:

-ash: strace: not found

mount.cifs is located at:

/usr/syno/bin/mount.cifs

I suspect that the installed version of mount (from BusyBox 1.16) is too old to correctly handle "-o credentials=<file>". I will try installing a newer version (BusyBox 1.21) and report back later.

However, this no longer has a high priority for me, as I can live with calling mount.cifs directly.

@Steve,
mount.cifs is only v5.5 in my installation, but since calling it directly works fine, I presume that the problem lies with the BusyBox version of mount and not with mount.cifs. Since mount works with "-o username=<user>,password=<password>", I presume that it is finding mount.cifs, but is not passing "-o credentials=<file>" correctly.

Thanks for all of your help!

-----Original Message-----
From: Günter Kukkukk [mailto:[email protected]]
Sent: Monday, November 3, 2014 12:50 AM
To: Roger Brooks; [email protected]
Subject: Re: Unable to mount using credentials file

Am 02.11.2014 um 17:50 schrieb Roger Brooks:

Quoted 5 lines

Here is the output from mount -t cifs --verbose -o ... for the failing case:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint>/ failed:
Invalid argument There is still no output when I add --verbose to the successful case. There is no verbose option listed for mount --help.
Thanks for your help.

you can also try strace (hopefully available) like:

strace -f mount -t cifs --verbose //server/share /mnt -o .....

look, whether mount.cifs is found or not.

Btw - where is your mount.cifs installed (absolute path)?

Cheers, Günter

Quoted 144 lines

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Sunday, November 2, 2014 5:30 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

mount with call mount.cifs (if it is present in /sbin) when you specify "mount -t cifs"

You can specify --verbose before the -o (see
http://linux.die.net/man/8/mount.cifs) and it will show the mount options being passed in to the kernel syscall so it would be useful for debugging to compare the exact parameters being passed in to the kernel in the working vs. failing case by specifying --verbose before the -o

Quoted 114 lines · Roger Brooks

P.S. To answer my own question below, experimentation shows that mount and umount still fulfill their normal functions for volumes mounted directly with mount.cifs. So, much as it irritates me not to know why mount -o credentials doesn't work, I can live with using mount.cifs instead.
Thanks to all who responded!

Thanks for the tips, Steve!

My version of mount:
BusyBox v1.16.1 (2014-10-10 08:37:09 CST) multi-call binary.
does not appear to have a verbose option. At least:
mount --help
does not list any such option, and mount does not return any information to the console when it succeeds, regardless of whether or not I specify -v.

The failure message is also unchanged with the -v option:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint> failed:
Invalid argument

Also, I have read that mount maintains /etc/mtab.
Does that mean that mount will not list volumes which I mounted directly with mount.cifs, and that I cannot use umount to unmount volumes mounted directly with mount.cifs?

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Saturday, November 1, 2014 5:24 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

using /sbin/mount.cifs directly should be fine. When you mount with
verbose mount option does it show any useful differences between the two cases (working vs. failing)

Quoted 73 lines · Roger Brooks

P.S.
There was a non-printing character in the directory name under /root.
After correcting that, mount.cifs -o credentials=<filename> works.
However, mount -t cifs -o credentials=<filename> still returns "Invalid argument". Can I just use mount.cifs directly, or does mount perform some additional needed housekeeping? If mount is needed, how can I get -o credentials to work?
TIA for any tips!

Hi Benjamin,

Thanks for responding.

The credentials file is a simple text file created with vi containing the lines:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
<<
I have tried this both with and without trailing newline at the end of the second line.

I have also tried the variant:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
domain=<domain>
<<

The results are always the same.
If there is a problem with the *content* of the file, why would the error message say that the file could not be opened?

Thanks for your help!
Best Regards,
Roger

From: Benjamin Bellec [mailto:[email protected]]
Sent: Saturday, November 1, 2014 1:34 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

Hi,
Does your credential file is correctly formatted ?

2014-11-01 13:03 GMT+01:00 Roger Brooks <[email protected]>:
I am attempting to mount Windows volumes on a Synology DS (running DSM 5.0, a Debian-based distribution). Command lines of the form:
mount -t cifs -o username=<user>,password=<pass> //<IP address>/share/ /mnt/<mountpoint> succeed. However, command lines of the form:
mount -t cifs -o credentials=<filename> //<IP address>/share/ /mnt/<mountpoint> fail with the error "Invalid argument". For diagnostic purposes, I have attempted to mount the volumes directly using mount.cifs (v5.5). Once again, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o
username=<user>,password=<password>
succeed.
However, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o credentials=<file> fail with the error message:
error -1 (Unknown error 4294967295) opening credential file <file>
This is the case regardless of the location of the file (see
http://samba.2283325.n4.nabble.com/Error-s-opening-credentials-file
-
t
d
2518214.html) or its privileges. The error persists, even when the
command is executed from a root session and the credentials file has permissions 0777 and is in a subdirectory of /root. How can I get mount to work using a credentials file?

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Quoted 6 lines

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Quoted 7 lines

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 7 lines

--

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Steve

#19 lore raw
In reply to Günter Kukkukk

P.S. mount in BusyBox v1.21.1 does list a verbose option (-v) in its help, but its output (in both cases) is no different from that of mount in BusyBox v1.16. Presumably I could fix this by installing a "real" mount command and breaking the link to BusyBox, but I don't find it worth the effort, since I can call mount.cifs directly. Thanks again for all of your help!

Sorry, Gunter, I don't have strace:

-ash: strace: not found

mount.cifs is located at:

/usr/syno/bin/mount.cifs

I suspect that the installed version of mount (from BusyBox 1.16) is too old to correctly handle "-o credentials=<file>". I will try installing a newer version (BusyBox 1.21) and report back later.

However, this no longer has a high priority for me, as I can live with calling mount.cifs directly.

@Steve,
mount.cifs is only v5.5 in my installation, but since calling it directly works fine, I presume that the problem lies with the BusyBox version of mount and not with mount.cifs. Since mount works with "-o username=<user>,password=<password>", I presume that it is finding mount.cifs, but is not passing "-o credentials=<file>" correctly.

Thanks for all of your help!

-----Original Message-----
From: Günter Kukkukk [mailto:[email protected]]
Sent: Monday, November 3, 2014 12:50 AM
To: Roger Brooks; [email protected]
Subject: Re: Unable to mount using credentials file

Am 02.11.2014 um 17:50 schrieb Roger Brooks:

Quoted 5 lines

Here is the output from mount -t cifs --verbose -o ... for the failing case:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint>/ failed:
Invalid argument There is still no output when I add --verbose to the successful case. There is no verbose option listed for mount --help.
Thanks for your help.

you can also try strace (hopefully available) like:

strace -f mount -t cifs --verbose //server/share /mnt -o .....

look, whether mount.cifs is found or not.

Btw - where is your mount.cifs installed (absolute path)?

Cheers, Günter

Quoted 150 lines

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Sunday, November 2, 2014 5:30 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

mount with call mount.cifs (if it is present in /sbin) when you specify "mount -t cifs"

You can specify --verbose before the -o (see
http://linux.die.net/man/8/mount.cifs) and it will show the mount options being passed in to the kernel syscall so it would be useful for debugging to compare the exact parameters being passed in to the kernel in the working vs. failing case by specifying --verbose before the -o

Quoted 113 lines · Roger Brooks

P.S. To answer my own question below, experimentation shows that mount and umount still fulfill their normal functions for volumes mounted directly with mount.cifs. So, much as it irritates me not to know why mount -o credentials doesn't work, I can live with using mount.cifs instead.
Thanks to all who responded!

Thanks for the tips, Steve!

My version of mount:
BusyBox v1.16.1 (2014-10-10 08:37:09 CST) multi-call binary.
does not appear to have a verbose option. At least:
mount --help
does not list any such option, and mount does not return any information to the console when it succeeds, regardless of whether or not I specify -v.

The failure message is also unchanged with the -v option:
mount: mounting //<IP address>/<share> on /mnt/<mountpoint> failed:
Invalid argument

Also, I have read that mount maintains /etc/mtab.
Does that mean that mount will not list volumes which I mounted directly with mount.cifs, and that I cannot use umount to unmount volumes mounted directly with mount.cifs?

-----Original Message-----
From: Steve French [mailto:[email protected]]
Sent: Saturday, November 1, 2014 5:24 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

using /sbin/mount.cifs directly should be fine. When you mount with
verbose mount option does it show any useful differences between the two cases (working vs. failing)

Quoted 72 lines · Roger Brooks

P.S.
There was a non-printing character in the directory name under /root.
After correcting that, mount.cifs -o credentials=<filename> works.
However, mount -t cifs -o credentials=<filename> still returns "Invalid argument". Can I just use mount.cifs directly, or does mount perform some additional needed housekeeping? If mount is needed, how can I get -o credentials to work?
TIA for any tips!

Hi Benjamin,

Thanks for responding.

The credentials file is a simple text file created with vi containing the lines:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
<<
I have tried this both with and without trailing newline at the end of the second line.

I have also tried the variant:

Quoted 1 line
Quoted 1 line

username=<user>
password=<password>
domain=<domain>
<<

The results are always the same.
If there is a problem with the *content* of the file, why would the error message say that the file could not be opened?

Thanks for your help!
Best Regards,
Roger

From: Benjamin Bellec [mailto:[email protected]]
Sent: Saturday, November 1, 2014 1:34 PM
To: Roger Brooks
Cc: [email protected]
Subject: Re: Unable to mount using credentials file

Hi,
Does your credential file is correctly formatted ?

2014-11-01 13:03 GMT+01:00 Roger Brooks <[email protected]>:
I am attempting to mount Windows volumes on a Synology DS (running DSM 5.0, a Debian-based distribution). Command lines of the form:
mount -t cifs -o username=<user>,password=<pass> //<IP address>/share/ /mnt/<mountpoint> succeed. However, command lines of the form:
mount -t cifs -o credentials=<filename> //<IP address>/share/ /mnt/<mountpoint> fail with the error "Invalid argument". For diagnostic purposes, I have attempted to mount the volumes directly using mount.cifs (v5.5). Once again, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o
username=<user>,password=<password>
succeed.
However, commands of the form:
mount.cifs //<IP address>/<share> /mnt/<mountpoint>/ -o credentials=<file> fail with the error message:
error -1 (Unknown error 4294967295) opening credential file <file>
This is the case regardless of the location of the file (see
http://samba.2283325.n4.nabble.com/Error-s-opening-credentials-file-
t
d
2518214.html) or its privileges. The error persists, even when the
command is executed from a root session and the credentials file has permissions 0777 and is in a subdirectory of /root. How can I get mount to work using a credentials file?

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Quoted 6 lines

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Thanks,

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"
in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html