can't switch to folder...?

Samba/CIFS client for android.

can't switch to folder...?

Postby bobkoure » Mon May 02, 2011 3:38 pm

I've setup a shared folder on my win 2003 server named public (and shared as 'public')
sharing: everyone / all rights; guests / read / list /execute

In AndSMB, I've setup a connection
Hostname: 172.16.51.16
Username: (my username)
Password: (my password)
Domain: (servername - single server domain)

Local Dir: /sdcard
Remote dir: /public

When I click connect, AndSMB appears to connect with the server OK, but then flashes up a message "cannot change directory to /public".
I've tried this with the anon checkbox checked. Again, appears to connect fine but "cannot change directory.

Any thoughts on something I've missed?
Thanks!
bobkoure
 
Posts: 1
Joined: Mon May 02, 2011 3:27 pm

Re: can't switch to folder...?

Postby support » Mon May 02, 2011 9:08 pm

What about if you simply left remote folder blank?
support
 
Posts: 1025
Joined: Sun Apr 20, 2008 4:40 pm

Re: can't switch to folder...?

Postby gmyx » Fri May 06, 2011 1:43 pm

I'm getting this problem as well. I'm using DarkyRom 9.5 on Samsung Galaxy S. It got the same problem with stock rom.

I do notice however an java error stack of which I'll transpose the first few lines
Failled to connect: {my url/my ip} jcifs.d.a.d
java.SocketTimeoutException: Transport endpoint is not connection
at [...really long stack with no way to copy paste...]


Is there a log file somewhere that I can paste here?

Thank you.
gmyx
 
Posts: 3
Joined: Fri May 06, 2011 1:39 pm

Re: can't switch to folder...?

Postby support » Sun May 08, 2011 1:18 pm

We've made some search about this error and it seems to be a bug in the Java run time of the device. However, it could be caught to be ignored. We would need to reproduce the problem to apply try/catch/ignore and provide the fix. You was using windows 2003 correct?
support
 
Posts: 1025
Joined: Sun Apr 20, 2008 4:40 pm

Re: can't switch to folder...?

Postby gmyx » Sun May 08, 2011 4:12 pm

support wrote:You was using windows 2003 correct?

No, here is my network topology (the relevant parts)

  • I have a quasi static IP that is not NATed (as far as I can tell)
  • I and using a dyndns (homedns.org) to connect to my router. Router is a Linksys WRT350N running dd-wrt build 14869. My router auto update the dyndns so that the ip address is always correct
  • Using port forwarding on my router (ports 445, 135-139 per various searches) are forwarded to a CIFS and SMB server on a NAS which a DLink DNS-321 running it's stock Linux based firmware

The port forwarding works because when on inside internal network, it works. I just noticed however that the port might be blocked by my ISP. I will change the forwarding rules and try again. This error might be related to port 445 being blocked.
gmyx
 
Posts: 3
Joined: Fri May 06, 2011 1:39 pm

Re: can't switch to folder...?

Postby support » Sun May 08, 2011 7:23 pm

Ok, would it be possible to access your share from here?
If yes then drop an email to support(at)lysesoft(dot)com
support
 
Posts: 1025
Joined: Sun Apr 20, 2008 4:40 pm

Re: can't switch to folder...?

Postby gmyx » Sun May 08, 2011 8:57 pm

IT was that port 445 was blocked by my ISP. When I switched to port 8888, it works no problem. So it seems a timeout may mean that the standard port is blocked.
gmyx
 
Posts: 3
Joined: Fri May 06, 2011 1:39 pm

Re: can't switch to folder...?

Postby support » Wed May 11, 2011 8:55 pm

Thanks for the feedback.
support
 
Posts: 1025
Joined: Sun Apr 20, 2008 4:40 pm


Return to AndSMB



cron

Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.