directory_iterator is broken for smb1 locations on windows
chrisdecker08 opened this issue · 4 comments
chrisdecker08 commented
directory
is a smb1 location, either a mapped network drive or UNC path
bool isDir = fs::is_directory(directory); <- Works
fs::directory_iterator iter(directory); <- throws an exception
The exception seems to originate at directory.cpp:842 with an error code of 124 (ERROR_INVALID_LEVEL)
chrisdecker08 commented
This works for me locally, let me get a test build including this patch out to some users in order to do the final verification.
chrisdecker08 commented
This seems to work for our users. There appear to be some users with miscellaneous issues not related to smbv1, however I hesitate to file any bugs unless we can reproduce or at least establish a pattern.
Lastique commented
Ok, thanks for the report and testing.