Bug 5441 - "Not a directory" mounting 3.0.24 shares from linux 2.6.25
Summary: "Not a directory" mounting 3.0.24 shares from linux 2.6.25
Status: RESOLVED FIXED
Alias: None
Product: CifsVFS
Classification: Unclassified
Component: kernel fs (show other bugs)
Version: 2.6
Hardware: All Linux
: P3 normal
Target Milestone: ---
Assignee: Steve French
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-05 22:28 UTC by Ted Percival
Modified: 2008-06-16 04:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ted Percival 2008-05-05 22:28:45 UTC
When mounting a samba 3.0.24 share from Linux 2.6.25 I get a "Not a directory" error. It works fine from Linux 2.6.24.

> mount.cifs //erwin.local/common /tmp/smb -ocredentials=/dev/shm/creds
> mount error 20 = Not a directory

The server is running Debian samba 3.0.24-6etch9 and the clients are running linux-image-2.6.25-1-686 and -powerpc with smbfs 1:3.2.0~pre3-1 (plus the patch for bug #5434).

The working 2.6.24 kernels are Debian linux-image-2.6.24-1-686 (version 2.6.24-6 I think).
Comment 1 Ted Percival 2008-05-05 22:40:54 UTC
/dev/shm/creds contains
> username=myuser
> password=mypass

/tmp/smb is a plain old empty directory
> $ ls -la /tmp/smb
> total 44
> drwxr-xr-x  2 ted      ted    4096 May  5 12:17 .
> drwxrwxrwt 26 root     root  36864 May  5 13:32 ..
Comment 2 Ted Percival 2008-06-16 04:46:17 UTC
This was fixed in 2.6.25.5 or 2.6.25.6.

The problem was in Debian linux-2.6 version 2.6.25-4 but fixed in 2.6.25-5, for the changelog see http://packages.debian.org/changelogs/pool/main/l/linux-2.6/current/changelog#versionversion2.6.25-5