]> source.dussan.org Git - nextcloud-server.git/commit
SMB ignore connection errors when NetBIOS is disabled
authorVincent Petry <pvince81@owncloud.com>
Mon, 18 Nov 2013 11:27:30 +0000 (12:27 +0100)
committerVincent Petry <pvince81@owncloud.com>
Mon, 18 Nov 2013 11:31:55 +0000 (12:31 +0100)
commit7e6f3817d07645be5b56becca6ba1a6934f6a2c2
treeea0f141327ce83169882e421ceb932b076e43ba6
parentc3746e866af8b68d16c5b42c98ed63b9a4a402ed
SMB ignore connection errors when NetBIOS is disabled

When NetBIOS is blocked or disabled, a smb::look() call can still get
the list of shares from smbclient, even though the name resolution at
the end of the command fails.

This fix makes it ignore the connection error if we already got the list
of shares.

Fixed #5860
apps/files_external/3rdparty/smb4php/smb.php