Bug 119405
Summary: | The /usr/bin/smbmount command can't mount smb shares because smbfs is not supported by the kernel. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | shane nuessler <u4035491> |
Component: | kernel | Assignee: | Dave Jones <davej> |
Status: | CLOSED NEXTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2 | CC: | pfrields |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-04-16 04:02:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
shane nuessler
2004-03-30 06:30:23 UTC
please try using cifs instead... Hi Arjan, What is cifs? I can't a package name starting with cifs on the test2 cd's? Regards, Shane. you don't need a special package for it... mount understands it directly Hi Arjan, Is the command I would like the following? mount cifs //winbox/share /home/mydir/mountpoint -o rw,username=me,uid=me,workgroup=GRP I need to use it a a user, not root. Kind regards, Shane. mount -t cifs, eg note the -t if you need to mount it as user you need to add it to /etc/fstab with the "user" option there... Ok, thanks for that. Out of interest, is there a reason why the kernel doesn't know about smbfs anymore? The commands worked under Fedora Core 1. Will smbfs be supported in the production version of FC2? God bless, Shane. we don't know yet about the final FC2. cifs is supposed to be the "new thing" and replace smbfs mostly; so we need it tested. Only way to get that done is to disable the old thing... Sounds fair enough to me. Although, having to list the mount in the fstab is a bit of a pain for us. We like to add a new mount point to a list and just have it mounted by a script. Do you know of any way around this? Hi Arjan, the c in -cifs is reported to be an unknown option. (see below) mount: invalid option -- c Usage: mount -V : print version mount -h : print this help mount : list mounted filesystems mount -l : idem, including volume la ...etc... Other options: [-nfFrsvw] [-o options] [-p passwdfd]. For many more details, say man 8 mount . Shane. woops, -t cifs, not -cifs scrub that last comment from me. Ok, I'm doing the right thing now. But even though the smb share and local point etc are in the fstab file, I still get Only Root can do that when I try to mount as a user. Unless I take all the smb options off the command line. Of course then I can't authenicate because no domain info can be provided. How do I put all the samba options (workgroup, uid etc) into the fstab? Regards, Shane. trying to mount a volume that works with smbclient and nautilus (and worked with smbmount on Debian) I get [root@midnight root]# mount -t cifs //nt1/epiic /nt1 -o ro,user=me Password: mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) [root@midnight root]# /var/log/messages shows: May 6 13:25:53 midnight kernel: CIFS VFS: Send error in SessSetup = -13 May 6 13:25:53 midnight kernel: CIFS VFS: cifs_mount failed w/return code = -13 No big deal because I can use other tools but I'd recommend re-enabling smb at some point. any better with the 2.6.9 update ? Fedora Core 2 has now reached end of life, and no further updates will be provided by Red Hat. The Fedora legacy project will be producing further kernel updates for security problems only. If this bug has not been fixed in the latest Fedora Core 2 update kernel, please try to reproduce it under Fedora Core 3, and reopen if necessary, changing the product version accordingly. Thank you. |