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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux