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.

Samba 3

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

OpenSSH

In /etc/ssh/sshd_config ensure

PasswordAuthentication yes

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.

VfsTestServers (last edited 2015-02-11 04:09:46 by BerndEckenfels)