diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-04-14 20:04:45 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-05-09 06:18:21 +0200 |
commit | fe8a1fcda792ee38faaadf1da2905b62302ce3e1 (patch) | |
tree | 4078dfaa0974cc53420452ee434773c0664dab0e /selftest | |
parent | 7874a431541e10a1846fe3732568496b2b753de1 (diff) | |
download | samba-fe8a1fcda792ee38faaadf1da2905b62302ce3e1.tar.gz |
selftest: Run raw.acls test against the nfs4acl_xattr module
This is the first time we have tested the NFSv4 ACL mapping code.
Sadly most tests fail but these can be fixed from here.
This at least shows that the code does not segfault.
Andrew Bartlett
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/knownfail | 8 | ||||
-rwxr-xr-x | selftest/target/Samba3.pm | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/selftest/knownfail b/selftest/knownfail index cb7630fc63..069afe7604 100644 --- a/selftest/knownfail +++ b/selftest/knownfail @@ -45,6 +45,14 @@ ^samba3.blackbox.smbclient_machine_auth.plain \(s3dc:local\)# the S3dc does not currently set up a self-join ^samba3.raw.samba3hide.samba3hide\((s3dc|plugin_s4_dc)\) # This test fails against an smbd environment with NT ACLs enabled ^samba3.raw.samba3closeerr.samba3closeerr\(s3dc\) # This test fails against an smbd environment with NT ACLs enabled +^samba3.raw.acls nfs4acl_xattr.INHERITFLAGS\(s3dc\) # This (and the follow nfs4acl_xattr tests fail because our NFSv4 backend isn't a complete mapping yet. +^samba3.raw.acls nfs4acl_xattr.dynamic\(s3dc\) +^samba3.raw.acls nfs4acl_xattr.sd\(s3dc\) +^samba3.raw.acls nfs4acl_xattr.create_file\(s3dc\) +^samba3.raw.acls nfs4acl_xattr.create_dir\(s3dc\) +^samba3.raw.acls nfs4acl_xattr.nulldacl\(s3dc\) +^samba3.raw.acls nfs4acl_xattr.generic\(s3dc\) +^samba3.raw.acls nfs4acl_xattr.inheritance\(s3dc\) ^samba3.base.delete.deltest16a ^samba3.base.delete.deltest17a ^samba3.unix.whoami anonymous connection.whoami\(plugin_s4_dc\) # We need to resolve if we should be including SID_NT_WORLD and SID_NT_NETWORK in this token diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 1b14f1c840..407642c9aa 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -1081,6 +1081,12 @@ sub provision($$$$$$) default devmode = no [lp] copy = print1 + +[nfs4acl_share] + path = $shrdir + comment = smb username is [%U] + vfs objects = $vfs_modulesdir_abs/nfs4acl_xattr.so $vfs_modulesdir_abs/xattr_tdb.so + [xcopy_share] path = $shrdir comment = smb username is [%U] |