Allow SMBv3.

SMBv2 is already enforced in previous commit.

This fixed #7.
This commit is contained in:
Garfield Tan 2017-07-07 17:53:24 -07:00
parent 58a8e50eb2
commit f667f46dce

View file

@ -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() {