From: Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "Rolf G. Økland" <Rolf-xckQ04E5ShYXWF+eFR7m5Q@public.gmane.org>
Cc: "linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: VS: DM800 Linux client use CIFS/SMB to connect to Windows 2008 R2 Share
Date: Sun, 29 Aug 2010 20:16:05 -0500 [thread overview]
Message-ID: <AANLkTinh4r8pdPdvyTT__mYRsz9EDdN6DKF70TnNTCqP@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimQ-ZGMUO=vcYNeVeHK5eS1hDv27yKMSZ=bXvgY-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
You can enable more detailed error messages by enabling cifs debug
messages (before the mount) by "echo 7 > /proc/fs/cifs/cifsFYI"
posix error 13 is the same as "access denied"
One possible reason is that the domain of the server is not specified
and that the default domain for that user differs from what you think
(add something like "domain=yourserversdomain")
On Sun, Aug 29, 2010 at 4:14 PM, Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> On Sun, Aug 29, 2010 at 3:52 PM, Rolf G. Økland <Rolf-xckQ04E5ShYXWF+eFR7m5Q@public.gmane.org> wrote:
>> Hi
>>
>> I got an annoying problem, when I'm trying to mount my Dreambox DM800 (Linux client) to a windows server 2008 R2 share I get access denied for some reason.
>> This have been working like a charm on my old Windows 2003 Server, but not a chance in h. to my new 2008R2 server.
>> I'm using this script on my DM800: "mount -t cifs //192.168.0.5/xdb.tv-serier -o udp,rw,nolock,wsize=8192,rsize=8192,user=myuser,pass=mypass /media/net/tv/"
>>
>> I also got a QNAP NMP-1000 that does mount to the same share on the windows 2008R2 without any issues what so ever.
>
> Various reasons reasons for access denied are possible. Looking at
> the log (dmesg) might give you more information.
>
> Note that your mount options are a little strange (udp is meaningless
> for cifs - cifs uses reliable connections via tcp only, and shrinking
> rsize and wsize to 8192 (they default to 16K and 56K respectively for
> Linux cifs.ko) usually degrades performance. In addition the mount
> target (/media/net/tv) is harder to read when the mount options are
> put in the middle between //server/share and the mount target.
>
> It is possible that your Windows 2008R2 share defaulted to ntlmv2, and
> required packed signing (while your Windows 2003 was not configured
> that way) - and that you have hit an old bug (it is hard to tell what
> cifs version and kernel version you are running on the two systems).
>
> --
> Thanks,
>
> Steve
>
--
Thanks,
Steve
prev parent reply other threads:[~2010-08-30 1:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-29 20:52 VS: DM800 Linux client use CIFS/SMB to connect to Windows 2008 R2 Share Rolf G. Økland
[not found] ` <B1837CC6F2D935468F8A9E98BA0E8BCC0109D5D0-OcfBt9QBGLXFyRDTgTlKFhdYX54VHubl@public.gmane.org>
2010-08-29 21:14 ` Steve French
[not found] ` <AANLkTimQ-ZGMUO=vcYNeVeHK5eS1hDv27yKMSZ=bXvgY-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-08-30 1:16 ` Steve French [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTinh4r8pdPdvyTT__mYRsz9EDdN6DKF70TnNTCqP@mail.gmail.com \
--to=smfrench-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=Rolf-xckQ04E5ShYXWF+eFR7m5Q@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).