diff options
author | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2014-03-26 11:04:13 +0000 |
---|---|---|
committer | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2014-03-26 14:36:45 +0000 |
commit | b077528087fba76add6913563b4c8221ca99aa3f (patch) | |
tree | 7b27b4407c1abef80a269e9eb45f48ab3ece0157 /apps/files/js/jquery-visibility.js | |
parent | cac4aaa8c4dab1b59ab3ba3f155439473ae28250 (diff) | |
download | nextcloud-server-b077528087fba76add6913563b4c8221ca99aa3f.tar.gz nextcloud-server-b077528087fba76add6913563b4c8221ca99aa3f.zip |
Perform proper checking for share availability
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.
Diffstat (limited to 'apps/files/js/jquery-visibility.js')
0 files changed, 0 insertions, 0 deletions