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

Initiator members public #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deitch
Copy link

@deitch deitch commented Sep 12, 2023

The members of the Initiator interface are private. That makes it impossible to plug in other initiators that might have additional capabilities (e.g., see the one that supports anonymous auth here from #29 ).

This PR changes those to public, so that you can plug others ones in. It also changes the one implementation, NTLMInitiator, to use public methods so it implements the modified interface. Finally, it changes the one place (spnego.go) that references it to use the modified interface members.

This does not change the go-smb2 functionality at all, but does make it more pluggable.

Signed-off-by: Avi Deitcher <avi@deitcher.net>
@deitch
Copy link
Author

deitch commented Sep 22, 2023

Hi @hirochachacha what can I do to help move this along?

@FrauElster
Copy link

Probably wont change after almost a year of your first Issue to that topic:

@hirochachacha I would also really like to have anonymous support and when an interface is provided, it should be injectable.

So plus one on this PR

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

Successfully merging this pull request may close these issues.

None yet

2 participants