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

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

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux