summaryrefslogtreecommitdiff
path: root/testprogs
AgeCommit message (Collapse)AuthorFilesLines
2010-08-12testprogs/midltests: add some example IDL files and there midltests.exe outputStefan Metzmacher11-1/+221
metze
2010-07-31s4:blackblock/ktpass: use test specific user nameStefan Metzmacher1-7/+6
metze
2010-07-17s4 unittests: add blackblox test for ktpassMatthieu Patou1-0/+37
2010-07-16s4:testprogs Operate the blackbox kinit and net tests using the :local configAndrew Bartlett1-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
2010-07-15s4:testprogs Show that we no longer delete the old keytab entriesAndrew Bartlett1-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
2010-07-15s4:testprogs Prove kerberos still works after a password changeAndrew Bartlett1-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>
2010-07-15s4: Unit test update_machine_account_password through kinitMatthieu Patou1-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>
2010-07-10testprogs/blackbox/subunit.sh: initialize failed to 0Stefan Metzmacher1-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
2010-07-03s4:kinit blackbox test - set/reset also here the "minPwdAge"Matthias Dieter Wallnöfer1-0/+7
2010-07-03s4:blackbox/test_passwords.sh - perform also here the adaptions for ↵Matthias Dieter Wallnöfer1-2/+2
"minPwdAge" != 0
2010-06-29s4:selftest Split out PKINIT tests from test_kinit.sh and test enc typesAndrew Bartlett2-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
2010-06-22testprogs/win32: add prepare_dcpromo toolStefan Metzmacher3-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
2010-05-19testprogs/win32: make it possible to specify MINGW_CCStefan Metzmacher3-3/+7
metze
2010-05-19testprogs/win32/spoolss: we don't need absolute pathes to mingw locationsStefan Metzmacher1-4/+2
metze
2010-05-19testprogs/win32/npecho: use 'rm -f' instead of 'del' on unixStefan Metzmacher1-1/+1
metze
2010-05-19testprogs/win32: explain how to use nmake with NMakefileStefan Metzmacher3-0/+9
metze
2010-05-19testprogs/win32/spoolss: rename Makefile.mingw GNUmakefileStefan Metzmacher1-0/+0
metze
2010-05-19testprogs/win32/spoolss: rename Makefile => NMakefileStefan Metzmacher1-0/+0
metze
2010-05-10testprogs: update Makefile.mingw (although mingw current cant build it).Günther Deschner1-4/+4
Guenther
2010-05-10testprogs: update README to reflect the util rename.Günther Deschner1-9/+9
Guenther
2010-05-10testprogs: add readme for testspoolss.exe.Günther Deschner2-1/+65
Patch from Kurt Pfeifle <Kurt.Pfeifle@ricoh.de>. Guenther
2010-05-10testprogs: add vcproj and sln files for testspoolss.exe.Günther Deschner2-0/+244
Patch from Kurt Pfeifle <Kurt.Pfeifle@ricoh.de>. Guenther
2010-05-10testprogs: rename spoolss.exe to testspoolss.exe.Günther Deschner5-7/+7
Patch from Kurt Pfeifle <Kurt.Pfeifle@ricoh.de>. Guenther
2010-05-09s4:blackbox/test_kinit.sh - Test the new "net user add <user> [<password>]" ↵Matthias Dieter Wallnöfer1-1/+1
syntax
2010-04-16s4-test: check that a weak password is rejected by kpasswdAndrew Tridgell1-0/+44
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13testprogs/blackbox/test_kinit: reorder arguments to "net time" to fix make testStefan Metzmacher1-1/+1
metze
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-03-15testprogs: add EnumPrinterData test to win32 spoolss test.Günther Deschner2-0/+67
Guenther
2010-03-04testprogs: add test_PrinterDataW.Günther Deschner1-0/+81
Guenther
2010-03-04testprogs: use dump_data in dump_printer_data.Günther Deschner1-12/+4
Guenther
2010-03-04testprogs: add print_printer_dataw and dump_data to printlib.Günther Deschner2-11/+94
Guenther
2010-03-04testprogs: add some multibyte versions of PrinterData calls.Günther Deschner1-0/+130
Guenther
2010-03-03testprogs: fix boolean return code of test_PrinterData.Günther Deschner1-8/+12
Guenther
2010-03-02testprogs: make sure to do the same tests as in smbtorture in ↵Günther Deschner3-23/+58
test_PrinterData(). Guenther
2010-03-02testprogs: fix REG_SZ in print_printer_data.Günther Deschner1-2/+10
Guenther
2010-03-02testprogs: test result of GetPrinterDataEx against SetPrinterDataEx args.Günther Deschner1-7/+28
Guenther
2010-03-01testprogs: better usage text.Günther Deschner1-1/+9
Guenther
2010-03-01testprogs: add very basic PrinterData test for printers.Günther Deschner1-2/+40
This very basically tests SetPrinterDataEx, GetPrinterDataEx and DeletePrinterDataEx. Guenther
2010-03-01testprogs: rename test_PrinterData to test_PrinterData_Server.Günther Deschner1-4/+4
Guenther
2010-03-01testprogs: add SetPrinterDataEx test.Günther Deschner1-0/+27
Guenther
2010-03-01testprogs: add DeletePrinterKey test.Günther Deschner1-0/+23
Guenther
2010-03-01testprogs: add DeletePrinterDataEx test.Günther Deschner1-0/+24
Guenther
2010-03-01testprogs: allow to test a single printer when given on the cmdline.Günther Deschner1-0/+10
2010-03-01testprogs: add RPC_X_NULL_REF_POINTER error codeGünther Deschner1-0/+2
2010-02-26testprogs: print the directory paths as well in spoolss test.Günther Deschner1-0/+8
Guenther
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
2010-02-19testprogs: ignore GetJob level 3 and 4 against samba for now.Günther Deschner2-1/+3
Guenther
2010-02-18testprogs: add tests for GetJob() to spoolss test.Günther Deschner1-0/+106
Guenther