summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-08-17 08:50:21 +0200
committerStefan Metzmacher <metze@samba.org>2012-08-17 16:34:26 +0200
commit1b487ad3d7f709b0a100ccdc6fc30dcf7d0b778c (patch)
treeb507326169012cc1e8969b3048c772973d46df86 /selftest/target
parent45471f4d8f80d80c01197536bcf47d932dcd38e0 (diff)
downloadsamba-1b487ad3d7f709b0a100ccdc6fc30dcf7d0b778c.tar.gz
samba-1b487ad3d7f709b0a100ccdc6fc30dcf7d0b778c.tar.bz2
samba-1b487ad3d7f709b0a100ccdc6fc30dcf7d0b778c.zip
s3:selftest: add some tests against a share the requires encryption
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Aug 17 16:34:26 CEST 2012 on sn-devel-104
Diffstat (limited to 'selftest/target')
-rwxr-xr-xselftest/target/Samba3.pm4
-rw-r--r--selftest/target/Samba4.pm4
2 files changed, 8 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 149a31e1eb..72b9c19c71 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -939,6 +939,10 @@ sub provision($$$$$$)
[tmp]
path = $shrdir
comment = smb username is [%U]
+[tmpenc]
+ path = $shrdir
+ comment = encrypt smb username is [%U]
+ smb encrypt = required
[tmpguest]
path = $shrdir
guest ok = yes
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index b1998a6029..17afab2e56 100644
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -1385,6 +1385,10 @@ sub provision_plugin_s4_dc($$)
my $extra_smbconf_shares = "
+[tmpenc]
+ copy = tmp
+ smb encrypt = required
+
[tmpcase]
copy = tmp
case sensitive = yes