summaryrefslogtreecommitdiffstats
path: root/testprogs/blackbox
Commit message (Collapse)AuthorAgeFilesLines
...
* test-blackbox: Rearrange arguments for samba-tool user setpassword commandAmitay Isaacs2011-07-281-1/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* test-blackbox: Remove 'domain\' from username for samba-tool user setpasswordAmitay Isaacs2011-07-281-2/+2
| | | | | | Python version of samba-tool does not require 'domain\' prefix for username. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* test-blackbox: Rearrange the arguments in required order for samba-tool timeAmitay Isaacs2011-07-281-1/+1
| | | | | | | Python version of samba-tool requires the command and the subcommand to be specified before the options. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: updated test suite to account for newuser changeGiampaolo Lauria2011-07-283-3/+3
| | | | | | | Updated test suite invocations of newuser to "user add" as the newuser functionality is now being moved to "user add" Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: update test suite to reflect the move from password to "user ↵Giampaolo Lauria2011-07-282-9/+9
| | | | | | | | setpassword" This is part of the work to reflect the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-test: don't fix broken objects during dbcheck testAndrew Tridgell2011-07-211-1/+1
| | | | | this leaves the database as-is, which makes it easier to examine the problem
* dbcheck: test the --reindex optionAndrew Tridgell2011-07-211-0/+5
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-test: added dbcheck run to test suiteAndrew Tridgell2011-07-211-0/+21
| | | | | | This should catch corruption that happens during a test run Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* samba-tool: use 'exportkeytab' instead of 'dumpkeys'Andrew Tridgell2011-07-211-2/+2
| | | | | | | a 'keytab' is a particular format known to administrators, whereas 'keys' is a bit too vague Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* samba-tool: updated test suite for the new domain dumpkeys optionGiampaolo Lauria2011-07-211-2/+2
| | | | | | The test suite has been changed to reflect the move from export to "domain dumpkeys" to reflect the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: update test suite for the new domain objectGiampaolo Lauria2011-07-212-8/+8
| | | | | | Changed test suite to reflect the changes from setpassword to "domain setpassword" to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: update test suite for add setpasswordGiampaolo Lauria2011-07-211-2/+2
| | | | | | The test suite needs to change from setpassword to "user setpassword" to reflect the new cmd syntax Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-test: fixed usage message on renamedc.shAndrew Tridgell2011-07-131-1/+1
|
* samba-tool: update tests for new 'user enable' syntaxAndrew Tridgell2011-06-012-2/+2
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jun 1 10:37:50 CEST 2011 on sn-devel-104
* s4: add blackbox test for renameMatthieu Patou2011-05-211-0/+42
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat May 21 09:50:34 CEST 2011 on sn-devel-104
* selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett2011-04-167-9/+9
| | | | | | Just have BINDIR, and have it default to ./bin Andrew Bartlett
* testprogs/blackbox/subunit: add testok() for easier integration of s3 tests.Michael Adam2011-02-161-0/+9
|
* blackbox: removed assumption of build directoryAndrew Tridgell2011-02-075-5/+18
| | | | | | this fixes the blackbox tests for a top level build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* testprogs:test_kinit: create tmp files under $PREFIXStefan Metzmacher2010-12-241-22/+22
| | | | metze
* blackbox.ldb: Support using system ldbsearch.Jelmer Vernooij2010-11-271-1/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Nov 27 04:32:11 CET 2010 on sn-devel-104
* s4-test_kinit Add tests for lowercase realm combinationsAndrew Bartlett2010-11-161-0/+4
| | | | | | | This tests that the handling of lowercase realms works in our KDC and libraries. Andrew Bartlett
* s4 net: rename to samba-tool in order to not clash with s3 netKai Blin2010-10-285-36/+36
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Oct 28 07:25:16 UTC 2010 on sn-devel-104
* s4-test: fixed a typo in test_kinit.shAndrew Tridgell2010-10-151-1/+1
| | | | | | | too many Ts Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Oct 15 10:14:27 UTC 2010 on sn-devel-104
* s4-test: fixed test_kinit.sh time command testAndrew Tridgell2010-10-151-1/+1
| | | | passing -W breaks -k yes
* s4:blackblock/ktpass: use test specific user nameStefan Metzmacher2010-07-311-7/+6
| | | | metze
* s4 unittests: add blackblox test for ktpassMatthieu Patou2010-07-171-0/+37
|
* s4:testprogs Operate the blackbox kinit and net tests using the :local configAndrew Bartlett2010-07-161-1/+0
| | | | | | | | | | | | | | This :local tells selftest.pl to use the local smb.conf for the test environment, not the generic client smb.conf This then makes the rest work properly - otherwise, it may attempt to connect to the wrong KDC for example. The only problem is that we can't test the 'net join' with this set, so this is removed from the test. The member server test environment checks this anyway. Andrew Bartlett
* s4:testprogs Show that we no longer delete the old keytab entriesAndrew Bartlett2010-07-151-3/+5
| | | | | | | | By using a CCACHE obtained while the old password was still valid, we can tell if the server still accepts incoming Kerberos connections with the old password. Andrew Bartlett
* s4:testprogs Prove kerberos still works after a password changeAndrew Bartlett2010-07-151-0/+25
| | | | | | | | | | Changing the machine account password should not prevent connections with a current, valid CCACHE. This is because when the password is changed, the server-side keytab keeps one old password around. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4: Unit test update_machine_account_password through kinitMatthieu Patou2010-07-151-0/+39
| | | | | | | This patch is for testing the chgdcpass script which is mostly a call to update_machine_account_password. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* testprogs/blackbox/subunit.sh: initialize failed to 0Stefan Metzmacher2010-07-101-0/+3
| | | | | | | | | | | | This is a short-term workarround for broken scripts, which use "exit $failed", without initializing failed. We need a discussion on the mailing list how to handle this in a nicer way. This should fix some random failures in the blackbox tests. metze
* s4:kinit blackbox test - set/reset also here the "minPwdAge"Matthias Dieter Wallnöfer2010-07-031-0/+7
|
* s4:blackbox/test_passwords.sh - perform also here the adaptions for ↵Matthias Dieter Wallnöfer2010-07-031-2/+2
| | | | "minPwdAge" != 0
* s4:selftest Split out PKINIT tests from test_kinit.sh and test enc typesAndrew Bartlett2010-06-292-14/+79
| | | | | | | | | | | This allows us to run the PKINIT tests only against the main DC (for which the certificates were generated), while testing the available encryption types in each functional level. In particular, we need to assert that AES encryption is available in the 2008 functional level. Andrew Bartlett
* s4:blackbox/test_kinit.sh - Test the new "net user add <user> [<password>]" ↵Matthias Dieter Wallnöfer2010-05-091-1/+1
| | | | syntax
* s4-test: check that a weak password is rejected by kpasswdAndrew Tridgell2010-04-161-0/+44
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* testprogs/blackbox/test_kinit: reorder arguments to "net time" to fix make testStefan Metzmacher2010-04-131-1/+1
| | | | metze
* s4:testprogs Update test to match current HeimdalAndrew Bartlett2010-03-271-1/+1
|
* s4:testprogs Fix kinit test for updated HeimdalAndrew Bartlett2010-03-271-2/+2
|
* s4:selftest Add testing of kpasswd password set on servicePrincipalNameAndrew Bartlett2010-03-251-0/+31
|
* s4:credentials Add hooks to extract a named Kerberos credentials cacheAndrew Bartlett2010-02-201-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
* blackbox/test_export_keytab.sh: correctly remove temporary filesStefan Metzmacher2010-01-041-1/+1
| | | | metze
* blackbox/test_export_keytab.sh: use VALGRIND for samba4kinitStefan Metzmacher2010-01-041-2/+2
| | | | metze
* s4-testpasswords: fixed CONFIG and quotingAndrew Tridgell2009-12-311-17/+22
| | | | Need to pass correct config file to tests
* net: Move 'newuser' to 'net newuser'Jelmer Vernooij2009-12-312-2/+2
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* net: Fix tests and documentation of setexpiry.Jelmer Vernooij2009-12-312-2/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* net: Move 'setpassword' to 'net setpassword'.Jelmer Vernooij2009-12-311-3/+2
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* blackbox.passwords: Use convenience variable for net.Jelmer Vernooij2009-12-311-5/+5
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Fix commands in password tests.Jelmer Vernooij2009-12-311-6/+6
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Revert "blackbox:test_kinit - Remove the "-H" (hive) parameter"Matthias Dieter Wallnöfer2009-09-211-1/+1
| | | | | | | This reverts commit d4389a230b6aea5a0b2a98e255b14a59c8248b0b. This revert changed the behaviour which I didn't expect. Thanks abartlet to point this out!