Re: [Suspected Spam] Re: I miss smbfs: cifs doesn't work as expected
- From: Nico Sabbi <Nicola.Sabbi@xxxxxxxx>
- Date: Fri, 30 Nov 2007 17:06:11 +0100
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).
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- Re: I miss smbfs: cifs doesn't work as expected
- From: Tom Horsley
- Re: I miss smbfs: cifs doesn't work as expected
- Prev by Date: Re: Fedora and Ubuntu
- Next by Date: Re: during fedora boot, what picks up the initrd.img from /boot?
- Previous by thread: Re: I miss smbfs: cifs doesn't work as expected
- Next by thread: streaming video metrics
- Index(es):
Relevant Pages
|