Allow using empty password in smb/smb2 protocol
Assignee

Reporter

Labels
Sprint
None
Description
Steps to reproduce
None
relates to
Activity
Show:

Jiri Trnka August 22, 2023 at 5:42 AM
QA: You may test it against \\smb2-dev\anonymous. The point is to use username but empty password.
smb2://Guest@smb2-dev/anonymous
smb2://Guest:@smb2-dev/anonymous
Use case:
I am a user who used anonymous access to samba shares in CloverDX 6.1 or older. I've been using URL like this in FlatFileReader: smb2://virt-pink/some/path/data.txt
On some servers this kind of access stopped working in 6.2. I would need to configure my samba server to stop requiring message signing to make it work.
I don't want to re-configure my server in that way. Instead I want to access my server using a user with no password, with urls like this:
smb2://someUser:@virt-pink/some/path/data.txt
smb2://someUser@virt-pink/some/path/data.txt
This will mean that I might have to create that user on the server side, but it is easier or more acceptable than disabling message signing setting of the server.