summaryrefslogtreecommitdiff
path: root/testprogs/blackbox/test_kinit_trusts_heimdal.sh
Commit message (Collapse)AuthorAgeFilesLines
* testprogs: Remove unused test_kinit_trusts_(heimdal|mit).shAndreas Schneider2023-04-061-162/+0
| | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* testprogs: Fix shell arithmetic in test_kinit_trusts_heimdal.shAndreas Schneider2023-04-061-22/+22
| | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* testprogs: Reformat test_kinit_trusts_heimdal.shAndreas Schneider2023-04-061-25/+83
| | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* testprogs: Pass configuration to test_kinit_trusts_heimdal.shAndreas Schneider2023-04-061-2/+3
| | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=15336 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* testprogs: Fix shellcheck errors in test_kinit_trusts_heimdal.shAndreas Schneider2022-08-221-1/+1
| | | | | | | testprogs/blackbox/test_kinit_trusts_heimdal.sh:80:114: error: Double quote array expansions to avoid re-splitting elements. [SC2068] Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
* testprogs: Reformat test_kinit_trusts_heimdal.shAndreas Schneider2022-08-041-26/+26
| | | | | | shfmt -w -p -i 0 -fn testprogs/blackbox/test_kinit_trusts_heimdal.sh Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
* CVE-2022-2031 testprogs: Add test for short-lived ticket across an incoming ↵Joseph Sutton2022-07-271-1/+5
| | | | | | | | | | | trust We ensure that the KDC does not reject a TGS-REQ with our short-lived TGT over an incoming trust. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15047 Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
* selftest: Fix "outgoing" test in kinit_trust heimdalIsaac Boukris2021-07-071-1/+1
| | | | | | | Found by the test not failing in one-way trust. Signed-off-by: Isaac Boukris <iboukris@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* testprogs: Consistantly use kinit -c $KRB5CCNAMEStefan Metzmacher2021-07-051-3/+4
| | | | | | | | | | | | | | | We want to be really clear which credentials cache we use. The kerberos_kinit() shell function uses this internally. -c is the common option between MIT and Heimdal, and is equivilant to --cache Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Jul 5 23:51:43 UTC 2021 on sn-devel-184
* testprogs: Use new kerberos options for smbclient(4) testsAndreas Schneider2021-06-161-10/+10
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* testprogs/blackbox: PY3 bulk change for python scripts use correct pythonNoel Power2018-11-141-2/+2
| | | | | | | | Change all instance where python scripts are called so that the correct python version as specified by $PYTHON is used Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* selftest: Align cleanup of tmpkpasswdscript with scripts that use itAndrew Bartlett2018-03-231-1/+1
| | | | | | | | Some scripts removed it without creating it and the others created it and did not remove it. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* testprogs: Add kinit_trusts tests with smbclient4Andreas Schneider2017-03-101-0/+8
| | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=12554 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* testprogs: Use smbclient by default in test_kinit_trustsAndreas Schneider2017-03-101-1/+1
| | | | | | | | | This is the tool we use by default and we should test with it. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12554 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* selfttest: add common_test_fns.incRichard Sharpe2016-04-281-26/+11
| | | | | | | | | | | | | Create an include file of common functions used by several of the blackbox tests in testprogs and then make all the users of test_smbclient include that file so we can eliminate duplicate code. We pass the UNC to the test_smbclient function. Signed-off-by: Richard Sharpe <rsharpe@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Thu Apr 28 16:50:35 CEST 2016 on sn-devel-144
* tests: Rename heimdal blackbox testsAndreas Schneider2016-01-221-0/+105
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>