This is possibly user error and not a package issue.
I've got two servers, both with the same version of this package:
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
php -v
PHP 7.4.33 (cli) (built: Jan 7 2023 08:30:58) ( NTS )
smbclient -V
Version 4.9.5-Debian
and
cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.7 LTS (Xenial Xerus)"
php -v
PHP 7.4.18 (cli) (built: May 3 2021 11:26:29) ( NTS )
smbclient -V
Version 4.3.11-Ubuntu
The debian system can list shares, list directory contents, and perform file transfers
The ubuntu system can list shares, but cannot list directory contents, and consequently, cannot perform transfers.
I've tried command-line smb and have no problems with ubuntu, it's purely a PHP/package issue, it seems.
Is this a known problem, or is it just my setup?
Thanks
Note: #115
I'm not sure this is related, but i'm seeing the same result -- no fault, just an empty directory contents object.