Thanks for your bug report. I have applied 99-fix-broken-readdir-test.diff, and attached on an existing upstream bugzilla (https://bugzilla.samba.org/show_bug.cgi?id=7032). https://bugzilla.samba.org/show_bug.cgi?id=7032 -- Mathieu