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).
/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 ..
This was fixed in 22.214.171.124 or 126.96.36.199.
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