Posts: 55
Joined: Sep 2010
Reputation:
0
Here's what I get when I try that command:
root@XBMCLive:~# smbclient -L //SMEG
Enter root's password:
Domain=[SMEG] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
C$ Disk Default share
Cinema Experience Disk
Comedy Disk
D$ Disk Default share
Documentaries Disk
Documentary Films Disk
Downloaded Disk
Downloads Disk
Drama Disk
E$ Disk Default share
F$ Disk Default share
H$ Disk Default share
I$ Disk Default share
IPC$ IPC Remote IPC
J$ Disk Default share
L$ Disk Default share
M$ Disk Default share
Movies Disk
Movies 2 Disk
Music for streaming Disk
print$ Disk Printer Drivers
Ripped Disk
Sports Disk
Temp Music Disk
Users Disk
Domain=[SMEG] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1]
Server Comment
--------- -------
Workgroup Master
--------- -------
Posts: 55
Joined: Sep 2010
Reputation:
0
Yeah, 'smbclient //SMEG/Music for streaming -k' still gives the same error.
'smbclient -V' gives this:
root@XBMCLive:~# smbclient -V
Version 3.4.7
Posts: 2,368
Joined: Mar 2010
Reputation:
60
giftie
Skilled Python Coder
Posts: 2,368
Could you post the output of the following: 'smbclient //SMEG/Music for streaming -k -d4' <- hopefully this will show why it is giving the error...
Posts: 55
Joined: Sep 2010
Reputation:
0
Here it is:
root@XBMCLive:~# smbclient //SMEG/Music for streaming -k -d4
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter workgroup = WORKGROUP
doing parameter server string = %h server (Samba, Ubuntu)
doing parameter dns proxy = no
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 1000
doing parameter syslog = 0
doing parameter panic action = /usr/share/samba/panic-action %d
doing parameter encrypt passwords = true
doing parameter passdb backend = tdbsam
doing parameter obey pam restrictions = yes
doing parameter unix password sync = yes
doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
doing parameter pam password change = yes
doing parameter map to guest = bad user
doing parameter usershare allow guests = yes
pm_process() returned Yes
added interface eth0 ip=2001:a0aa:f465:0:82ee:73ff:fe07:9a9f bcast=2001:a0aa:f465:0:ffff:ffff:ffff:ffff netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip=fe80::82ee:73ff:fe07:9a9f%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip=192.168.24.94 bcast=192.168.24.255 netmask=255.255.255.0
Client started (version 3.4.7).
resolve_lmhosts: Attempting lmhosts lookup for name SMEG<0x20>
startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory
resolve_wins: Attempting wins lookup for name SMEG<0x20>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name SMEG<0x20>
Connecting to 192.168.24.52 at port 445
session request ok
Doing spnego session setup (blob length=58)
got OID=1.3.6.1.4.1.311.2.2.30
got OID=1.3.6.1.4.1.311.2.2.10
got principal=<null>
Got challenge flags:
Got NTLMSSP neg_flags=0x628a8215
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_CHAL_ACCEPT_RESPONSE
NTLMSSP_NEGOTIATE_NTLM2
NTLMSSP_CHAL_TARGET_INFO
NTLMSSP_NEGOTIATE_VERSION
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60088215
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_NTLM2
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60088215
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_NTLM2
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
Domain=[SMEG] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1]
session setup ok
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
root@XBMCLive:~#
I also uninstalled Windows Live Essentials, but it doesn't seem to have helped. I have Windows Firewall turned on, and Microsoft Security Essentials running - could they be the problem?
Posts: 2,368
Joined: Mar 2010
Reputation:
60
giftie
Skilled Python Coder
Posts: 2,368
I search the forums, remembering there was a lot of problems connecting to Windows 7 Shares, I found this message thread that might help out.
I have Windows Firewall turned on, but I don't see Windows Security Essentials in my Programs list(control panel) so I probably don't have it installed...
Posts: 55
Joined: Sep 2010
Reputation:
0
Success!!! Turning off Microsoft Security Essentials worked. giftie, sorry for wasting all your time these last couple of weeks, but I really appreciate your help.