I recompiled all samba-related software (ksmbfs package & samba server)
whith -fno-strength-reduce flag, but it did not help. I used Linux 1.3.63,
but I saw the same problem with 1.3.5x kernels. Once the experiment
with smbfs fully crashed my Linux (kernel started to print traps in all
running processes).
I tried all possible ways of connection:
{client: smbfs or smbclient or Windows NT} - {server: smbd or Windows NT}
And I get bug only in "smbfs - smbd" variant. I think, that the problem
is in there intercommunication - smbfs ignores "end of directory", sended
by smbd if the previos file name was too long; in this case smbfs returns
to Linux about 255 invalid directory entries.
Yuri Per (yuri@pts.mipt.ru)