mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
Merge pull request 'src/Native/NativeState.php aktualisiert' (#137) from b3roch/SMB:b3roch-patch-encrypt-stat into master
Reviewed-on: https://codeberg.org/icewind/SMB/pulls/137
This commit is contained in:
commit
bf27345a53
1 changed files with 1 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ class NativeState {
|
|||
smbclient_option_set($this->state, SMBCLIENT_OPT_AUTO_ANONYMOUS_LOGIN, false);
|
||||
/** @psalm-suppress UnusedFunctionCall */
|
||||
smbclient_option_set($this->state, SMBCLIENT_OPT_TIMEOUT, $options->getTimeout() * 1000);
|
||||
smbclient_option_set($this->state, SMBCLIENT_OPT_ENCRYPT_LEVEL, SMBCLIENT_ENCRYPTLEVEL_REQUEST); // Request encrypted connection
|
||||
|
||||
if (function_exists('smbclient_client_protocols')) {
|
||||
smbclient_client_protocols($this->state, $options->getMinProtocol(), $options->getMaxProtocol());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue