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

Nico Sabbi Nicola.Sabbi at poste.it
Fri Nov 30 16:06:11 UTC 2007


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).




More information about the users mailing list