I miss smbfs: cifs doesn't work as expected



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

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: [PATCH] private mounts
    ... >> and can then decided whether to return an existing superblock instance or ... If the credentials for the new mount match an old one ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: 2.4.31 hangs, no information on console or serial port
    ... which a mount that was behaving badly could affect the kernel in this ... Loopback NFS can deadlock in trying to free memory when writing back dirty ... Use mount --bind instead. ...
    (Linux-Kernel)
  • RE: [SLE] cifs mounts
    ... WARNING: CIFS mount option 'dmask' is deprecated. ... I'd like to use /etc/samba/smbfstab with credentials, ...
    (SuSE)
  • "Hiding" files under a mount point
    ... If I "hide" a file under a mount point, does that file still take up ... Is there anything wrong with hiding files in this manner? ... Allistar. ...
    (comp.os.linux)