salass00 / smb2fs

SMB2 file system client
GNU General Public License v2.0
22 stars 6 forks source link

Can't connect to a shares without a password and NOPASSWORDREQ #15

Closed BSzili closed 1 year ago

BSzili commented 1 year ago

If I don't specify a password for a folder shared with everyone and "Turn off password protected sharing" selected, I get a SMB2_STATUS_INVALID_PARAMETER error. E.g. "smb://host/folder NOPASSWORDREQ".

salass00 commented 1 year ago

Does it help if you change the password parameter to '(password ? password : "")' in smb2_connect_share()?