Page 1 of 1

[SOLVED] Unable to browse Windows Networks (SMB)

Posted: Tue Nov 27, 2012 9:48 pm
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.

Re: Unable to browse Windows Networks (SMB)

Posted: Wed Nov 28, 2012 2:39 am
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.

Re: Unable to browse Windows Networks (SMB)

Posted: Wed Nov 28, 2012 6:27 am
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.

Re: Unable to browse Windows Networks (SMB)

Posted: Thu Nov 29, 2012 1:41 am
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

Re: Unable to browse Windows Networks (SMB)

Posted: Thu Nov 29, 2012 1:46 am
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