From f63dc2e08f0c619b185cd48de3dcf758bcd9d109 Mon Sep 17 00:00:00 2001 From: Jimmy Gong Date: Thu, 20 Sep 2018 11:57:01 -0700 Subject: smbprovider: Add MountConfigProto to directory_entry - 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 Tested-by: jimmy gong Reviewed-by: Zentaro Kavanagh --- dbus/smbprovider/directory_entry.proto | 9 +++++++++ 1 file changed, 9 insertions(+) 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(). -- cgit v1.2.3