summaryrefslogtreecommitdiff
path: root/selftest/tests.py
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-08-01 16:07:58 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-08-07 19:11:02 +0200
commiteb691cd024260f0bc97dbd1260a14575af0fb547 (patch)
tree0ef0c7e69eda57c6377854fb84bcff1db251b74e /selftest/tests.py
parent0a7db4dd43b8ef226ba3a048c8adcc3dd1ecd3bd (diff)
downloadsamba-eb691cd024260f0bc97dbd1260a14575af0fb547.tar.gz
python:tests: Add test for warn_pwd_expire
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Aug 7 19:11:02 CEST 2017 on sn-devel-144
Diffstat (limited to 'selftest/tests.py')
-rw-r--r--selftest/tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/selftest/tests.py b/selftest/tests.py
index 40ae20b587d..a9e01ee9417 100644
--- a/selftest/tests.py
+++ b/selftest/tests.py
@@ -148,6 +148,10 @@ if with_pam:
[os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
valgrindify(python), pam_wrapper_so_path,
"$DOMAIN", "$DC_USERNAME", "$DC_PASSWORD"])
+ plantestsuite("samba.tests.pam_winbind_warn_pwd_expire(domain)", "ad_member",
+ [os.path.join(srcdir(), "python/samba/tests/test_pam_winbind_warn_pwd_expire.sh"),
+ valgrindify(python), pam_wrapper_so_path,
+ "$DOMAIN", "alice", "Secret007"])
if with_cmocka:
plantestsuite("samba.unittests.krb5samba", "none",