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

commands hung forever #84

Open
stuba opened this issue Aug 14, 2019 · 4 comments
Open

commands hung forever #84

stuba opened this issue Aug 14, 2019 · 4 comments

Comments

@stuba
Copy link

stuba commented Aug 14, 2019

Hi,

I have tried to use this class from docker (7.2-fpm-alpine3.6) container, but for some reason all commands like dir seems to just hung forever. I have managed to debug a little bit and it seems to get stuck just when execute tries to write some data. For example listShares works without problems.

Im using wrapper with smbclient version 4.6.16. I downgraded from version 4.8 as I noticed there was some issues discussed just few days ago.

Does anybody have any idea hot to debug this problem? Users has read/write permissions for this file share. Could it be related to Alpine linux (BusyBox)

@raffis
Copy link
Contributor

raffis commented Oct 10, 2019

There is problem with smbclient >= 4.7.
You may try my fork with a patch regarding this problem (#78)

@stuba
Copy link
Author

stuba commented Aug 20, 2020

Is there any other fix than trying to find old that 4.7 version?

@stuba
Copy link
Author

stuba commented Aug 24, 2020

At leas in my case pecl install smbclient helped.

Now running
smbclient --version Version 4.11.9

@adsworth
Copy link

I just ran into this problem as well and I don't think it has something to do with the version.
I get the problem in an alpine 3.12 LXC container with smbclient 4.12.9
In a qemu VM of the musl (which alpine also uses) version of void linux with smbclient 4.13.3 it works fine.
And also in an Ubuntu 20.10 LXC container with smbclient 4.12.5-Ubuntu it works fine.

So I guess it has something to do with how alpine compiles smbclient. For example, the Alpine version is the only version without readline support.

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

3 participants