Fun with Alternate Data Stream names

Jeremy Allison jra at samba.org
Fri Nov 21 17:15:22 GMT 2008


On Fri, Nov 21, 2008 at 05:19:14PM +0100, Volker Lendecke wrote:
> Hi, Jeremy (et al)!
> 
> Trying to fix a bug reported by a customer I found that W2k3
> seems not to have any restrictions on ADS names. See the
> attached sniff, frame 43. The stream name starts with \005,
> a character which Samba 3 does not accept as a valid file
> name. It will be fun to store those as xattr names...

Great :-). I'm about to restructure some code in smbd/open.c
in order to fix bug 5903 (I've got a patch ready, it just
needs some fixups in open to deal with partially constructed
objects (fsp's)).

I'll commit today once I've finished testing.

Jeremy.


More information about the samba-technical mailing list