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

Unable to connect #6

Open
zeshanmusawar opened this issue Jun 29, 2018 · 4 comments
Open

Unable to connect #6

zeshanmusawar opened this issue Jun 29, 2018 · 4 comments

Comments

@zeshanmusawar
Copy link

zeshanmusawar commented Jun 29, 2018

if let session = self.session {
session.requestItems(atPath: path!) { (result) in
self.title = self.path?.routablePath
switch result {
case .success(let items):
self.items = items
case .failure(let error):
self.items = []
print("FilesTableViewController failed to request files: (error)")
}
}
when we connect the Mac then result will be success and when we connect the window then show the failure. @filmicbuildbot @johnnyclem

@satoshi-baba-0823
Copy link

@zeshanmusawar
I also had similar problems.

If the connected server is joining the domain, I think that it can be solved with this Pull request.
#8

I hope that it will work!

@zeshanmusawar
Copy link
Author

zeshanmusawar commented Jul 19, 2018 via email

@zeshanmusawar
Copy link
Author

zeshanmusawar commented Jul 19, 2018 via email

@satoshi-baba-0823
Copy link

Hello.

You understand this pull request, do not you?
#8

What is the state of sessionGuestState of SMBSession?
If it is not SMBSession.SessionGuestState.user, you probably do not have write permission.

It is recommended that you check each step one by one.
We recommend you to check the operation around authentication in particular.

I think that this library can not support a lot now.
If you can not solve it yourself, you probably should not use it.

Good luck!

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