-
- Downloads
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.
Showing
- apps/files_external/3rdparty/smb4php/smb.php 43 additions, 37 deletionsapps/files_external/3rdparty/smb4php/smb.php
- apps/files_external/lib/config.php 6 additions, 6 deletionsapps/files_external/lib/config.php
- apps/files_external/lib/smb_oc.php 41 additions, 2 deletionsapps/files_external/lib/smb_oc.php
Loading
Please register or sign in to comment