On 9/28/22 17:33, Erich Hoover (@ehoover) wrote:
@zfigura That's because this patch was originally written against the [old Samba 3 format](https://git.samba.org/?p=samba.git;a=blob;f=source3/smbd/dosmode.c;h=555718b...), Samba 4 introduced a [new format and has made about 5 revisions to it](https://git.samba.org/?p=samba.git;a=blob;f=source3/smbd/dosmode.c#l236).
Thanks, that makes sense.
I suppose it should be easy to detect whether the old or new format is in use, if indeed we care about supporting Samba 3. (It is 10 years old by now, but I wouldn't be surprised if there are still servers using it...)