mirror of
https://github.com/boostorg/filesystem.git
synced 2026-01-19 04:12:09 +00:00
This error code is reported to be returned by GetFileInformationByHandleEx(FileIdExtdDirectoryRestartInfo) in case of Samba 3.0.2 share accessed from a Windows Server 2019 client, when RequireSecuritySignature is set to 1 on the client. In the same setup, GetFileInformationByHandleEx(FileBothDirectoryInformation) is reported to succeed. This doesn't seem to reproduce with Samba 4.19 server and Windows 10 client, so it may be specific to the client and server versions, or it may be something else in the user's setup. Add NTE_BAD_SIGNATURE to the list of errors on which we non-permanently downgrade directory_iterator implementation to an older method. Closes https://github.com/boostorg/filesystem/issues/334.