Re: I miss smbfs: cifs doesn't work as expected
- From: Albert Graham <agraham@xxxxxxx>
- Date: Fri, 30 Nov 2007 15:27:47 +0000
Hi Nico,
I'm not sure if FC6 is the same as FC8 with respect to SMB but I assume it is.
The main thing I noticed is that you are using forward slashes (i.e. unix notation) and Windows uses "backslash /" notation,
e.g. on my machine I use:
# mount -t cifs -n //localhost/mydata /media -o username=windows
# password: <enter your password>
#mount
/#/localhost/mydata on /media type cifs (rw,mand)
Hope I didn't miss your point :(
Al.
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
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: I miss smbfs: cifs doesn't work as expected
- From: Albert Graham
- Re: I miss smbfs: cifs doesn't work as expected
- References:
- I miss smbfs: cifs doesn't work as expected
- From: Nico Sabbi
- I miss smbfs: cifs doesn't work as expected
- Prev by Date: Re: Fedora and Ubuntu
- Next by Date: Re: I miss smbfs: cifs doesn't work as expected
- Previous by thread: I miss smbfs: cifs doesn't work as expected
- Next by thread: Re: I miss smbfs: cifs doesn't work as expected
- Index(es):
Relevant Pages
- Re: I miss smbfs: cifs doesnt work as expected
... I'm not sure if FC6 is the same as FC8 with respect to SMB but I assume
it is. ... The main thing I noticed is that you are using forward slashes (i.e. unix notation)
and Windows uses "backslash /" notation, ... (Fedora) - Re: Mounting into a jail
... I am currently mounting a smb share and then remounting the smb mount ...
The main reason I am using this jail is for a webserver and I need to have ... I don't
know about uid with smb but I just mount it on the base server inside the jails path. ...
(freebsd-questions) - Re: [SLE] User mounting smbfs
... >> I've been trying to configure fstab, to allow a user to mount an smb
... >> users options, I get an error. ... (SuSE) - Mounting into a jail
... I am currently mounting a smb share and then remounting the smb mount ...
The main reason I am using this jail is for a webserver and I need to have ... (freebsd-questions) - Problem mounting a SMB directory
... We're trying to mount a windows shared directory.When we've used the ... smbclient
command all goes well: ... SMB connection failed ... windows 2000 server.
... (RedHat)