[Samba] Encrypted samba mount on Linux

Steve French smfrench at gmail.com
Fri Mar 31 23:52:46 UTC 2017


Would be good to continue to encourage backports by the distros of recent
kernel cifs, not just for encryption support, but also for SMB3 DFS support
and various other features, and some very exciting patches are in progress
for the upcoming kernels.

On Fri, Mar 31, 2017 at 6:49 PM, Steve French <smfrench at gmail.com> wrote:

> Kernel cifs supports encryption!! (Thank you Pavel for good work, redoing
> the transport layer for this!).
>
> See e.g. this series which was merged a couple months ago into mainline
> Linux kernel:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
> linux.git/commit/fs/cifs?id=ae6f8dd4d0c87bfb72da9d9b56342adf53e69c31
>
>
> mount -t cifs //localhost/test /mnt -o vers=3.0,seal ....
>
> See attached screenshot of it in action to Samba (just did a quick mount
> and displayed wireshark trace of the data so you could see)
>
>
>
> On Fri, Mar 31, 2017 at 6:39 PM, Jeremy Allison <jra at samba.org> wrote:
>
>> On Sat, Apr 01, 2017 at 12:20:23AM +0100, Draxter via samba wrote:
>> > Hi all,
>> >
>> > My server machine is running samba version 4.4.4 on Linux with 'smb
>> > encryption = mandatory' option.
>> >
>> > My client is a Ubuntu 16.10 Linux machine.
>> >
>> > I am looking for a way to mount the encrypted samba share on the Linux
>> > client machine. I noticed that mount.cifs does not support encryption
>> > but smbclient does with an -e flag, however it seems to only be usable
>> > in a ftp-like interface. Is there any way to mount this share with
>> > smbclient or any other software that supports encrypted samba shares?
>>
>> Sending to Steve, who can explain why he *still*
>> hasn't implemented this in cifsfs, depite it being
>> designed to his spec. and included in the server since
>> Samba 3.2.0....
>>
>> Bitter, Moi ? :-).
>>
>> Over to you Steve !
>>
>
>
>
> --
> Thanks,
>
> Steve
>



-- 
Thanks,

Steve


More information about the samba mailing list