Re: Howto mount cifs from c?

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

 



On Thu, 2 Aug 2012 19:18:36 +0200
Stef Bon <stefbon@xxxxxxxxx> wrote:

> Ok! Thanks a lot! If you want to to it a week later, it's fine with
> me. As long as I know someone tries to tackle it I'm very happy.
> 
> Stef
> 
> 2012/8/2 Shirish Pargaonkar <shirishpargaonkar@xxxxxxxxx>:
> > On Wed, Aug 1, 2012 at 3:30 AM, Stef Bon <stefbon@xxxxxxxxx> wrote:
> >> I've changed the options:
> >>
> >> without unc did not work, with unc, but then with normal slashes:
> >>
> >>
> >> mount_resource: mount //SCLFS20091030/public
> >> /mnt/fuse-workspace/65e9e42684129ad79f96d981c665cae1 cifs
> >> user=sbon,password=*******,uid=1000,gid=1000,domain=BONONLINE,rw,nodfs,unc=//SCLFS20091030/public,ip=192.168.0.2
> >>
> >>
> >> kernel: fs/cifs/cifsfs.c: Devname: //SCLFS20091030/public flags: 0
> >> kernel: fs/cifs/connect.c: Domain name set
> >> kernel: fs/cifs/connect.c: Username: sbon
> >> kernel: fs/cifs/connect.c: file mode: 0x1ed  dir mode: 0x1ed
> >> kernel: fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 17 with uid: 0
> >> kernel: fs/cifs/connect.c: UNC: \\SCLFS20091030/public ip: 192.168.0.2
					^^^^^^^^
Your unc= parm is bogus, it requires backslashes as delimiters.

Is there some reason you're not using mount.cifs?

> >> kernel: fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 17) rc = -22
> >> kernel: CIFS VFS: cifs_mount failed w/return code = -22
> >>
> >> Any idea??
> >>
> >> Stef
> >
> > Stef, I would not be able to respond for a day or two.
> > Will spend time on this over either Friday or weekend.
> >
> > Regards,
> >
> > Shirish
> --
> 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


-- 
Jeff Layton <jlayton@xxxxxxxxx>
--
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