summaryrefslogtreecommitdiff
path: root/testprogs/blackbox/test_kinit.sh
AgeCommit message (Collapse)AuthorFilesLines
2010-03-27s4:testprogs Update test to match current HeimdalAndrew Bartlett1-1/+1
2010-03-27s4:testprogs Fix kinit test for updated HeimdalAndrew Bartlett1-2/+2
2010-03-25s4:selftest Add testing of kpasswd password set on servicePrincipalNameAndrew Bartlett1-0/+31
2010-02-20s4:credentials Add hooks to extract a named Kerberos credentials cacheAndrew Bartlett1-1/+6
This allows the integration of external tools that can't be linked into C or python, but need to authenticate as the local machine account. The machineaccountccache script demonstrates this, and debugging has been improved in cli_credentials_set_secrets() by passing back and error string. Andrew Bartlett
2009-12-31net: Fix tests and documentation of setexpiry.Jelmer Vernooij1-1/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-09-21Revert "blackbox:test_kinit - Remove the "-H" (hive) parameter"Matthias Dieter Wallnöfer1-1/+1
This reverts commit d4389a230b6aea5a0b2a98e255b14a59c8248b0b. This revert changed the behaviour which I didn't expect. Thanks abartlet to point this out!
2009-09-20blackbox:test_kinit - Remove the "-H" (hive) parameterMatthias Dieter Wallnöfer1-1/+1
The "enableaccount" script works only on local LDB anymore - therefore remove this parameter.
2009-07-28s4:kerberos Add support for user principal names in certificatesAndrew Bartlett1-1/+3
This extends the PKINIT code in Heimdal to ask the HDB layer if the User Principal Name name in the certificate is an alias (perhaps just by case change) of the name given in the AS-REQ. (This was a TODO in the Heimdal KDC) The testsuite is extended to test this behaviour, and the other PKINIT certficate (using the standard method to specify a principal name in a certificate) is updated to use a Administrator (not administrator). (This fixes the kinit test). Andrew Bartlett
2009-06-30s4:heimdal Allow KRB5_NT_ENTERPRISE names in all DB lookupsAndrew Bartlett1-0/+2
The previous code only allowed an KRB5_NT_ENTERPRISE name (an e-mail list user principal name) in an AS-REQ. Evidence from the wild (Win2k8 reportadely) indicates that this is instead valid for all types of requests. While this is now handled in heimdal/kdc/misc.c, a flag is now defined in Heimdal's hdb so that we can take over this handling in future (once we start using a system Heimdal, and if we find out there is more to be done here). Andrew Bartlett
2009-06-18s4:testprogs Don't specify a username/password when checking the ccacheAndrew Bartlett1-1/+1
The purpose of this test is to ensure that the Kerberos credentials cache is valid. If the username and password is specified, this overrides the very thing we are trying to test. Andrew Bartlett
2009-02-03s4:selftest: avoid hardcoded pathes in blackbox testsStefan Metzmacher1-10/+12
metze
2008-10-20Actually test the kpasswd serverAndrew Bartlett1-3/+41
This uses kpasswd operated as a blackbox, assisted by the newly imported rkpty tool. Andrew Bartlett
2008-09-14blackbox: fix source => source4Stefan Metzmacher1-2/+2
metze
2008-05-21Fix reference to removed smbpython.Jelmer Vernooij1-1/+1
(This used to be commit 58f956dc4591137489cba16f360f2d24d91dadc1)
2008-04-16Use the subunit shell library.Jelmer Vernooij1-15/+1
(This used to be commit 49367e044e3ab94639ab3209bfd06c6286b44b59)
2008-04-15Test password change with 'net password change'.Andrew Bartlett1-0/+8
Andrew Bartlett (This used to be commit 695cee0349f561625e4bbfa3a142a5e35f7eb4bf)
2008-03-28Fix and test python scripts and kerberosAndrew Bartlett1-10/+18
This fixes up the python credentials interface in a number of areas, with the aim of supporting '-k yes' as a command line option. (This enables the use of kerberos). As such, I've had to change the get_credentials call to take a loadparm context, so that the credentials can be initialised correctly. The test_kinit script has been modified to prove that this continues to work, as well as to provide greater code coverage of the kerberos paths. Andrew Bartlett (This used to be commit 727ef40c2b56910028ef3c1092b8eab1bfa6ce63)
2008-02-08Put temporary test files in test directory.Jelmer Vernooij1-1/+1
(This used to be commit 16382999bebf158996e16219e7053ef4821550c1)
2007-10-10r24876: Use more absolute paths to samba4 binaries.Jelmer Vernooij1-8/+13
(This used to be commit 8616bfa0ae5762ae45b8339c84b8e4ae499f5897)
2007-10-10r23965: Add testing the 'net time' command to the script.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 4fab53432a3599cf62a7ebef977bc33ef5a5f734)
2007-10-10r23964: Update blackbox selftest scripts to cover more code, and to moreAndrew Bartlett1-8/+44
consistantly report errors. (Some were being lost due to the "echo foo | cmd" calling convention). Andrew Bartlett (This used to be commit d0a994d0ce7b1d4a33bbca5348c2da868401971f)
2007-10-10r22284: Make this script executableAndrew Bartlett1-0/+0
(This used to be commit b0cbf169366e3624f4d8c2b1a65e478e72734871)
2007-10-10r22235: Test kinit, and PKINIT functionality by means of a new blackbox test.Andrew Bartlett1-0/+45
Andrew Bartlett (This used to be commit 7f27bfc3568bc09b2b9cb9ba03aae55a03e08f9a)