Releases: icewind1991/SMB
Releases · icewind1991/SMB
3.1.1
- Fix connection->read() when first line is not prompt
3.0.2
- Fix connection->read() when first line is not prompt
2.0.7
- Fix connection->read() when first line is not prompt
3.1.0
- Add option to overwrite default system integration behaviour
- Add support for appending to a file when using the
libsmbclient
backend - Make network timeout configurable
- Fix issue when dealing with multibyte unicode paths
- Fix incorrect filesize being detected when a file has multiple data streams
- Improved timezone detection
- Workaround behaviour of some servers that return incorrect data from
allinfo
3.0.1
- Improved timezone detection
- Workaround behaviour of some servers that return incorrect data from allinfo
2.0.6
- Workaround behaviour of some servers that return incorrect data from allinfo
- Improved timezone detection
3.0.0
Backwards incompatible changes
This release changes the way Server objects are created in a backwards incompatible way.
old:
if (\Icewind\SMB\Server::NativeAvailable()) {
$server = new \Icewind\SMB\NativeServer($host, $user, $password);
} else {
$server = new \Icewind\SMB\Server($host, $user, $password);
}
new:
$auth = new \Icewind\SMB\BasicAuth($user, $workgroup, $password);
$serverFactory = new \Icewind\SMB\ServerFactory();
$server = $serverFactory->createServer($host, $auth);
The new ServerFactory
will automatically pick the native backend where available..
Additionally the NativeServer
, Server
and their related classes have been separated into their own namespaces (Icewind\SMB\Native
and Icewind\SMB\Wrapped
respectively)
New Features
This release adds support for multiple authentication methods, currently the following methods are supported:
BasicAuth
: basic username/password authenticationAnonymousAuth
: connect as anonymouslyKerberosAuth
: Use a kerberos ticket to authenticate (note that you'll need to ensure that kerberos ticket is available for php yourself)
You can pick an authentication method by creating an instance of the desired authentication class backend and passing it to the server factory.
2.0.5
- Minor improvement to error handling during connection
2.0.4
- Allow overwriting the list of forbidden characters
- Improve handling of
smbclient
prompt in some setups - Disable automatic fallback to anonymous login
- Better error message when moving a folder into itself
2.0.3
- Fix compatibility issue with newer versions of smbclient
- Fix smb2/smb3 path encoding issue
- Throw proper error messages on smb version mismatch