Allow SMBv3.
SMBv2 is already enforced in previous commit. This fixed #7.
This commit is contained in:
parent
58a8e50eb2
commit
f667f46dce
1 changed files with 3 additions and 0 deletions
|
@ -77,7 +77,10 @@ public class SambaProviderApplication extends Application {
|
|||
// hosts -- hosts file and DNS resolution
|
||||
// bcast -- NetBIOS broadcast
|
||||
mSambaConf.addConfiguration("name resolve order", "wins bcast hosts");
|
||||
|
||||
// Urge from users to disable SMB1 by default.
|
||||
mSambaConf.addConfiguration("client min protocol", "SMB2");
|
||||
mSambaConf.addConfiguration("client max protocol", "SMB3");
|
||||
mSambaConf.flushAsDefault(new OnConfigurationChangedListener() {
|
||||
@Override
|
||||
public void onConfigurationChanged() {
|
||||
|
|
Loading…
Reference in a new issue