Can't connect with SMB to Windows 2011 SBS

Hi I have problems with external store smb/cifs. I would like to connect to our SBS Server 2011. It worked well until OC8.1.4. After Upgrade to OC8.1.9 it didn't work anymore. Also an Upgrade to OC8.2 or OC9 did not help. So I tried a fresh Install of OC9, LDAP-Authentication and new configuration of my SMB-Shares. I always get a red square when I enter the correct login-informations. I have the very confusing situation, that the red square turns to a green bullet, when I enter "wrong" login-informations such as wrong IP-Address or wrong Password...... It is the same effect after Upgrade of OC or fresh install of OC9. I really think that there must be a problem with smb/cifs authentication. As I said, It worked well until OC8.1.4. I did not change anything on Windows-Server-side.

Please Help !!!

Steps to reproduce
1. new Install Owncloud 9.04 on Ubuntu 16.04
2. enabled Owncloud LDAP
3. enabled External Storage
4. Windows SBS 2011 Shares

Expected behaviour
Mounting External SMB Storage from Windows SBS 2011 with LDAP-Authentication (ActiveDirectory)

Actual behaviour
Connection with SMB to Windows SBS2011 not working. Did work well with OC 8.1

Server configuration
Operating system: Ubuntu 16.04/14.04
Web server: Apache
Database: PostgreSQL
PHP version: 7.0.8
ownCloud version (see ownCloud admin page): 9.1.0 / 8.2
Updated from an older ownCloud or fresh install: fresh isnstall

Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):
LDAP-Authentication

Try to install:

https://github.com/eduardok/libsmbclient-php

If the issue still happens create a new bugreport at:

https://github.com/owncloud/core/issues

Hi
Thanks for your tip. Installation of libsmbclient-php solved the problem but I am wondering, why this is not written somewhere. When I install LDAP-App in Owncloud there is only a hint to install smbclient but nothing about libsmbclient-php :-((..... So this might be an improvement.
Thanks
René

Quoting from the (little bit hidden) docs: https://doc.owncloud.org/server/9.1/admin_manual/configuration_files/external_storage/smb.html

The SMB/CIFS backend requires smbclient or the PHP smbclient module to be installed on the ownCloud server. The PHP smbclient module is preferred, but either will work. These should be included in any Linux distribution. (See PECL smbclient if your distro does not include them.)

and:

For improved reliability and performance, we recommended installing libsmbclient-php, a native PHP module for connecting to SMB servers. It is available as php5-libsmbclient in the ownCloud OBS repositories

I have seen this manual where it is mentioned that both methods should work, but this is not true. The problem occurs when only smbclient is installed what should work either....

Yeah, smbclient is outdated. Thats why they have moved to this PHP library.