Merge pull request #21481 from owncloud/ext-smb-dependencies
Check libsmbclient-php as well as smbclient binary
This commit is contained in:
commit
629061d00a
|
@ -302,7 +302,9 @@ class SMB extends Common {
|
|||
* check if smbclient is installed
|
||||
*/
|
||||
public static function checkDependencies() {
|
||||
$smbClientExists = (bool)\OC_Helper::findBinaryPath('smbclient');
|
||||
return $smbClientExists ? true : array('smbclient');
|
||||
return (
|
||||
(bool)\OC_Helper::findBinaryPath('smbclient')
|
||||
|| Server::NativeAvailable()
|
||||
) ? true : ['smbclient'];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue