aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Gong <jimmyxgong@google.com>2018-09-20 11:57:01 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-09-26 10:32:58 -0700
commitf63dc2e08f0c619b185cd48de3dcf758bcd9d109 (patch)
tree621bb38d06bc5f3098e18b62bde9c2955ac4ebcf
parent98bc2a6d4b6c83b6dcae8fe50101aef1b75d1a13 (diff)
downloadsystem_api-upstream-master.tar.gz
smbprovider: Add MountConfigProto to directory_entryupstream-master
- Added MountConfigProto since MountConfig options will be passed from chrome-side. BUG=chromium:888096 TEST=emerges Change-Id: Ia5514b53b4070738aeb9ff1b55f212d9b90071ec Reviewed-on: https://chromium-review.googlesource.com/1239199 Commit-Ready: jimmy gong <jimmyxgong@chromium.org> Tested-by: jimmy gong <jimmyxgong@chromium.org> Reviewed-by: Zentaro Kavanagh <zentaro@chromium.org>
-rw-r--r--dbus/smbprovider/directory_entry.proto9
1 files changed, 9 insertions, 0 deletions
diff --git a/dbus/smbprovider/directory_entry.proto b/dbus/smbprovider/directory_entry.proto
index 6a6ffa5..940c185 100644
--- a/dbus/smbprovider/directory_entry.proto
+++ b/dbus/smbprovider/directory_entry.proto
@@ -64,6 +64,15 @@ message MountOptionsProto {
// Authentication parameters.
optional string workgroup = 2;
optional string username = 3;
+
+ // Mount options set by the client.
+ optional MountConfigProto mount_config = 4;
+}
+
+message MountConfigProto {
+ // Boolean indication whether or not to enable NTLM protocol. False
+ // disables the NTLM protocol.
+ optional bool enable_ntlm = 1;
}
// Used for passing inputs into SmbProvider.Unmount().