I am using smbclient to browse though the shared network which doesnt have any username and password.

smbclient //Server/share -U username password\   //Good

This is good when a server is protected with username and passwod

Problem is when one try to access sharefolder which is public (don't have username and password).

I find as below command after googling for a long time but its not working.

smbclient //Server/share -U " "%" " // BAD  

error : session setup failed: NT_STATUS_LOGON_FAILURE

how can i access share which doesn't have password?


I Find the solution as if one want to login which doesn't have any credential.you must not use -U

smbclient //SERVER/Share  

Hit enter you are in.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.