New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set minimum protocol to SMB2 #10

merged 1 commit into from Jul 7, 2017
Jump to file or symbol
Failed to load files and symbols.
+1 −0
Diff settings


Just for now

Set minimum protocol to SMB2

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.
  • Loading branch information...
voltagex committed Jul 7, 2017
commit 2e3cf124250c606737f0a5490e487c4cb2974174
@@ -77,6 +77,7 @@ private void initializeSambaConf() {
// 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() {
public void onConfigurationChanged() {
ProTip! Use n and p to navigate between commits in a pull request.