Re: mount.cifs prerequisites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Thu, Aug 18, 2011 at 12:15 PM, Kong Li <likong@xxxxxxxxx> wrote:
>> The invalid argument might be a bug on windows 2008 side.
>> http://support.microsoft.com/kb/957441
>>
>> I had the exact same situation.  Applying the fix resolved the issue
>> in my environment.
>>
>> Thanks.
>>
>> Kong
>>
>>
>> On Thu, Aug 18, 2011 at 9:49 AM, Steve French <smfrench@xxxxxxxxx>
>> wrote:
>>> the available messages which can be returned on mount are
>>> quite limited so sometimes the mapping of network errors
>>> on to the very limited set of available mount error
>>> messages can get confusing.
>>>
>>> Do you see mount generating any messages
>>> in dmesg?  Alternatively, you might turn on cifs debugging
>>> (echo 7 > /proc/fs/cifs/cifsFYI) and try mount again
>>> and see if the warning message for the mount failure
>>> is listed (in dmesg)
>>>
>>> On Thu, Aug 18, 2011 at 11:31 AM,  <bruce@xxxxxxxxxxxxxxx> wrote:
>>>>
>>>> Dear List,
>>>> I am running a 2.6.28 kernel that I have compiled with cifs filesystem
>>>> support. I am trying to mount a share from a windows 2008 server
>>>> requiring
>>>> ntlmv2. when I try to pass the option sec=ntlmv2 or ntlmv2i I receive
>>>> an
>>>> invalid argument message. If I omit the sec option I receive a
>>>> permission
>>>> denied.
>>>> I have also tried to use a stock Debian kernel (2.6.32) that I have
>>>> checked to have cifs compiled in and I get the same results. If I
>>>> perform
>>>> a 'modinfo cifs' it shows the module to be loaded and that I am
>>>> running
>>>> ver 1.61 of cifs.
>>>> Is there any other components I need to check (do I need a library
>>>> package
>>>> to support ntlmv2??)
>>>> I can mount shares of servers that allow NTLMv1.
>>>>
>>>> Any help gratefully received.
>>>>
>>>> Thanks Bruce
>>>>
>>>>
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe linux-cifs"
>>>> in
>>>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>>>> 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 majordomo@xxxxxxxxxxxxxxx
>>> 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 majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
> Yes, Jeff Layton had pointed to this
>  http://support.microsoft.com/kb/957441/en-us
> earlier.
>

Thanks for all the help. I have now got the stock debian kernel to mount
the share using the Microsoft KB. I still have an issue with the kernel I
was using but I can work to get round that.
Thanks again.
Bruce

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


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux