selftest: use "$DC_USERNAME" and "$DC_PASSWORD" for the pam_winbind test
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Jun 2017 13:15:15 +0000 (15:15 +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 9033dd9a9a0c21672276633dad95b507d842ff7a..50927ae9965a3c9bf7171b0417ba17441ef3d025 100644 (file)
@@ -141,7 +141,8 @@ planpythontestsuite("none", "samba.tests.glue", py3_compatible=True)
 if with_pam:
     plantestsuite("samba.tests.pam_winbind", "ad_member",
                   [os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
-                   valgrindify(python), pam_wrapper_so_path, "$DOMAIN", "alice", "Secret007"])
+                   valgrindify(python), pam_wrapper_so_path,
+                   "$DOMAIN", "$DC_USERNAME", "$DC_PASSWORD"])
 
 if with_cmocka:
     plantestsuite("samba.unittests.krb5samba", "none",