summaryrefslogtreecommitdiffstats
path: root/apps/files_external/3rdparty/smb4php
Commit message (Collapse)AuthorAgeFilesLines
* Perform proper checking for share availabilityRobin McCorkell2014-03-261-37/+43
| | | | | | | | | | | To check for shares, the code attempts to connect anonymously to the share. In most cases this will fail with NT_STATUS_ACCESS_DENIED, so the regex array used for parsing the output of smbclient in smb4php has been overridden to treat such output as success. The 'test' method for storage classes can now take a single parameter, $isPersonal, which allows the storage to adjust the tests performed based on if they are being configured as personal shares or as system shares.
* Fix smb4php to work with home sharesRobin McCorkell2014-03-171-11/+5
| | | Stat'ing a share with url_stat now checks if the user can run 'ls' in that share rather than checking if the share is listed by the server. This means that OwnCloud can now mount user home shares, which are never listed by the server.
* Fixed timezone issue with SMB storageVincent Petry2014-01-141-1/+1
| | | | Now forcing smbclient to also run on UTC
* clarifying licenseFrank Karlitschek2013-12-171-0/+4
|
* fix smbclient directory listing parserVsevolod Kukol2013-12-111-1/+1
|
* Fixed SMB rename function to overwrite target fileVincent Petry2013-11-251-1/+15
| | | | | | | | | | | When uploading files through WebDAV, a part file is created and a rename operation is performed with the expectation that the part file overwrites an existing file, if any. This fix makes the SMB external storage delete the target file before renaming, as smbclient doesn't support overwrite on move/rename. Fixes #5348
* SMB ignore connection errors when NetBIOS is disabledVincent Petry2013-11-181-1/+8
| | | | | | | | | | | 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
* Fix for smb4php fseekVincent Petry2013-11-151-1/+2
| | | | | | | | | | | The stream_fseek function must return a boolean which will be mapped to 0 for success and -1 for failure for the caller. This patch fixes stream_fseek of smb4php to also respect this convention. Since the encryption app is relying on fseek to detect whether a file is encrypted by reading the last bit of data, this will fix #5023
* return the correct result when doing an smb renameRobin Appelman2013-10-011-1/+2
|
* fix smb streamwrapper on non existing filesRobin Appelman2013-10-011-1/+6
|
* moving Dropbox and smb4php 3rdparty code over to the appsThomas Müller2013-08-171-0/+484