Happy to help you out, as you all are helping me out with your great libraries :)

I also developed a little wrapper to handle SSH Tunnels around VFS.
This will let me create a url such as :


tunnel://[user]:[EMAIL 
PROTECTED]/[localport]:[privatehost]:[remoteport]/[any-vfs-url]

So, for example, if I have a customer public ssh-server, I will be able to reach an smb server behind the firewall doing:


tunnel://pippo:[EMAIL PROTECTED]/5139:winserver:139/smb://Administrator:[EMAIL 
PROTECTED]:5139/ShareName

I was testing this some months ago and encountered a little problem, but had no time to investigate.
I will get my hands on this again shortly, and will ask you again if needed.
Then, if you think this maybe interesting inside VFS, we may discuss a final implementation.

Last but not least, tell me how can I contribute to your FAQ. I will be glad to do it.

Have fun,
Gabriele.

P.S. is there any reason why vfs smb urls pointing to an XP machine always fail?!


Mario Ivankovits wrote:
Hi Gabriele!

I think I found a very simple bug inside the VFS code implementation
for SMB.

Yea! And you did a VERY good work in locating where the problem is.
Thanks alot!


I had hard times finding documentations about it, but after a bit of
hacking inside the source code I could find how to do it.

It would be great if you add your insights to the faq:
http://wiki.apache.org/jakarta-commons/VfsFaq
I coded this stuff during the last hackaton at the ApacheCon Dublin, but
- as always - I am lazy in writing documentations :-(


- the ones missing credentials will be authenticated by my authenticator
- the other ones will use the url encoded credentials.
What do you think?

Yes, I think you are right. I changed the code so that any information
provided by the url will override any data from the authenticator,
though, even if you provide all required informations the authenticator
will be called anyway ... room for improvements ;-)


Thanks for the time you take to figure this out.

Ciao,
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to