In case anonymous auth is allowed this can otherwise lead to unexpected actions.
Double verify the SMB response
@DeepDiver1975, thanks for your PR! By analyzing the annotation information on this pull request, we identified @cweiske, @icewind1991 and @PVince81 to be potential reviewers
Tested, works 👍
[stable9] Merge pull request #2198 from owncloud/smb-auth-fix
[stable8.2] Merge pull request #2198 from owncloud/smb-auth-fix