Re: 2.1.62 NFS and SMB [samba problems]

Jaromir Koutek (miri@atrey.karlin.mff.cuni.cz)
Tue, 4 Nov 1997 20:39:52 +0100


> Also, when trying to smbmount SMB shares, I get the message:
> smb_read_super: need mount version 6
Me too - but I've found the reason. You have mount-2.7f from RedHat
4.9.1, like me. In SRPM for mount, there is patch to make it "glibc2"
compatible, this means "don't use any kernel headers" here. So in
patch is #define SMB_MOUNT_VERSION 5.
I recompiled smbfs, samba, but I still can't use samba (2.1.61 or
2.0.31, doesn't matter). I can smbmount disk, but then the mount point
is labeled with permissions:
d-------w- 1 root 500 512 Nov 4 20:32 s
(group 500 doesn't exists). I 'can' list directory as root:
[root@abyss miri]# ls -la s
total 0
That's wrong - there are files in mounted directory. This is from syslog:
Nov 4 20:33:55 abyss kernel: smb_retry: no connection process
Nov 4 20:33:55 abyss kernel: smb_refill_dircache: readdir failed, result=-5
or yesterday's:
Nov 3 22:52:55 abyss kernel: smb_retry: no connection process
Nov 3 22:52:55 abyss kernel: smb_refill_dircache: readdir failed, result=-5
Nov 3 22:52:57 abyss kernel: smb_lookup: find //ls failed, error=-5

miri@atrey.karlin.mff.cuni.cz