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

Re: [Suspected Spam] Re: I miss smbfs: cifs doesn't work as expected



Il Friday 30 November 2007 16:33:46 Tom Horsley ha scritto:
> > In FC8, instead, using cifs I can't obtain the same result:
> > mounting always fails. The problem seems to be related to
> > mount.cifs:
>
> I hadn't tried cifs in Fedora 8 till I read this, so I gave the
> script I was using in fedora 7 a try, and it wouldn't work anymore,
> but I didn't get permission problems, I got an error telling me the
> UNC name (which DID start with //) didn't start with // and needed
> to start with either // or \\. To see if it would make it happy, I
> tried changing all the forward slashes in my windows path names to
> pairs of backslashes (to get them through shell processing), and
> then the mounts worked again.
>
> I'll attach the silly script I run (as root) to do the mounting.

Thanks to the users that replied.
The problem is totally unrelated to  DSN lookups.
To make it work I had to suid root /sbin/mount.cifs and add  
 -o  user=workgroup/username%password,uid=500,gid=500 
It's a disappointment and a big security concern :(
but at least it works (although I'm a bit surprised that
on a system where your can't eradicate selinux you have to
resort to the sledgehammer/suid to make user-mounts work).


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