summaryrefslogtreecommitdiffstats
path: root/selftest
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2015-01-13 13:49:58 -0800
committerVolker Lendecke <vl@samba.org>2015-01-14 08:46:07 +0100
commitd098b6c877629af0f23070481deaccdf65acd249 (patch)
tree95bd24ca2f3ef60a6f8cca2e01260c48e949d257 /selftest
parent83066ed539658a9fa6deb897b15b20a0624227fe (diff)
downloadsamba-d098b6c877629af0f23070481deaccdf65acd249.tar.gz
samba-d098b6c877629af0f23070481deaccdf65acd249.tar.xz
samba-d098b6c877629af0f23070481deaccdf65acd249.zip
s3: auth - tests: Add test for "force user" being a unix-only user, not in passdb.
https://bugzilla.samba.org/show_bug.cgi?id=11044 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed Jan 14 08:46:08 CET 2015 on sn-devel-104
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/target/Samba3.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 289e4643c5..8926ae13e9 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -1182,6 +1182,10 @@ sub provision($$$$$$$$)
path = $shrdir
force user = $unix_name
guest ok = yes
+[forceuser_unixonly]
+ path = $shrdir
+ force user = pdbtest
+ guest ok = yes
[forcegroup]
path = $shrdir
force group = nogroup