mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
selftest/tests.py: test pam_winbind with a lot of username variations
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14124 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:
parent
36e95e42ea
commit
f07b542c61
@ -233,11 +233,36 @@ if with_pam:
|
||||
valgrindify(python), pam_wrapper_so_path,
|
||||
"$SERVER", "$USERNAME", "$PASSWORD",
|
||||
pam_options])
|
||||
plantestsuite("samba.tests.pam_winbind(domain+%s)" % description, env,
|
||||
plantestsuite("samba.tests.pam_winbind(domain1+%s)" % description, env,
|
||||
[os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
|
||||
valgrindify(python), pam_wrapper_so_path,
|
||||
"$DOMAIN", "$DC_USERNAME", "$DC_PASSWORD",
|
||||
pam_options])
|
||||
plantestsuite("samba.tests.pam_winbind(domain2+%s)" % description, env,
|
||||
[os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
|
||||
valgrindify(python), pam_wrapper_so_path,
|
||||
"$REALM", "$DC_USERNAME", "$DC_PASSWORD",
|
||||
pam_options])
|
||||
plantestsuite("samba.tests.pam_winbind(domain3+%s)" % description, env,
|
||||
[os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
|
||||
valgrindify(python), pam_wrapper_so_path,
|
||||
"''", "${DC_USERNAME}@${DOMAIN}", "$DC_PASSWORD",
|
||||
pam_options])
|
||||
plantestsuite("samba.tests.pam_winbind(domain4+%s)" % description, env,
|
||||
[os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
|
||||
valgrindify(python), pam_wrapper_so_path,
|
||||
"''", "${DC_USERNAME}@${REALM}", "$DC_PASSWORD",
|
||||
pam_options])
|
||||
plantestsuite("samba.tests.pam_winbind(domain5+%s)" % description, env,
|
||||
[os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
|
||||
valgrindify(python), pam_wrapper_so_path,
|
||||
"$REALM", "${DC_USERNAME}@${DOMAIN}", "$DC_PASSWORD",
|
||||
pam_options])
|
||||
plantestsuite("samba.tests.pam_winbind(domain6+%s)" % description, env,
|
||||
[os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
|
||||
valgrindify(python), pam_wrapper_so_path,
|
||||
"$DOMAIN", "${DC_USERNAME}@${REALM}", "$DC_PASSWORD",
|
||||
pam_options])
|
||||
|
||||
for authtok_options in ["", "use_authtok", "try_authtok"]:
|
||||
_pam_options = "'%s %s'" % (o["pam_options"], authtok_options)
|
||||
|
Loading…
x
Reference in New Issue
Block a user