find_first2 lookup behaviour on Samba with a case Insensitive FS

Jeremy Allison jra at
Thu May 29 04:32:56 GMT 2008

On Wed, May 28, 2008 at 09:09:32PM -0700, James Peach wrote:
> Yes this causes problems for OSX 10.5. You need to return the
> canonical on-disk case in all cases. There is a patch in the Apple
> tree to do this for Darwin.
> <>
> <>

For SMB_VFS_GET_PRESERVED_NAME, this really needs to take
a char ** that is allocated on return. Remember pstrings no
longer exist in 3.2.

What does the underlying interface into the OS look like ?
Does it allocate, or do you pass in a max length ?


More information about the samba-technical mailing list