Re: Howto mount cifs from c?

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

 



On Tue, Jul 31, 2012 at 3:25 AM, Stef Bon <stefbon@xxxxxxxxx> wrote:
> Please give some advice how to deal with these errors.
>
> Stef
>
> 2012/7/30 Stef Bon <stefbon@xxxxxxxxx>:
>> Hi,
>>
>> I'm writing a mount module, which can mount cifs. But I get constantly errors:
>>
>> Jul 30 01:01:21 asus20110414.bononline.nl fuse-workspace[7570]:
>> mount_resource: mount //SCLFS20091030/public
>> /mnt/fuse-workspace/8b1cd1abd18e90c9f5a112627f779ee2 cifs
>> user=sbon,password=******,uid=1000,gid=1000,domain=BONONLINE,rw,acl,user_xattr,cifsacl,posixpaths
>>
>> THis is ouput of the logging of fuse-workspace, and it tries to mount
>> the share //SCLFS20091030/public at
>> /mnt/fuse-workspace/8b1cd1abd18e90c9f5a112627f779ee2, with the
>> options.
>>
>> I get constantly -22 errors, and nothing gets mounted. Do I have to
>> add the ip or something?
>>
>> Stef
> --
> 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

Can you ping the server SCLFS20091030
You can turn cifs debug on and see where error 22 (EINVAL)
is coming from.
A wireshark trace will reveal info whether anything is going over
the wire
--
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