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

Fix for correspond to servers belonging to domain #8

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

Conversation

satoshi-baba-0823
Copy link

@sfaxon
A phenomenon occurred in which a file list could not be acquired for a server belonging to a domain.

Even if the smb_session_login function is different in ID / PASS, it will succeed if you authenticate against the public directory.

At this time, when confirming the user with the smb_session_is_guest function, we found that the guest account refers to the directory.

I noticed that the second argument to the smb_session_set_creds function is a domain, not a host name.

After changing the information to be set as the second argument of the smb_session_set_creds function to the domain, we succeeded in getting the list of the files.

Since there seems to be another person in need, if you are satisfied with the change content, can you merge it?

@sfaxon sfaxon self-assigned this Jul 11, 2018
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.

2 participants