Hide Forgot
Samba-2.0.3 from redhat-sparc 6.0 (on an Ultra-10) can only see one line in /etc/smbpasswd (properly created with makesmbpasswd.sh or via smbadduser). As soon as more than one line is present,it fails on all entrys ("Cannot find xxxx in smbpasswd file" or something like that is written in the logs). This is when trying with "smbpasswd", "smbclient" or when connecting from a windows client. More info available upon request.
There seems to be some 64-bit collision issues on the UltraSparc (it's using 64-bit types when 32 seems to be expected.) I'll enter something in the samba bug tracker and get back to you.
I found the bug, it is in the kernel and easily fixable. All of SMB_IOC_* ioctl()s are not being translated from the userspace 32-bit types into the kernel 64-bit types, this means changes to arch/sparc64/kernel/ioctl32.c in the kernel. I think it can be removed from the Samba bug tracker, because their code is fine, notting?
sure, but the problem here was in using ftello64 and the like to get file offsets and then doing some various pointer math on it - would that have caused these bugs too? ------- Email Received From "David S. Miller" <davem@redhat.com> 05/18/99 13:13 -------
Fixed in samba-2.0.4b-5, by a really ugly hack. Will be available in next Raw Hide.