[Bug 1711212] [NEW] smbclient fails to get shares from Mac OS X smb server

rduke15 1711212 at bugs.launchpad.net
Wed Aug 16 19:37:31 UTC 2017


Public bug reported:

In Ubuntu 16.04.2 LTS, smbclient 4.3.11 cannot list shares from Mac OS X
smb servers.

Windows machines can access these Mac shares, and smbclient can also get
the list of shares from the Windows 7 and Windows 10 machines.

The errors are "NTLMSSP packet check failed due to short signature (0
bytes)!", "NTLMSSP NTLM2 packet check failed due to invalid signature!"
and finally "NT_STATUS_ACCESS_DENIED"

    $ sudo smbclient -A ~/smb.creds -d 2 -L mac-os-x-host
    rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
    WARNING: The "syslog" option is deprecated
    added interface wlp3s0 ip=192.168.81.72 bcast=192.168.81.255 netmask=255.255.255.0
    NTLMSSP packet check failed due to short signature (0 bytes)!
    NTLMSSP NTLM2 packet check failed due to invalid signature!
    GENSEC SPNEGO: failed to verify mechListMIC: NT_STATUS_ACCESS_DENIED
    session setup failed: NT_STATUS_ACCESS_DENIED

I then tried to upgrade smbclient to the version 4.4.5 from Ubuntu
16.10, but still get the same result. The upgrade was difficult due to
many dependencies, but this seems to have worked to upgrade (after
downloading all these packages from the 16.10 repository:

    sudo dpkg -i Downloads/libreadline7_7.0-0ubuntu2_amd64.deb 
    sudo dpkg -i Downloads/samba-common_4.4.5+dfsg-2ubuntu5_all.deb 
    sudo dpkg -i Downloads/python-talloc_2.1.7-1_amd64.deb 
    sudo dpkg -i Downloads/libwbclient0_4.4.5+dfsg-2ubuntu5_amd64.deb 
    sudo dpkg -i Downloads/libgnutls30_3.5.3-5ubuntu1_i386.deb 
    sudo dpkg -i Downloads/libgnutls30_3.5.3-5ubuntu1_amd64.deb 
    sudo dpkg -i Downloads/samba-libs_4.4.5+dfsg-2ubuntu5_amd64.deb 
    sudo dpkg -i Downloads/smbclient_4.4.5+dfsg-2ubuntu5_amd64.deb 

    smbclient -V
        Version 4.4.5-Ubuntu

But the error messages are still exactly the same.

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: samba smbclient

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1711212

Title:
  smbclient fails to get shares from Mac OS X smb server

Status in samba package in Ubuntu:
  New

Bug description:
  In Ubuntu 16.04.2 LTS, smbclient 4.3.11 cannot list shares from Mac OS
  X smb servers.

  Windows machines can access these Mac shares, and smbclient can also
  get the list of shares from the Windows 7 and Windows 10 machines.

  The errors are "NTLMSSP packet check failed due to short signature (0
  bytes)!", "NTLMSSP NTLM2 packet check failed due to invalid
  signature!" and finally "NT_STATUS_ACCESS_DENIED"

      $ sudo smbclient -A ~/smb.creds -d 2 -L mac-os-x-host
      rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
      WARNING: The "syslog" option is deprecated
      added interface wlp3s0 ip=192.168.81.72 bcast=192.168.81.255 netmask=255.255.255.0
      NTLMSSP packet check failed due to short signature (0 bytes)!
      NTLMSSP NTLM2 packet check failed due to invalid signature!
      GENSEC SPNEGO: failed to verify mechListMIC: NT_STATUS_ACCESS_DENIED
      session setup failed: NT_STATUS_ACCESS_DENIED

  I then tried to upgrade smbclient to the version 4.4.5 from Ubuntu
  16.10, but still get the same result. The upgrade was difficult due to
  many dependencies, but this seems to have worked to upgrade (after
  downloading all these packages from the 16.10 repository:

      sudo dpkg -i Downloads/libreadline7_7.0-0ubuntu2_amd64.deb 
      sudo dpkg -i Downloads/samba-common_4.4.5+dfsg-2ubuntu5_all.deb 
      sudo dpkg -i Downloads/python-talloc_2.1.7-1_amd64.deb 
      sudo dpkg -i Downloads/libwbclient0_4.4.5+dfsg-2ubuntu5_amd64.deb 
      sudo dpkg -i Downloads/libgnutls30_3.5.3-5ubuntu1_i386.deb 
      sudo dpkg -i Downloads/libgnutls30_3.5.3-5ubuntu1_amd64.deb 
      sudo dpkg -i Downloads/samba-libs_4.4.5+dfsg-2ubuntu5_amd64.deb 
      sudo dpkg -i Downloads/smbclient_4.4.5+dfsg-2ubuntu5_amd64.deb 

      smbclient -V
          Version 4.4.5-Ubuntu

  But the error messages are still exactly the same.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1711212/+subscriptions



More information about the foundations-bugs mailing list