s4-torture: add smb2 nfs testing suite
This testsuite allows to explore filesystem behavior when data is shared
via NFS and SMB concurrently. It requires libnfs-devel to be installed.
For testing an export like /opt/test add this to Samba's /etc/samba/smb.conf:
[test]
path = /opt/test
read only = No
And this to NFS Ganesha's /etc/ganesha/ganesha.conf:
EXPORT
{
Export_Id = 1;
Path = /opt/test;
Pseudo = /opt/test;
Sectype = sys,krb5,krb5i,krb5p;
Protocols = 3,4;
Access_Type = RW;
FSAL {
Name = VFS;
}
CLIENT {
Clients=*;
Protocols=3,4;
}
}
Run the testsuite like this:
smbtorture //192.168.3.1/test -U smbuser%password smb2.nfs --option=torture:nfs_path=/opt/test --option=torture:nfs_version=4
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>