summaryrefslogtreecommitdiff
path: root/testprogs
AgeCommit message (Collapse)AuthorFilesLines
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
2010-02-18testprogs: add RPC_S_PROCNUM_OUT_OF_RANGE error.Günther Deschner1-0/+2
Guenther
2010-02-18testprogs: print SDDL string of printer security descriptorsGünther Deschner1-1/+11
2010-02-16testprogs: add rather simple device mode tests to spoolss test.Günther Deschner2-1/+127
Guenther
2010-02-15testprogs: add "samba3" and "architecture=" options to spoolss tester.Günther Deschner2-4/+39
Guenther
2010-02-15testprogs: fix EnumJobs debug output in spoolss test.Günther Deschner1-1/+1
Found by Kai, thanks! Guenther
2010-02-12testprogs: print all printerinfo levels in spoolss test.Günther Deschner1-2/+26
Guenther
2010-02-11testprogs: one more error code for spoolss test.Günther Deschner1-0/+2
Guenther
2010-02-11testprogs: print secdesc->Control in spoolss test.Günther Deschner1-2/+1
Guenther
2010-02-11testprogs: use ConvertSidToStringSid in order to print sids in spoolss test.Günther Deschner1-12/+16
Guenther
2010-02-10testprogs: add more error codes for spoolss test.Günther Deschner1-0/+2
Guenther
2010-02-09testprogs: regenerate printlib prototypes for spoolss test.Günther Deschner1-27/+39
Guenther
2010-02-09testprogs: print job info levels in EnumJobs() spoolss tests.Günther Deschner2-0/+101
Guenther
2010-02-09testprogs: print datatypes info levels in EnumPrintProcessorDatatypes() ↵Günther Deschner2-0/+42
spoolss tests. Guenther
2010-02-09testprogs: print printprocessor info levels in EnumPrintProcessors() spoolss ↵Günther Deschner2-0/+35
tests. Guenther
2010-02-09testprogs: print monitor info levels in EnumMonitors() spoolss tests.Günther Deschner2-0/+45
Guenther
2010-02-09testprogs: print port info levels in EnumPorts() spoolss tests.Günther Deschner2-0/+79
Guenther
2010-02-09testprogs: print form info levels in EnumForms(),GetForm() spoolss tests.Günther Deschner2-0/+67
Guenther
2010-01-31testprogs: also print printer info during GetPrinter spoolss test.Günther Deschner1-0/+4
Guenther
2010-01-25testprogs: print all driver info levels in spoolss testsuite.Günther Deschner3-0/+172
Guenther
2010-01-18testprogs: add tests for GetPrinterData{Ex} and EnumPrinterDataEx.Günther Deschner4-18/+261
Guenther
2010-01-18testprogs: add tests for GetForm.Günther Deschner1-0/+48
Guenther
2010-01-18testprogs: pass down LPPRINTER_DEFAULTS in spoolss test.Günther Deschner1-8/+20
Guenther
2010-01-12testprogs: remove unused test_EachDriver from spoolss test.Günther Deschner1-20/+0
Guenther
2010-01-12testprogs: add EnumPrinterKey test to spoolss test.Günther Deschner4-4/+62
Guenther
2010-01-11testprogs: fix driver levels in spoolss test.Günther Deschner1-4/+4
Guenther
2010-01-11testprogs: test each printer, do not abort after first failure.Günther Deschner1-3/+3
Guenther
2010-01-11testprogs: fix EnumPrintProcessorDatatypes spoolss test.Günther Deschner1-5/+4
Guenther
2010-01-11testprogs: add more error codes to spoolss test.Günther Deschner1-0/+4
Guenther
2010-01-08testprogs: add support for "print" option in win32 spoolss torture test.Günther Deschner6-4/+666
Guenther
2010-01-08testprogs: pass down architecture in spoolss test.Günther Deschner1-28/+37
Guenther
2010-01-08testprogs: add win32 spoolss testsuite.Günther Deschner11-0/+1277
Guenther
2010-01-04blackbox/test_export_keytab.sh: correctly remove temporary filesStefan Metzmacher1-1/+1
metze
2010-01-04blackbox/test_export_keytab.sh: use VALGRIND for samba4kinitStefan Metzmacher1-2/+2
metze
2009-12-31s4-testpasswords: fixed CONFIG and quotingAndrew Tridgell1-17/+22
Need to pass correct config file to tests
2009-12-31net: Move 'newuser' to 'net newuser'Jelmer Vernooij2-2/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-31net: Fix tests and documentation of setexpiry.Jelmer Vernooij2-2/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-31net: Move 'setpassword' to 'net setpassword'.Jelmer Vernooij1-3/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-31blackbox.passwords: Use convenience variable for net.Jelmer Vernooij1-5/+5
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-31Fix commands in password tests.Jelmer Vernooij1-6/+6
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-09-20blackbox/test_ldb.sh: test searching using OIDs instead of names for ↵Stefan Metzmacher1-0/+16
attributes and classes metze
2009-09-10s4:pwsettings: Added blackbox tests.Andrew Kroeger1-0/+28
The added tests include basic validation that the script runs and accepts all custom arguments. The tests also verify changes to the password complexity, minimum password length, and minimum password length settings.
2009-09-10testprogs:subunit.sh: Add function for expected failures.Andrew Kroeger1-0/+15
The testit_expect_failure() function is like the testit() function, with reversed error detection logic. This reversal only affects the pass/fail logic and logging - the original return code from the command is still returned to the calling script.
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-07-27s4:kerberos Add test to show that we actually export the keytabAndrew Bartlett1-0/+67
While it is hard to prove it is correct, at least the new 'nettestuser' principal and the Administrator principal are correct. We had to fix the case of 'Administrator' in the selftest code to match the DB, as the keytab lookup is case sensitive. 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