[linux-cifs-client] [solved] Directory Listings Truncated

Mitch Crane mcrane1 at alltel.net
Thu Feb 12 19:07:19 GMT 2004


> From: Steven French [mailto:sfrench at us.ibm.com]
> Subject: Re: [linux-cifs-client] Directory Listings Truncated
> 
> > Looking at the Ethernet packets I see that I'm getting a
> > STATUS_OBJECT_NAME_INVALID error on the FIND_NEXT2 command.
> > I also see the the flag is set for strings are Unicode
> > and that the filename being sent telling the XP machine
> > where to continue from is not Unicode which obviously
> > is the immediate cause of the error.
> 
> That problem should be fixed in current cvs version of 2.4 cifs vfs (it
> did not seem to show up in 2.6 but a similar fix was applied there just in
> case). It was as you describe setting Unicode flag but not resuming with
> Unicode string (filldir only takes ASCII strings - so the string was
> converted - and when one of the many calls to the kernel routine filldir
> returns errors as it does a lot on 2.4, the string needed to be converted
> back to Unicode).

Thanks, Steve. The latest cvs version did fix the problem.




More information about the linux-cifs-client mailing list