Connect to networked windows samba server

I want to connect to network samba share on windows

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version _13.0.4
Operating system and version _(Ubuntu server 18.04 lts
Apache or nginx version _nginx 14
PHP version _7.2.5

The issue you are facing:
I cannot connect to samba server on my network from nextcloud.

Is this the first time you’ve seen this error? _Y

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

Debug	webdav	Sabre\DAV\Exception\NotFound: File with name SMB could not be located
/var/www/nc/3rdparty/sabre/dav/lib/DAV/Server.php - line 967: OCA\DAV\Connector\Sabre\ObjectTree->getNodeForPath('SMB')
/var/www/nc/3rdparty/sabre/dav/lib/DAV/Server.php - line 1666: Sabre\DAV\Server->getPropertiesIteratorForPath('SMB', Array, 1)
/var/www/nc/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 359: Sabre\DAV\Server->generateMultiStatus(Object(Generator), false)
[internal function] Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/nc/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/var/www/nc/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method PROPFIND', Array)
/var/www/nc/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/nc/apps/dav/appinfo/v1/webdav.php - line 80: Sabre\DAV\Server->exec()
/var/www/nc/remote.php - line 164: require_once('/var/www/nc...')
{main}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'instanceid' => 'XXX',
  'passwordsalt' => 'XXX',
  'secret' => 'XXX',
  'trusted_domains' =>
  array (
    0 => 'XXX,
  ),
  'datadirectory' => '/XXX',
  'overwrite.cli.url' => 'XXX,
  'dbtype' => 'mysql',
  'version' => '13.0.4.0',
  'dbname' => 'XXX',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'XXX',
  'mysql.utf8mb4' => true,
  'dbuser' => 'oXXX',```
  'dbpassword' => 'XXX',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'mail_from_address' => 'XXX',
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_domain' => 'XXX,
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'XXX',
  'mail_smtpport' => 'XXX',
  'mail_smtpname' => XXX',
  'mail_smtppassword' => 'XXX',
  'mail_smtpsecure' => 'tls',
  'maintenance' => false,
  'theme' => '',
  'log_type' => 'file',
  'logtimezone' => 'Europe/XXX',
  'logfile' => 'XXXog',
  'loglevel' => 0,
  'updater.release.channel' => 'stable',
  'mail_smtpname' => 'XXX',
  'mail_smtppassword' => 'XXX',
  'mail_smtpsecure' => 'tls',
  'maintenance' => false,
  'theme' => '',
  'log_type' => 'file',
  'logtimezone' => 'Europe/XXX',
  'logfile' => XXXg',
  'loglevel' => 0,
  'updater.release.channel' => 'stable',
 'enabledPreviewProviders' =>
  array (
    0 => 'OC\\Preview\\Image',
    1 => 'OC\\Preview\\MP3',
    2 => 'OC\\Preview\\TXT',
    3 => 'OC\\Preview\\MarkDown',
    4 => 'OC\\Preview\\Epub',
    5 => 'OC\\Preview\\PDF',
  ),
);


The output of your Apache/nginx/system log in `/var/log/____`:

PASTE HERE