selftest/tests.py
authorStefan Metzmacher <metze@samba.org>
Sat, 10 Jun 2017 12:38:40 +0000 (14:38 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 29 Oct 2019 13:33:03 +0000 (14:33 +0100)
selftest/tests.py

index cca2ad02c9e6dcba460745e84da4a7de0022f0e4..5e429ea90c17395e99eee10d52b4626b5ad434c0 100644 (file)
@@ -347,6 +347,48 @@ if with_pam:
                        "${TRUST_E_BOTH_USERNAME}@${TRUST_E_BOTH_REALM}",
                        "$TRUST_E_BOTH_PASSWORD",
                        pam_options])
+        plantestsuite("samba.tests.pam_winbind(trust_e_out1+%s)" % description, env,
+                      [os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
+                       valgrindify(python), pam_wrapper_so_path,
+                       "$TRUST_E_OUT_DOMAIN",
+                       "$TRUST_E_OUT_USERNAME",
+                       "$TRUST_E_OUT_PASSWORD",
+                       pam_options])
+        plantestsuite("samba.tests.pam_winbind(trust_e_out2+%s)" % description, env,
+                      [os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
+                       valgrindify(python), pam_wrapper_so_path,
+                       "$TRUST_E_OUT_REALM",
+                       "$TRUST_E_OUT_USERNAME",
+                       "$TRUST_E_OUT_PASSWORD",
+                       pam_options])
+        plantestsuite("samba.tests.pam_winbind(trust_e_out3+%s)" % description, env,
+                      [os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
+                       valgrindify(python), pam_wrapper_so_path,
+                       "''",
+                       "${TRUST_E_OUT_USERNAME}@${TRUST_E_OUT_DOMAIN}",
+                       "$TRUST_E_OUT_PASSWORD",
+                       pam_options])
+        plantestsuite("samba.tests.pam_winbind(trust_e_out4+%s)" % description, env,
+                      [os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
+                       valgrindify(python), pam_wrapper_so_path,
+                       "''",
+                       "${TRUST_E_OUT_USERNAME}@${TRUST_E_OUT_REALM}",
+                       "$TRUST_E_OUT_PASSWORD",
+                       pam_options])
+        plantestsuite("samba.tests.pam_winbind(trust_e_out5+%s)" % description, env,
+                      [os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
+                       valgrindify(python), pam_wrapper_so_path,
+                       "${TRUST_E_OUT_REALM}",
+                       "${TRUST_E_OUT_USERNAME}@${TRUST_E_OUT_DOMAIN}",
+                       "$TRUST_E_OUT_PASSWORD",
+                       pam_options])
+        plantestsuite("samba.tests.pam_winbind(trust_e_out6+%s)" % description, env,
+                      [os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
+                       valgrindify(python), pam_wrapper_so_path,
+                       "${TRUST_E_OUT_DOMAIN}",
+                       "${TRUST_E_OUT_USERNAME}@${TRUST_E_OUT_REALM}",
+                       "$TRUST_E_OUT_PASSWORD",
+                       pam_options])
 
         for authtok_options in ["", "use_authtok", "try_authtok"]:
             _pam_options = "'%s %s'" % (o["pam_options"], authtok_options)