Samba troubles after 13.1 -> 13.2 upgrade

From: Andrea Venturoli <>
Date: Thu, 25 May 2023 16:54:40 UTC

_ Samba 4.16 working perfectly on 13.1;
_ upgrade 13.1 -> 13.2;
_ pkg upgrade -f (installing the same packages, same versions, but 
compiled for 13.2);
_ opening certain shared files gives "directory name is invalid" (I've 
seen several mention of this in the forums, going back several years, 
but no explanation other than that Windows or Samba mistake these files 
for directories);
_ 'find {share} -exec rmextattr user DOSATTRIB "{}" ";"' will fix.

No questions; just a post for the records in case someone gets into this.