Description of problem: I made a clean install of Fedora 9 since then the same command to mount samba shares off my server running CentOS 5 doesn't work. The share is a public share accessible via the guest user account ( no authentication required ). When I try to mount it using the command: mount -t cifs \\IPADDRESS\SHARENAME /mnt/smbshare I get the error "mount error 20 = Not a directory" while infact the share exists and the mount point also exists. SELinux is disabled on both the server and client ( running F9 ). I tried mounting the share on a F8 machine using the same command. It worked perfectly. I would also like to mention that I can browse the share normally via Konqueror or Nautilus. When I enter the URL with the same path i.e. smb://IPADDRESS/SHARENAME, it works as expected. No issues there. Version-Release number of selected component (if applicable): N/A How reproducible: Always reproducible Steps to Reproduce: 1. Open a shell ( konsole / gnome-terminal ) 2. Get super user privileges using "su -" 3. run -> mount -t cifs \\IPADDRESS\SHARENAME /mnt/smbshare ( after replacing IPADDRESS and SHARENAME with the appropriate values ). Actual results: The mount command fails with the following error: mount error 20 = Not a directory Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) Expected results: The share should be mounted Additional info: 1. Fedora 8 machine is able to mount the share with exactly the same command. 2. Firewall on both server and client were disabled and tested. The problem persisted. 3. The shares mount properly on windows machines. 4. The share can be browsed on the Fedora 9 machine using konqueror and nautilus as well as the smbclient command from CLI.
I got the same problems but with a share with authentication. i can accest it with smbclient but not with mount -t cifs
Are you still seeing this with more recent kernel/mount.cifs programs? I believe this is now fixed upstream.
No word on this in quite some time. Closing as CURRENTRELEASE since I believe this is now fixed. Please reopen if it isn't.