Set minimum protocol to SMB2 (#10)
This sets the default configuration to use at least SMB2, instead of defaulting to SMB1. You may want to look into the sub versions of SMB2 to see if this default is correct.
This commit is contained in:
parent
b9d90368bc
commit
01bde4ab53
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ public class SambaProviderApplication extends Application {
|
|||
// hosts -- hosts file and DNS resolution
|
||||
// bcast -- NetBIOS broadcast
|
||||
mSambaConf.addConfiguration("name resolve order", "wins bcast hosts");
|
||||
mSambaConf.addConfiguration("client min protocol", "SMB2");
|
||||
mSambaConf.flushAsDefault(new OnConfigurationChangedListener() {
|
||||
@Override
|
||||
public void onConfigurationChanged() {
|
||||
|
|
Loading…
Reference in a new issue