Comment 31 for bug 1778322

Andreas Hasenack (ahasenack) wrote :

Cosmic verification (continued)

Now installing the updated samba packages, and rebuilding gvfs locally:

samba:
  Installed: 2:4.8.4+dfsg-2ubuntu2.2
  Candidate: 2:4.8.4+dfsg-2ubuntu2.2
  Version table:
 *** 2:4.8.4+dfsg-2ubuntu2.2 500
        500 http://br.archive.ubuntu.com/ubuntu cosmic-proposed/main amd64 Packages

gvfs:
ubuntu@ubuntu:~/deb/gvfs/gvfs-1.38.1$ grep smbc_setOptionProtocol ../build.log
Checking for function "smbc_setOptionProtocols" : YES

$ apt-cache policy gvfs-backends
gvfs-backends:
  Installed: 1.38.1-0ubuntu1.3~andreas1
  Candidate: 1.38.1-0ubuntu1.3
  Version table:
     1.38.1-0ubuntu1.3 500
        500 http://br.archive.ubuntu.com/ubuntu cosmic-proposed/main amd64 Packages
 *** 1.38.1-0ubuntu1.3~andreas1 100
        100 /var/lib/dpkg/status

Note: there is an old gvfs in proposed already, but it was NOT rebuilt with this samba version.

Reboot, login, access windows network, and the workgroup and computer are displayed (see attached screenshot).

Accessing the "pub" share works after authenticating, and in that case smbstatus shows SMB3.11 was used:
root@ubuntu:~# smbstatus

Samba version 4.8.4-Ubuntu
PID Username Group Machine Protocol Version Encryption Signing
----------------------------------------------------------------------------------------------------------------------------------------
2033 nobody nogroup ubuntu (ipv4:192.168.122.79:51830) NT1 - -
2044 nobody nogroup ubuntu (ipv4:192.168.122.79:51834) NT1 - -
2240 nobody nogroup ubuntu (ipv4:192.168.122.79:51844) NT1 - -
2420 ubuntu ubuntu 192.168.122.79 (ipv4:192.168.122.79:48332) SMB3_11 - partial(AES-128-CMAC)

Service pid Machine Connected at Encryption Signing
---------------------------------------------------------------------------------------------
IPC$ 2044 ubuntu Fri Apr 5 16:07:06 2019 UTC - -
IPC$ 2033 ubuntu Fri Apr 5 16:07:04 2019 UTC - -
pub 2420 192.168.122.79 Fri Apr 5 16:08:54 2019 UTC - -
IPC$ 2240 ubuntu Fri Apr 5 16:08:07 2019 UTC -

Cosmic verification succeeded.