Cannot access NAS (DNS-323) after upgrade to Babylon -- need to update samba conf?
#1
Hi,

I just tried to upgrade to the Babylon alpha and it seemed to go pretty smoothly, except now I can't access my DNS-323 device. It was working fine in Atlantis but with the new upgrade I get 'invalid argument' when i try to connect.

From a little searching it appears the problem may be related to the same thing that Ubuntu users have with mounting samba shares for the DNS-323, I need to add the following line to the samba conf which will allow an older method of authorization.

client lanman auth=yes


Is this possible to do? Where would I find the conf file on the AppleTV?
Reply
#2
thats wierd. my apple tv with babalon connects fine to my dns-321, although i may be connecting over a different protocol
Reply
#3
Wraith88 Wrote:thats wierd. my apple tv with babalon connects fine to my dns-321, although i may be connecting over a different protocol

are you using upnp or smb? Also, do you have user/password setup on your dns-321, or is it open to all? I guess I can try turning off all authentication but I really don't want to.
Reply
#4
I have dns-323 and have not made a change to that in years. I upgrade XBMC daily.

How about you start by providing a debug log?

Edit: But my XBMC is on linux.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#5
This is all I get with debug logging enabled:

20:26:14 T:2684407808 M: 13193216 DEBUG: CGUIMediaWindow::GetDirectory (smb://NETAPP/Volume_2-1/TV Shows/)
20:26:14 T:2684407808 M: 13193216 DEBUG: ParentPath = []
20:26:14 T:2684407808 M: 12161024 DEBUG: OpenDir - Using authentication url smb://xbox:xbox1@NETAPP/Volume_2-1/TV%20Shows
20:26:14 T:2684407808 M: 11661312 INFO: Loading skin file: DialogOK.xml
20:26:14 T:2684407808 M: 11644928 DEBUG: Load DialogOK.xml: 17.87ms
20:26:14 T:2684407808 M: 11653120 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://xbox:xbox1@NETAPP/Vo
lume_2-1/TV%20Shows'
unix_err:'2' error : 'No such file or directory'
20:26:14 T:2684407808 M: 11653120 ERROR: GetDirectory - Error getting smb://NETAPP/Volume_2-1/TV Shows/
20:26:14 T:2684407808 M: 11653120 ERROR: CGUIMediaWindow::GetDirectory(smb://NETAPP/Volume_2-1/TV Shows/) failed
20:26:14 T:2684407808 M: 11653120 DEBUG: CGUIMediaWindow::GetDirectory ()
20:26:14 T:2684407808 M: 11653120 DEBUG: ParentPath = []
20:26:15 T:2684407808 M: 11653120 DEBUG: Sort, sorting took 0 millis



I reinstalled atlantis and I do not get this error

19:47:08 T:2684407808 M: 19247104 DEBUG: Load FileBrowser.xml: 13.72ms
19:47:08 T:2684407808 M: 19312640 DEBUG: Sort, sorting took 0 millis
19:47:08 T:2684407808 M: 19312640 DEBUG: ------------------- GUI_MSG_WINDOW_INIT
19:47:08 T:2684407808 M: 19312640 DEBUG:
19:47:08 T:2684407808 M: 19312640 DEBUG: -------------------
19:47:08 T:2684407808 M: 19312640 DEBUG: Alloc resources: 0.77ms (0.10 ms skin load, 0.58 ms preload)
19:47:11 T:2684407808 M: 16666624 DEBUG: OpenDir - Using authentication url smb://
19:47:13 T:2684407808 M: 16666624 DEBUG: Sort, sorting took 0 millis
19:47:14 T:2684407808 M: 16666624 DEBUG: OpenDir - Using authentication url smb://xbox:xbox1@MSHOME
19:47:14 T:2684407808 M: 16666624 DEBUG: Sort, sorting took 0 millis
19:47:16 T:2684407808 M: 16658432 DEBUG: OpenDir - Using authentication url smb://xbox:xbox1@NETAPP
19:47:16 T:2684407808 M: 16658432 DEBUG: Sort, sorting took 0 millis
19:47:17 T:2684407808 M: 15339520 DEBUG: SECTION:UnloadDelayed(DLL: Q:\system\ImageLib-osx.so)
19:47:17 T:2684407808 M: 15339520 DEBUG: Unloading: ImageLib-osx.so
19:47:18 T:2684407808 M: 16433152 DEBUG: OpenDir - Using authentication url smb://xbox:xbox1@NETAPP/Volume_2-1
19:47:19 T:2684407808 M: 16433152 DEBUG: Sort, sorting took 0 millis
19:47:21 T:2684407808 M: 16424960 DEBUG: OpenDir - Using authentication url smb://xbox:xbox1@NETAPP/Volume_2-1/TV%20Shows
19:47:21 T:2684407808 M: 16424960 DEBUG: Sort, sorting took 0 millis
19:47:24 T:2684407808 M: 15892480 DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
Reply
#6
Can you try browsing to the source again (Add from scratch).

Also, please don't snip your log. Pastebin your full debug log please.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#7
For what it's worth, I popped in an Ubuntu live cd and I was also unable to browse my DNS-323 shares until I added 'client lanman auth=yes' to my samba conf and restarted.

Here is the whole log... I saved my atlantis log too.
My DNS-323 device name is 'NETAPP'

Babylon log - I removed the share that was saved when updating from Atlantis and tried to re-add. Now when I browse my network I get Error:'Invalid Argument' when I try to browse workgroup MSHOME which is where the dns-323 is located.

Atlantis log
Reply
#8
Am I the only one who's having problems with samba shares and the dns-323? Sad Anyone know where the location of the samba conf file is, or can this not be changed?
Reply
#9
Well, there is a ~/.smb/smb.conf, but I think that gets overridden each time.

Take a look at XBMC source in xbmc/FileSystem/FileSmb.cpp where we write to a smb.conf. Hack that and add the line you need and see if that works at all.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#10
I just realized I have no way to build it for OSX/ATV. I guess I'll just have to check back later and hope it's fixed in a later release.
Reply
#11
Exact same problem. Everything running fine on Atlantis and 30 mins ago I decided to install the v9 from launcher (9.04.1 r20621 compiled May 24 2009) and now my previously working SMB shares on the DNS-323 do not work (DNS-323 is running latest firmware). Tried removing and adding the source with no success. User and password are correct.

Details from XBMC.log:

19:36:32 T:2684407808 M: 35229696 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://MEDIASERVER/Volume_1' unix_err:'16' error : 'Invalid argument'
19:36:32 T:2684407808 M: 35229696 ERROR: GetDirectory - Error getting smb://MEDIASERVER/Volume_1/
19:36:32 T:2684407808 M: 35229696 ERROR: CGUIDialogFileBrowser::GetDirectory(smb://MEDIASERVER/Volume_1/) failed

Did you ever get this resolved?

Can anyone advise how I now downgrade back to Atlantis?

EDIT - I'm going to try the BETA firmware from the DNS-323 as discussed here: http://www.xbmc.org/forum/showthread.php?t=54619

EDIT 2 - Scratch that 1.08 Beta has a ton of bugs still. I'll go back to Atlantis for now.

Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
Cannot access NAS (DNS-323) after upgrade to Babylon -- need to update samba conf?0