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

[QUESTION] - Why is SMB not supported on MacOS? #187

Closed
veeso opened this issue May 13, 2023 · 0 comments
Closed

[QUESTION] - Why is SMB not supported on MacOS? #187

veeso opened this issue May 13, 2023 · 0 comments
Assignees
Labels
good first issue Good for newcomers question Further information is requested wontfix This will not be worked on

Comments

@veeso
Copy link
Owner

veeso commented May 13, 2023

Why is SMB not supported on MacOS

Unfortunately, SMB is currently not supported on MacOS and there's not a real plan on how to deal with it.

Context

SMB support is guaranteed thanks to the pavao project, which exposes native bindings to the libsmbclient for UNIX systems (while on Windows is natively supported by the OS).

Pavao actually builds on MacOS, BUT with some issues.

Issues

In order to distribute binaries for MacOS we would need to statically link libsmbclient to pavao, as we currently do for libssl and libssh2, but unfortunately, this is not achievable since samba doesn't support static builds.

Why not dynamic linking

Because we would be unable to generate the binaries of termscp, which are built statically.

What about a pure rust smb client

There is none. I tried once to implement it, but it takes a very long time (and money thanks).

@veeso veeso added good first issue Good for newcomers question Further information is requested wontfix This will not be worked on labels May 13, 2023
@veeso veeso self-assigned this May 13, 2023
@veeso veeso pinned this issue May 13, 2023
@veeso veeso closed this as completed May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant