Linux Cannot connect to vista share

Discussion in 'Software' started by DougEdey, 25 Jan 2007.

  1. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
    Running the latest release of Samba (3.0.23) on my FC5 box, with flux.

    When I use smbclient to connect to a Vista machine on my network it appears to do a memory dump then return to the prompt.

    If I connect to a Windows XP machine it works fine however.

    Weirdly, my XBOX with XBMC (01/01/07) connects fine.
     
  2. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    Is there a decent output of "smbclient -L <hostname>"?
     
  3. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
    I'll check that when I go home, the firewall here is blocking my connection
     
  4. horse

    horse What's a Dremel?

    Joined:
    15 Nov 2002
    Posts:
    35
    Likes Received:
    0
    i've been reading the feb '07 issue of Linux Magazine and there is an article about this problem in there,

    Quote: Vista has a modified version of the protocol SMB 2.0, which is currently supported by the latest Windows operating systems only; for this reason, Windows Vista automatically downgrades to SMB 1.0 if the requesting operating system is not compatible – or so Microsoft says. As our test revealed, this generosity does not extend to Linux; at present, it is not possible to open Vista shares using a Linux client.

    you can dounload it as a pdf from here
     
    Last edited: 25 Jan 2007
  5. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
    But why can my XBMC install connect then?
     
  6. horse

    horse What's a Dremel?

    Joined:
    15 Nov 2002
    Posts:
    35
    Likes Received:
    0
    in the article it says that it will downgrade to SMB 1.0 if the connecting OS is not compatible
    XBMC is sitting on top of the original X-Box OS (i believe) so vista would see it as Win2K and downgrade
     
  7. JonnyK

    JonnyK What's a Dremel?

    Joined:
    6 Apr 2008
    Posts:
    1
    Likes Received:
    0
    This is not correct, at least not anymore.

    I had the same problem. I could connect to WIN2K shares from my SUSE box, but not to my Vista Ultimate machine. In order to connect to Vista shares using smbclient you have turn off spnego. Add this line to etc/samba/smb.conf under global settings:

    client use spnego = no
     
Tags:

Share This Page