Re: I miss smbfs: cifs doesn't work as expected

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

 



Nico Sabbi wrote:
> Hi,
> with another distribution I could mount an SMB share as my user
> (passing different credentials to mount.smbfs)
> in such a manner that on my pc the mounted files appeared
> to belong to my user.
> The /etc/fstab entry was:
> 
> //server/dir /home/nico/dir smbfs 
> noauto,users,rw,noexec,username=MYUSERNAME,password=MYPWD 0 0 0 0
> 
> In FC8, instead, using cifs I can't obtain the same result: mounting 
> always fails. The problem seems to be related to mount.cifs:
> 
> $ smb4k_mount -t cifs -n //server/dir  ./a -o  
> username=MYUSERNAME,password=MYPWD
> 
> mount error 1 = Operation not permitted
> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
> 
> How can I make this configuration work? I can neither change
> the user exporting the share nor change my local user.
> 
> I'd like to use the good old smbfs, but it seems to have been
> completely removed from Fedora kernels (why? ) .
> 
> Thanks,
> 	Nico
> 
I believe this has been covered a few times in different threads.
One difference between smbfs and cifs is the way cifs handles
looking up server names. You are probably going to have to specify
the server name, and possible the IP address.

mount -t cifs //mikkel/Backup /mnt/temp/ -o
servern=MIKKEL,MYUSERNAME,password=MYPWD,ip=192.168.1.9

Now, I can do a DNS lookup on mikkel so all I need is:

mount -t cifs //mikkel/Backup /mnt/temp/ -o
servern=MIKKEL,MYUSERNAME,password=MYPWD

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

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