[Samba] Samba and BTRFS server-side copy

Saint Germain saintger at gmail.com
Wed Nov 2 14:50:26 UTC 2016


On Wed, 2 Nov 2016 14:44:05 +0100, Achim Gottinger via samba
<samba at lists.samba.org> wrote :
> >>> I just tried and when I limit samba to SMB2 connections (in
> >>> smb.conf), Nautilus/gvfs cannot connect (it doesn't even see the
> >>> share).
> >>>
> >>> I also tried starting a discussion on the topic yesterday:
> >>> https://mail.gnome.org/archives/gvfs-list/2016-October/msg00000.html
> >>>
> >>> It seems that Ross Lagerwall started working on the topic a while
> >>> ago, but I don't know when/how the code will be included.
> >>>
> >>> Thanks for your help !
> >>>
> >> gvfs connects with smb2 here with these settings on the client's
> >> smb.conf
> >>
> >> client max protocol = SMB2_10
> >> client min protocol = SMB2_10
> >>
> > With these lines, my gvfs connect but with protocol SMB1 (confirmed
> > with smbstatus -b).
> >
> > Which version of samba on the server are you using ?
> > Which version of libsmbclient and gvfs on the client are you using ?
> server: debian wheezy, serner-samba 4.2.14-11
> client: debian jessie (backports), samba 4.2.10, gvfs 1.22.2-1
> 
> smbstatus -b shows i'm connected with SMB2_10
> 
> On the server I have no protocol settings only on the client only
> above two lines are needed on an otherwise default smb.conf. It's
> working since debian updated to samba 4.2, that time i did not use 
> jessie-backports packages on the client back then.
> 

Hum that's really strange. I've downgraded my smblient to be sure:
- server: Debian Stable + samba 4.2.10 + kernel 4.7 (amd64)
- client: Debian Stable + smbclient 4.2.10 + kernel 4.7 (amd64) + gvfs
  1.22.2-1

With only these lines in /etc/samba/smb.conf:
client max protocol = SMB2_10
client min protocol = SMB2_10

When connecting to the samba server through Nautilus, the used protocol
is NT1:
Samba version 4.2.10-Debian
PID     Username      Group         Machine            Protocol Version       
------------------------------------------------------------------------------
8496      -1            -1            system       (ipv4:192.168.1.31:44404) NT1         
8496      nobody        nogroup       system       (ipv4:192.168.1.31:44404) NT1         
8498      user          user          192.168.1.31 (ipv4:192.168.1.31:53090) NT1

I don't see anything relevant in /var/log/samba
(even though syslog = 10 is in /etc/samba/smb.conf)

I am wondering how can I debug this further ?

Thanks !



More information about the samba mailing list