Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anonymous login support? #81

Open
deitch opened this issue Jul 31, 2023 · 3 comments
Open

anonymous login support? #81

deitch opened this issue Jul 31, 2023 · 3 comments

Comments

@deitch
Copy link

deitch commented Jul 31, 2023

Are there plans for anonymous login support? If you do not provide credentials, when calling Dialer.Dial(), you get:

"Anonymous account is not supported yet. Use guest account instead"

I noticed the @gboddin in PR #29 references a fork here that supports it. Can we upstream it here?

@deitch
Copy link
Author

deitch commented Aug 15, 2023

Hi, checking in on this?

@shofster
Copy link

shofster commented Oct 3, 2023

not sure if your answer, but the LINUX guest account is"nobody" and a single space for the password.
i.e.
d := &smb2.Dialer{
Initiator: &smb2.NTLMInitiator{
User: "nobody",
Password: " ",
},
}

@shofster
Copy link

shofster commented Oct 3, 2023

my server samba/smb.config for unlimited (! warning) access on local network=
[N]
path = /Z
browerable = yes
writeable = yes
read only - no
guest ok = yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants