diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-04-28 12:25:03 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-04-28 06:18:59 +0200 |
commit | 123097e8796bd21a7d6856683a17043fc933475e (patch) | |
tree | 44df7c6c4595678e22a4f74d7fda01b9908179fa /selftest/target | |
parent | b44f4325bb454b10323f1d4576343a9d3e6260ab (diff) | |
download | samba-123097e8796bd21a7d6856683a17043fc933475e.tar.gz samba-123097e8796bd21a7d6856683a17043fc933475e.tar.bz2 samba-123097e8796bd21a7d6856683a17043fc933475e.zip |
selftest: Print a better warning warning message when smbcacls fails.
These tests can't run on systems without posix ACLs.
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 28 06:18:59 CEST 2011 on sn-devel-104
Diffstat (limited to 'selftest/target')
-rw-r--r-- | selftest/target/Samba3.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 1c158f9341..6312d650a0 100644 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -261,7 +261,7 @@ sub setup_admember($$$$) $cmd .= "-S ACL:$dcvars->{DOMAIN}\\\\Domain\\ Users:ALLOWED/0x0/FULL"; if (system($cmd) != 0) { - warn("smbcacls failed\n$cmd"); + warn("smbcacls failed, your filesystem may not support ACLs. Try mount $prefix_abs -oremount,acl\nThis support is required for S3 member in S4 tests\n$cmd"); return undef; } |