SMB external storage won't connect

smb

#21

I’ve figured out that owncloud10 can’t connect to smb1 shares but to smb2/3 it connects without any issues. Is there any way to configure owncloud to accept connections do smb1/cifs shares?

I’m connecting to those shares trough sftp but I return errors during file scan:

PHP Fatal error: Uncaught ErrorException: Connection closed prematurely in /var/www/html/cloud/lib/composer/phpseclib/phpseclib/phpseclib/Net/SSH2.php:3821

Stack trace:

#0 [internal function]: OCA\Files\Command\Scan->exceptionErrorHandler(1024, 'Connection clos...', '/var/www/html/c...', 3821, Array)

#1 /var/www/html/cloud/lib/composer/phpseclib/phpseclib/phpseclib/Net/SSH2.php(3821): user_error('Connection clos...')

#2 /var/www/html/cloud/lib/composer/phpseclib/phpseclib/phpseclib/Net/SSH2.php(4039): phpseclib\Net\SSH2->_send_binary_packet('\x01\x00\x00\x00\v\x00\x00\x00\x00\x00\x00\x00\x00')

#3 /var/www/html/cloud/lib/composer/phpseclib/phpseclib/phpseclib/Net/SFTP.php(3102): phpseclib\Net\SSH2->_disconnect(11)

#4 /var/www/html/cloud/lib/composer/phpseclib/phpseclib/phpseclib/Net/SSH2.php(3146): phpseclib\Net\SFTP->_disconnect(11)

#5 /var/www/html/cloud/lib/composer/phpseclib/phpseclib/phpseclib/Net/SSH2.php(3162): phpseclib\Net\SSH2->disconnect()

#6 [internal function]: phpseclib\Net\SSH2->__destruct()

#7 {main}

thrown in /var/www/html/cloud/lib/composer/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 3821

Thanks!