[SOLVED] Unable to browse Windows Networks (SMB)

If you need any help with XBMC4XBOX, such as installing or using the software, please post it in here.
Post Reply
Toyota4Runner
Posts: 4
Joined: Tue Nov 27, 2012 9:23 pm

[SOLVED] Unable to browse Windows Networks (SMB)

Post by Toyota4Runner »

Hello everyone,

Not really sure when this would have started to happen, but I am no longer able to browse my Windows Network Shares.When I try to add a source, select the Windows Network (SMB) option and then choose my Workgroup name I receive an error "Invalid Computer Name" This is what the logs produce:
20:43:38 M: 39780352 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://'
unix_err:'2' nt_err : 'c0000034' error : 'NT_STATUS_OBJECT_NAME_NOT_FOUND'
20:43:38 M: 39759872 ERROR: XFILE::CDirectory::GetDirectory - Error getting smb://
20:43:38 M: 39759872 ERROR: CGUIDialogFileBrowser::GetDirectory(smb://) failed

20:41:01 M: 35983360 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://CAMERON'
unix_err:'2' nt_err : 'c0000122' error : 'Invalid computer name'
20:41:01 M: 35983360 ERROR: XFILE::CDirectory::GetDirectory - Error getting smb://CAMERON/
20:41:01 M: 35983360 ERROR: CGUIDialogFileBrowser::GetDirectory(smb://CAMERON/) failed
20:41:12 M: 35983360 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://CAMERON'
unix_err:'2' nt_err : 'c0000122' error : 'Invalid computer name'
20:41:12 M: 35983360 ERROR: XFILE::CDirectory::GetDirectory - Error getting smb://CAMERON/
20:41:12 M: 35983360 ERROR: CGUIDialogFileBrowser::GetDirectory(smb://CAMERON/) failed

XBMC4Xbox. Built on Nov 22 2012 (SVN:31602, compiler 1310)

I have no problems with viewing the network shares on a Windows XP or Linux box. I am also able to add the network share by selecting Add Network Location, selecting protocol as Windows Network (SMB) entering in the server name and the Shared Folder name.

Thanks in advance for everyone's help.
Last edited by Toyota4Runner on Thu Nov 29, 2012 1:40 am, edited 1 time in total.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: Unable to browse Windows Networks (SMB)

Post by Dan Dar3 »

Have you checked the Workgroup setting in XBMC > Network - try making it the same as on the other machines.
Also maybe try smb://ip_address, see if it makes any difference.
User avatar
BuZz
Site Admin
Posts: 1891
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 66 times
Been thanked: 423 times
Contact:

Re: Unable to browse Windows Networks (SMB)

Post by BuZz »

make sure all machine use static ip. reboot windows machines. try again. set wins server to one of the windows machines. usually down to confusing over what is the master browser. you could of course force the linux box to be the master browser (samba setting) and point it to that. should solve the issue.
Toyota4Runner
Posts: 4
Joined: Tue Nov 27, 2012 9:23 pm

Re: Unable to browse Windows Networks (SMB)

Post by Toyota4Runner »

Dan Dar3 wrote:Have you checked the Workgroup setting in XBMC > Network - try making it the same as on the other machines.
Also maybe try smb://ip_address, see if it makes any difference.
Yes I had the Workgroup name set the same on all computers and under settings. smb://ip_address would display the shares on that machine fine. It was browsing the Computers in the workgroup that was failing.

Thanks for the help
Toyota4Runner
Posts: 4
Joined: Tue Nov 27, 2012 9:23 pm

Re: Unable to browse Windows Networks (SMB)

Post by Toyota4Runner »

BuZz wrote:make sure all machine use static ip. reboot windows machines. try again. set wins server to one of the windows machines. usually down to confusing over what is the master browser. you could of course force the linux box to be the master browser (samba setting) and point it to that. should solve the issue.

All I did was setup the Linux box to act as the Master Browser and it seemed to work. I can now browse the Workgroup and view all the computers in that workgroup along with the shares once again.


Thanks for your help
Post Reply