You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to authenticate to Windows share using account with no password, I get the following error:
2021/02/22 15:26:35 cannot open smb://10.211.55.5/test_share: operation not permitted
In Windows, I've disabled Password protected sharing in Control Panel\Network and Internet\Network and Sharing Center\Advanced sharing settings, and everything works using e.g. smbclient and pysmb, but not libsmbclient-go.
I'm using cmd/smb/main.go as the SMB client.
Even by hardcoding the password as "" in main.go, I get the above error.
NOTE: If I set a password for my Windows account, then main.go works by using the specified username/password.
How can I use libsmbclient-go to authenticate to Windows shares using an account with no password?
The text was updated successfully, but these errors were encountered:
When attempting to authenticate to Windows share using account with no password, I get the following error:
2021/02/22 15:26:35 cannot open smb://10.211.55.5/test_share: operation not permitted
In Windows, I've disabled
Password protected sharing
inControl Panel\Network and Internet\Network and Sharing Center\Advanced sharing settings
, and everything works using e.g.smbclient
andpysmb
, but notlibsmbclient-go
.I'm using
cmd/smb/main.go
as the SMB client.Even by hardcoding the password as
""
inmain.go
, I get the above error.NOTE: If I set a password for my Windows account, then
main.go
works by using the specified username/password.How can I use
libsmbclient-go
to authenticate to Windows shares using an account with no password?The text was updated successfully, but these errors were encountered: