Bug 115736 - (FS CIFS)Mounting of samba shares no longer possible
Summary: (FS CIFS)Mounting of samba shares no longer possible
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Steve Dickson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-15 16:01 UTC by Simon Perreault
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-04-16 04:08:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Simon Perreault 2004-02-15 16:01:13 UTC
Description of problem: 
It seems like the smbfs filesystem has been left out of the FC2 
test1 kernel. 
 
Version-Release number of selected component (if applicable): 
kernel-2.6.1-1.65 
samba-3.0.2-7.FC1 
 
How reproducible: 
Try to mount a samba filesystem. 
   
Actual results: 
[nomis80@localhost mnt]$ sudo mount /mnt/public/ 
Anonymous login successful 
ERROR: smbfs filesystem not supported by the kernel 
Please refer to the smbmnt(8) manual page 
smbmnt failed: 255 
 
Additional info: 
The fstab entry: 
\\nomis80\public    /mnt/public     smbfs   guest,uid=500,defaults  
0 0 
 
I know the server isn't at fault, it worked before the upgrade to 
FC2 test1.

Comment 1 Arjan van de Ven 2004-02-15 16:05:38 UTC
try cifs not smbfs ....

Comment 2 Simon Perreault 2004-02-15 16:12:39 UTC
Does the server need to be upgraded to cifs too, or can cifs mount 
smbfs shares? Because I get: 
 
[nomis80@localhost nomis80]$ sudo mount /mnt/public/ 
Password: 
mount error: could not find target server. TCP name nomis80/public 
not found  rc = 9 
Password: 
mount error 111 = Connection refused 
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) 
 
The server is a FC1 samba server. 

Comment 3 Jay Fenlason 2004-02-24 21:52:11 UTC
smbfs/cifs are the Linux kernel client modules--they aren't servers. 
Also, the cifs module takes different mount options than smbfs did. 
You should read the mount.cifs man page and adjust your fstab entry
appropriately.

In any case, cifs != samba, so I'm reassigning this bug to the kernel.


Comment 4 keith adamson 2004-03-06 08:42:16 UTC
"You should read the mount.cifs man page and adjust your fstab entry
appropriately."

FC2 test1 rawhide updated

# man mount.cifs
No manual entry for mount.cifs
# man mount | grep cifs
#
# apropos cifs
cifs: nothing appropriate

OK maybe I'm old but where exactly are the docs?


Comment 5 keith adamson 2004-03-06 09:07:46 UTC
Found;
# rpm -q --filesbypkg samba-client | grep mount
samba-client              /sbin/mount.cifs
samba-client              /sbin/mount.smb
samba-client              /sbin/mount.smbfs
samba-client              /usr/bin/smbmount
samba-client              /usr/bin/smbumount
samba-client              /usr/share/man/man8/mount.cifs.8.gz
samba-client              /usr/share/man/man8/smbmount.8.gz
samba-client              /usr/share/man/man8/smbumount.8.gz

Which, BTW, is no longer installed by default.  And without which when
I attempt to mount a cifs I get;

# mount -t cifs //sever/usr /mnt/cifs
Segmentation fault

And a spew of errors in /var/log/messages.  Maybe if the default 
kernel has cifs you should default install these user tools.

:)


Comment 6 keith adamson 2004-03-06 10:54:47 UTC
OK ... now what's wrong?
                                                                     
          
# smbtree
Password:
MYWG
        \\MYSRVR                         Samba Server
                \\MYSRVR\keith           Home Directories
                \\MYSRVR\epsonc84        epsonc84
                \\MYSRVR\ADMIN$          IPC Service (Samba Server)
                \\MYSRVR\IPC$            IPC Service (Samba Server)
                                                                     
          
# mount -t cifs -o domain=MYWG //MYSRVR/keith /mnt/cifstest
mount error: could not find target server. TCP name MYSRVR/keith not
found  rc = 9
Password:
mount error 111 = Connection refused
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


Comment 7 keith adamson 2004-03-06 11:02:27 UTC
Found problem ... cifs needs DNS entry;

mount -t cifs -o domain=MYWG //190.168.0.1/keith /mnt/cifstest

cifs doesn't browse for services?


Comment 8 Richard Hughes 2004-07-19 15:22:27 UTC
mount.cifs fixed and cifs module updated upsteam. smbfs is dead.


Comment 9 Steve Dickson 2004-10-15 13:42:27 UTC
Is this still happening in later FC kernels?

Comment 10 Dave Jones 2005-04-16 04:08:18 UTC
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.



Note You need to log in before you can comment on or make changes to this bug.