summaryrefslogtreecommitdiffstats
path: root/testprogs
Commit message (Collapse)AuthorAgeFilesLines
* testprogs: skip two tests in spoolss tester.Günther Deschner2010-09-171-0/+4
| | | | Guenther
* testprogs/midltests: add some example IDL files and there midltests.exe outputStefan Metzmacher2010-08-1211-1/+221
| | | | metze
* 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
* testprogs/win32: add prepare_dcpromo toolStefan Metzmacher2010-06-223-0/+1111
| | | | | | | | | | | This tool can set the DOMAIN-SID and nextRid counter in the local SAM on windows servers (tested with w2k8r2) dcpromo will use this values for the ad domain it creates. This might be useful for upgrades from a Samba3 domain. metze
* testprogs/win32: make it possible to specify MINGW_CCStefan Metzmacher2010-05-193-3/+7
| | | | metze
* testprogs/win32/spoolss: we don't need absolute pathes to mingw locationsStefan Metzmacher2010-05-191-4/+2
| | | | metze
* testprogs/win32/npecho: use 'rm -f' instead of 'del' on unixStefan Metzmacher2010-05-191-1/+1
| | | | metze
* testprogs/win32: explain how to use nmake with NMakefileStefan Metzmacher2010-05-193-0/+9
| | | | metze
* testprogs/win32/spoolss: rename Makefile.mingw GNUmakefileStefan Metzmacher2010-05-191-0/+0
| | | | metze
* testprogs/win32/spoolss: rename Makefile => NMakefileStefan Metzmacher2010-05-191-0/+0
| | | | metze
* testprogs: update Makefile.mingw (although mingw current cant build it).Günther Deschner2010-05-101-4/+4
| | | | Guenther
* testprogs: update README to reflect the util rename.Günther Deschner2010-05-101-9/+9
| | | | Guenther
* testprogs: add readme for testspoolss.exe.Günther Deschner2010-05-102-1/+65
| | | | | | Patch from Kurt Pfeifle <Kurt.Pfeifle@ricoh.de>. Guenther
* testprogs: add vcproj and sln files for testspoolss.exe.Günther Deschner2010-05-102-0/+244
| | | | | | Patch from Kurt Pfeifle <Kurt.Pfeifle@ricoh.de>. Guenther
* testprogs: rename spoolss.exe to testspoolss.exe.Günther Deschner2010-05-105-7/+7
| | | | | | Patch from Kurt Pfeifle <Kurt.Pfeifle@ricoh.de>. Guenther
* 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
|
* testprogs: add EnumPrinterData test to win32 spoolss test.Günther Deschner2010-03-152-0/+67
| | | | Guenther
* testprogs: add test_PrinterDataW.Günther Deschner2010-03-041-0/+81
| | | | Guenther
* testprogs: use dump_data in dump_printer_data.Günther Deschner2010-03-041-12/+4
| | | | Guenther
* testprogs: add print_printer_dataw and dump_data to printlib.Günther Deschner2010-03-042-11/+94
| | | | Guenther
* testprogs: add some multibyte versions of PrinterData calls.Günther Deschner2010-03-041-0/+130
| | | | Guenther
* testprogs: fix boolean return code of test_PrinterData.Günther Deschner2010-03-031-8/+12
| | | | Guenther
* testprogs: make sure to do the same tests as in smbtorture in ↵Günther Deschner2010-03-023-23/+58
| | | | | | test_PrinterData(). Guenther
* testprogs: fix REG_SZ in print_printer_data.Günther Deschner2010-03-021-2/+10
| | | | Guenther
* testprogs: test result of GetPrinterDataEx against SetPrinterDataEx args.Günther Deschner2010-03-021-7/+28
| | | | Guenther
* testprogs: better usage text.Günther Deschner2010-03-011-1/+9
| | | | Guenther
* testprogs: add very basic PrinterData test for printers.Günther Deschner2010-03-011-2/+40
| | | | | | | This very basically tests SetPrinterDataEx, GetPrinterDataEx and DeletePrinterDataEx. Guenther
* testprogs: rename test_PrinterData to test_PrinterData_Server.Günther Deschner2010-03-011-4/+4
| | | | Guenther
* testprogs: add SetPrinterDataEx test.Günther Deschner2010-03-011-0/+27
| | | | Guenther
* testprogs: add DeletePrinterKey test.Günther Deschner2010-03-011-0/+23
| | | | Guenther
* testprogs: add DeletePrinterDataEx test.Günther Deschner2010-03-011-0/+24
| | | | Guenther
* testprogs: allow to test a single printer when given on the cmdline.Günther Deschner2010-03-011-0/+10
|
* testprogs: add RPC_X_NULL_REF_POINTER error codeGünther Deschner2010-03-011-0/+2
|
* testprogs: print the directory paths as well in spoolss test.Günther Deschner2010-02-261-0/+8
| | | | Guenther
* 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
* testprogs: ignore GetJob level 3 and 4 against samba for now.Günther Deschner2010-02-192-1/+3
| | | | Guenther