[linux-cifs-client] RE: Longnames (was problems with cifs)

Naidu Bollineni naidu at kazeon.com
Thu May 5 18:23:05 GMT 2005


And SNIA spec says if the client is not bound by 8.3 notation, server is
free to return characters not bound by the same convention.

Does SAMBA server(recent 3.X or 4) handle this case, and return true
names?

Naidu Bollineni
Senior Member Technical Staff
Kazeon Systems
naidu at kazeon.com
www.kazeon.com

> -----Original Message-----
> From: Steve French [mailto:smfltc at us.ibm.com]
> Sent: Thursday, May 05, 2005 3:57 PM
> To: Naidu Bollineni
> Cc: linux-cifs-client at lists.samba.org
> Subject: Longnames (was problems with cifs)
> 
> > How can I see long names of the files from server? Even though
Flags2
> > says client is not bound by the 8.3 notation, the server that has
about
> > 5K files is returning them in 8.3 format. I would like to see the
real
> > names, otherwise, it is difficult to correlate the real names to the
> > mapped/mangled names.
> AFAIK, the only cases in which servers will return short names
> are the following:
> 
> 1) the underlying filesystem (some versions of FAT e.g.) does
> not support longnames for which mangling the name is the only choice
> other than rejecting the create or mkdir
> 
> 2) as the alt name in some of the higher levels of FindFirst (the non-
> mangled
> name is also typically returned)
> 
> 3) (for Samba at least) when the filename contains what is considered
> an illegal character (such as <>\/:)
> 
> Presumably it could be a bug in the server handling of the longnames
> flag in the header but I have not seen that.
> 
> Which server?
> 



More information about the linux-cifs-client mailing list