summaryrefslogtreecommitdiff
path: root/testprogs
AgeCommit message (Collapse)AuthorFilesLines
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
2009-06-18s4: Add tests and 'must change password' flags in setpassword and newuserAndrew Bartlett1-0/+121
In particular, ensure that we can acutally change the password under these circumstances. 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-03-04s4:blackbox/test_ldb: make use of the $VALGRIND envvarStefan Metzmacher1-1/+1
metze
2009-02-09testprogs/win32: add an option to trigger small reads in npecho_client2.cStefan Metzmacher1-7/+76
metze
2009-02-09testprogs/win32: make it possible to run in byte or message mode in ↵Stefan Metzmacher2-5/+26
npecho_server2 metze
2009-02-09testprogs/win32: add npecho_*2.cStefan Metzmacher4-11/+127
This exlores some details of message type named pipes. metze
2009-02-03s4:selftest: avoid hardcoded pathes in blackbox testsStefan Metzmacher2-31/+36
metze
2009-01-08s4:blackbox: don't remove newlines in the subunit failure outputStefan Metzmacher1-1/+1
metze
2008-12-17s4:testprogs: improve extended dn testing of the ldb blackbox testsAndrew Bartlett1-6/+8
Signed-off-by: Stefan Metzmacher <metze@samba.org>
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-10-16testprogs/win32/midltests: add missing MakefileStefan Metzmacher1-0/+27
metze
2008-10-06s4:blackbox/test_ldb: test search by <GUID=...> and <SID=...>Stefan Metzmacher1-0/+25
metze
2008-10-03fixed the ldb blackbox test to work with non-bourne shells (as neededAndrew Tridgell1-7/+7
by ubuntu) fixed spelling of 'wellknown'
2008-10-02s4:blackblox/test_ldb: test searches via wellknownObjectsStefan Metzmacher1-0/+62
metze
2008-09-21Remove remaining obsolete EJS tests.Jelmer Vernooij2-1286/+0
2008-09-19Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejsJelmer Vernooij1-0/+8
2008-09-19Make sure modify operations succeed.Jelmer Vernooij1-0/+8
2008-09-18Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejsJelmer Vernooij6-110/+0
Conflicts: source4/main.mk
2008-09-16Move torture/ blackbox tests closer to code they're testing.Jelmer Vernooij3-90/+0
2008-09-16Move ndrdump tests closer to the code they test.Jelmer Vernooij4-61/+0
2008-09-16Remove minschema js tests.Jelmer Vernooij3-1230/+0
2008-09-16Remove remaining JavaScript code.Jelmer Vernooij2-186/+0
2008-09-14blackbox: fix source => source4Stefan Metzmacher6-7/+7
metze
2008-08-27Fix the build on Win32, and use NEGOTIATE security (to allow kerberos)Andrew Bartlett2-2/+2
(This used to be commit f0bde093d76fe9d17a0709cf01fa7b70f1985c6b)
2008-08-15Generate the subSchema in cn=AggregateAndrew Bartlett1-40/+1
This reads the schema from the in-memory structure, when the magic attributes are requested. The code is a modified version of that used in the ad2oLschema tool (now shared). The schema_fsmo module handles the insertion of the generated result. As such, this commit also removes these entries from the setup/schema.ldif Metze's previous stub of this functionality is also removed. Andrew Bartlett (This used to be commit c7c32ec7b42bdf0f7b669644516438c71b364e60)
2008-06-26Move blackbox tests closer to what they're testing.Jelmer Vernooij3-426/+0
(This used to be commit c9b2e2aa861ccc01e5d92cfe468be1f6324ed294)
2008-06-19Remove old ldap.js test, we have replicated it in python now.Andrew Bartlett1-1596/+0
This will soon allow the removal of smbscript, once the samba3sam test conversion is complete. Andrew Bartlett (This used to be commit 60c93b9777d9bd7dce89f9024ba767f5404ac72d)
2008-06-12Missed these on the last commitJim McDonough1-3/+3
(This used to be commit 0e8f946ed02a6d2d9469f9ccab5f3342b2b80725)
2008-06-12Initial automated wintest.Jim McDonough2-0/+52
Added a blackbox test which looks for $WINTEST_CONF_DIR, gets configuration vars from *.conf in that dir, disables smbwrapper, and runs RAW-OPEN torture test. Scripts are coming to startup/shutdown vm's. (This used to be commit 74a0a9bb54b2583dde7a5fbadd4d10858de12ee7)
2008-06-03Align the Python and EJS ldap tests.Andrew Bartlett1-4/+4
We should now (need to review and compare them once more) be able to remove ldap.js (and once samba3sam.js is done, smbscript). Andrew Bartlett (This used to be commit f65e43e9456e8e951d172779cba53ab417114b20)
2008-05-26Remove unused EJS net bindings.Jelmer Vernooij3-177/+0
(This used to be commit 3923414849c5a3b14379e2cd3e61d862150800a6)
2008-05-26Remove unused scripts.Jelmer Vernooij2-47/+0
(This used to be commit 3d22b72bb780065059f45ebeb6025d1bceb1f5b6)
2008-05-23Remove unused echo ejs script.Jelmer Vernooij1-235/+0
(This used to be commit 3a6b009d505503b2eb22acadeaac485151ed0173)
2008-05-23Convert samr test to python.Jelmer Vernooij1-126/+0
(This used to be commit 88d473b202e82b462ef82ffdeb4f1710918ffda5)
2008-05-23Remove unused EJS testprogs.Jelmer Vernooij2-38/+0
(This used to be commit e14c9302009b371f385612d2fd500773d238006a)