All of lore.kernel.org
 help / color / mirror / Atom feed
* Unable to mount using credentials file
@ 2014-11-01 12:03 Roger Brooks
       [not found] ` <CANzfOVLmYUWPoTD8zF7oDFJ-XR57sPTBH=yJQ4mzPd2zgapFog@mail.gmail.com>
  0 siblings, 1 reply; 15+ messages in thread
From: Roger Brooks @ 2014-11-01 12:03 UTC (permalink / raw)
  To: linux-cifs-u79uwXL29TY76Z2rM5mHXA

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?

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-11-04 13:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-01 12:03 Unable to mount using credentials file Roger Brooks
     [not found] ` <CANzfOVLmYUWPoTD8zF7oDFJ-XR57sPTBH=yJQ4mzPd2zgapFog@mail.gmail.com>
2014-11-01 14:54   ` Roger Brooks
2014-11-01 16:21   ` Roger Brooks
2014-11-01 16:24     ` Steve French
     [not found]       ` <CAH2r5mupp47fyNw7t_EEvdQSzk-oNPNm8C9vfdNSvbMqr6GcPA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-02  7:44         ` Roger Brooks
2014-11-02 10:09       ` Roger Brooks
2014-11-02 15:59         ` Günter Kukkukk
2014-11-02 16:29         ` Steve French
     [not found]           ` <CAH2r5mur=q=nJhpYWRRK_6CQgxYF067pxpiCtnHWQ3y9NiXX5A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-02 16:50             ` Roger Brooks
2014-11-02 18:58               ` Steve French
2014-11-02 23:49               ` Günter Kukkukk
     [not found]                 ` <5456C316.90308-KQewbsS9MvBBDgjK7y7TUQ@public.gmane.org>
2014-11-03  7:34                   ` Roger Brooks
2014-11-03 14:40                     ` Steve French
     [not found]                       ` <CAH2r5mvxygva+WL2ExeWNky5GdbF88hJwOdcQQshoxPTrTnZeA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-04 13:31                         ` Roger Brooks
2014-11-03  7:54                 ` Roger Brooks

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.