VFS Testing with external Servers
This page collects a number of example configurations and setup instructions for external servers. This is intended to be used with the integration tests, as described on the Apache Commons VFS site.
To test the (sandbox) SMB provider you can export a share with Samba 3 server and connect to it:
Setup a 'vfsusr' login with password 'vfstest'
smbpasswd -a vfsusr
Configure a new share in Samba by adding the following lines to the configuration:
[vfsusr] comment = VFS Test Directory path = /home/vfsusr guest ok = yes writable = yes
In /etc/ssh/sshd_config ensure
Then you can crate the test directory in the home of any user (of course not root) and use it as the base for testing.