Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #4245

Re: Ubuntu 18.04 acting as client to Windows "server" - can't see list of Windows PC's shares or connect to a share

From Dan Purgert <dan@djph.net>
Newsgroups comp.os.linux.networking
Subject Re: Ubuntu 18.04 acting as client to Windows "server" - can't see list of Windows PC's shares or connect to a share
Date 2018-09-03 10:40 +0000
Organization A noiseless patient Spider
Message-ID <slrnpoq3tk.u91.dan@xps-linux.djph.net> (permalink)
References <vpWdnWVJDNYrqhHGnZ2dnUU78IvNnZ2d@brightview.co.uk>

Show all headers | View raw


NY wrote:
> [...]
> I've looked at a Wireshark LAN trace and can see:
>
> - negotiation of SMB2 (rather than SMB) protocol
> - session setup NTLMSSP_AUTH
> - tree connect \\martin-7\IPC$     (martin-7 is the Win 7 computer
> with the shares)
> - Ubuntu attempts to create request file srvsvc but Martin-7 responds 
> "access denied"

SMBv2 shouldn't be a problem with Win7 -- but it's been ages since I've
run it.  Found this msft support link [1] which seems to have some info
about it.

Sounds like you're probably sending the wrong authentication
credentials.  I (fuzzily) recall that I would have to present them as
"COMPUTERNAME\username" instead of just "username", when I had windows
boxes.

>
>
> I have a network-connected printer which shares its SD card reader,
> and the same operations allow Ubuntu to access and display its share
> list. I was hoping to get a LAN trace of that, to compare and look for
> differences, but I'm thwarted by modern networking technology (a
> switch rather than hub) which won't distribute any traffic to the
> monitoring PC (Windows - Wireshark) if its source (Ubuntu) or
> destination (printer) is on other Ethernet ports. I've got a bit of a
> logic puzzle:

You have to enable "promiscuous mode" on the interface. You should still
see the traffic (especially if it's not a fully managed switch).

> [...]
> I was going to run Wireshark on the Ubuntu PC, which would mean it
> would be on a LAN segment that would see all the traffic, but I can't
> find a pre-built .deb installation package for Wireshark.

Should be in the repos. A simple 'sudo apt-get install wireshark' should
do it for you (note, the recommended approach of using it on Linux is to
add yourself to the wireshark group, rather than running wireshark as
root.  You'll need to logout/login for that new group to take effect)


[1]
https://support.microsoft.com/en-gb/help/2696547/how-to-detect-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-and


-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Ubuntu 18.04 acting as client to Windows "server" - can't see list of Windows PC's shares or connect to a share "NY" <me@privacy.net> - 2018-09-02 20:18 +0100
  Re: Ubuntu 18.04 acting as client to Windows "server" - can't see list of Windows PC's shares or connect to a share Dan Purgert <dan@djph.net> - 2018-09-03 10:40 +0000
    Re: Ubuntu 18.04 acting as client to Windows "server" - can't see list of Windows PC's shares or connect to a share Jorgen Grahn <grahn+nntp@snipabacken.se> - 2018-09-03 14:55 +0000
      Re: Ubuntu 18.04 acting as client to Windows "server" - can't see list of Windows PC's shares or connect to a share Dan Purgert <dan@djph.net> - 2018-09-03 15:54 +0000
        Re: Ubuntu 18.04 acting as client to Windows "server" - can't see list of Windows PC's shares or connect to a share "NY" <me@privacy.net> - 2018-09-03 21:04 +0100
    Re: Ubuntu 18.04 acting as client to Windows "server" - can't see list of Windows PC's shares or connect to a share "NY" <me@privacy.net> - 2018-09-03 20:58 +0100
      Re: Ubuntu 18.04 acting as client to Windows "server" - can't see list of Windows PC's shares or connect to a share Dan Purgert <dan@djph.net> - 2018-09-03 20:16 +0000

csiph-web