* VS: DM800 Linux client use CIFS/SMB to connect to Windows 2008 R2 Share
@ 2010-08-29 20:52 Rolf G. Økland
[not found] ` <B1837CC6F2D935468F8A9E98BA0E8BCC0109D5D0-OcfBt9QBGLXFyRDTgTlKFhdYX54VHubl@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Rolf G. Økland @ 2010-08-29 20:52 UTC (permalink / raw)
To: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
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.
I'm at a dead end now, so I'm hoping someone here have some input I may try
Thanx :-)
mvh / Best regards
Rolf G. Okland
E-mail rolf-xckQ04E5ShYXWF+eFR7m5Q@public.gmane.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: VS: DM800 Linux client use CIFS/SMB to connect to Windows 2008 R2 Share
[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>
0 siblings, 1 reply; 3+ messages in thread
From: Steve French @ 2010-08-29 21:14 UTC (permalink / raw)
To: Rolf G. Økland; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: VS: DM800 Linux client use CIFS/SMB to connect to Windows 2008 R2 Share
[not found] ` <AANLkTimQ-ZGMUO=vcYNeVeHK5eS1hDv27yKMSZ=bXvgY-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2010-08-30 1:16 ` Steve French
0 siblings, 0 replies; 3+ messages in thread
From: Steve French @ 2010-08-30 1:16 UTC (permalink / raw)
To: Rolf G. Økland; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-30 1:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).