2.5.11 and smbfs
I don't know if anyone's mentioned this (I tried searching through the recent list archives). I have 2.5.11 compiled on a dual P3/800 with preempt enabled. smbfs and 3c905c are compiled into the kernel (not modules). It has 1gb memory and I have high memory (4gb) compiled.
I can mount other samba shares fine (ie. Samba-2.2.2 from OSX 10.1.4 and Samba-2.2.2 from Tru64 5.1) and the directories look fine. When I mount a share from a Windows 2000 server I only get the first letter of the entry in the shared folder which, of course, makes no sense and generates errors when just trying to get an "ls" of the share. The Win2K servers are both regular server and Adv Server, both with SP2 and the latest patches. The linux machine is running RedHat 7.2 with almost all of the latest updates and 2.5.11 compiled.
Please let me know if there is any other information needed or if you want me to try something. (I will try to respond quickly.)
--Scott
Quoted 8 lines · Scott A. Sibert
I can mount other samba shares fine (ie. Samba-2.2.2 from OSX 10.1.4 and Samba-2.2.2 from Tru64 5.1) and the directories look fine. When I mount a share from a Windows 2000 server I only get the first letter of the entry in the shared folder which, of course, makes no sense and generates errors when just trying to get an "ls" of the share. The Win2K servers are both regular server and Adv Server, both with SP2 and the latest patches. The linux machine is running RedHat 7.2 with almost all of the latest updates and 2.5.11 compiled.
The server is returning unicode filenames but smbfs isn't expecting them.
You don't say which samba version your smbmount is from, but I'm guessing 2.2.1/2.2.2. They always negotiate unicode support without knowing if smbfs supports it or not, which is a bug.
With smbfs unicode support in 2.5 this started to matter for various reasons. I have thought about "autodetection" and maybe that will be necessary anyway.
For now, upgrading samba to 2.2.3a should fix this. Let me know if it doesn't.
/Urban
Hi all.
Kernel 2.4.18 smbfs worked, 2.4.19-pre8 smbfs worked (although fs/ufs/super.c had some missing commas), 2.5.11 smbfs didn't work. The RedHat 7.2 had samba-2.2.1a-4 so I pulled down samba-2.2.3a-4 from the skipjack beta and compiled it under kernel 2.5.11 and it mounts windows shares correctly. I'm in the process of going to 2.5.13 but I'm going to stick with the 2.2.3a-4 samba.
Thanks for all of your help.
--Scott
Quoted 26 lines · Urban Widmark
Quoted 2 lines · Scott A. Sibert
I can mount other samba shares fine (ie. Samba-2.2.2 from OSX 10.1.4 and Samba-2.2.2 from Tru64 5.1) and the directories look fine. When I mount a share from a Windows 2000 server I only get the first letter of the entry in the shared folder which, of course, makes no sense and generates errors when just trying to get an "ls" of the share. The Win2K servers are both regular server and Adv Server, both with SP2 and the latest patches. The linux machine is running RedHat 7.2 with almost all of the latest updates and 2.5.11 compiled.
The server is returning unicode filenames but smbfs isn't expecting them.
You don't say which samba version your smbmount is from, but I'm guessing 2.2.1/2.2.2. They always negotiate unicode support without knowing if smbfs supports it or not, which is a bug.
With smbfs unicode support in 2.5 this started to matter for various reasons. I have thought about "autodetection" and maybe that will be necessary anyway.
For now, upgrading samba to 2.2.3a should fix this. Let me know if it doesn't.
/Urban
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines · Scott A. Sibert
I don't know if anyone's mentioned this (I tried searching through the recent list archives). I have 2.5.11 compiled on a dual P3/800 with preempt enabled. smbfs and 3c905c are compiled into the kernel (not modules). It has 1gb memory and I have high memory (4gb) compiled.
Quoted 8 lines
I can mount other samba shares fine (ie. Samba-2.2.2 from OSX 10.1.4 and Samba-2.2.2 from Tru64 5.1) and the directories look fine. When I mount a share from a Windows 2000 server I only get the first letter of the entry in the shared folder which, of course, makes no sense and generates errors when just trying to get an "ls" of the share. The Win2K servers are both regular server and Adv Server, both with SP2 and the latest patches. The linux machine is running RedHat 7.2 with almost all of the latest updates and 2.5.11 compiled.
Let's try to isolate the cause. Does 2.4 kernel fail too? --
vda