selftest: test pam_winbind with a local user on ad_member
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Jun 2017 13:45:25 +0000 (15:45 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 13 Jun 2017 20:46:14 +0000 (22:46 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
selftest/tests.py

index 50927ae9965a3c9bf7171b0417ba17441ef3d025..175b56cd1d8c87f5094f59bfb03e0568763e2bac 100644 (file)
@@ -139,7 +139,11 @@ plantestsuite(
 planpythontestsuite("none", "samba.tests.glue", py3_compatible=True)
 
 if with_pam:
-    plantestsuite("samba.tests.pam_winbind", "ad_member",
+    plantestsuite("samba.tests.pam_winbind(local)", "ad_member",
+                  [os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
+                   valgrindify(python), pam_wrapper_so_path,
+                   "$SERVER", "$USERNAME", "$PASSWORD"])
+    plantestsuite("samba.tests.pam_winbind(domain)", "ad_member",
                   [os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
                    valgrindify(python), pam_wrapper_so_path,
                    "$DOMAIN", "$DC_USERNAME", "$DC_PASSWORD"])