summaryrefslogtreecommitdiffstats
path: root/testprogs
Commit message (Collapse)AuthorAgeFilesLines
* s4:heimdal Allow KRB5_NT_ENTERPRISE names in all DB lookupsAndrew Bartlett2009-06-301-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
* s4: Add tests and 'must change password' flags in setpassword and newuserAndrew Bartlett2009-06-181-0/+121
| | | | | | | In particular, ensure that we can acutally change the password under these circumstances. Andrew Bartlett
* s4:testprogs Don't specify a username/password when checking the ccacheAndrew Bartlett2009-06-181-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
* s4:blackbox/test_ldb: make use of the $VALGRIND envvarStefan Metzmacher2009-03-041-1/+1
| | | | metze
* testprogs/win32: add an option to trigger small reads in npecho_client2.cStefan Metzmacher2009-02-091-7/+76
| | | | metze
* testprogs/win32: make it possible to run in byte or message mode in ↵Stefan Metzmacher2009-02-092-5/+26
| | | | | | npecho_server2 metze
* testprogs/win32: add npecho_*2.cStefan Metzmacher2009-02-094-11/+127
| | | | | | This exlores some details of message type named pipes. metze
* s4:selftest: avoid hardcoded pathes in blackbox testsStefan Metzmacher2009-02-032-31/+36
| | | | metze
* s4:blackbox: don't remove newlines in the subunit failure outputStefan Metzmacher2009-01-081-1/+1
| | | | metze
* s4:testprogs: improve extended dn testing of the ldb blackbox testsAndrew Bartlett2008-12-171-6/+8
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Actually test the kpasswd serverAndrew Bartlett2008-10-201-3/+41
| | | | | | | This uses kpasswd operated as a blackbox, assisted by the newly imported rkpty tool. Andrew Bartlett
* testprogs/win32/midltests: add missing MakefileStefan Metzmacher2008-10-161-0/+27
| | | | metze
* s4:blackbox/test_ldb: test search by <GUID=...> and <SID=...>Stefan Metzmacher2008-10-061-0/+25
| | | | metze
* fixed the ldb blackbox test to work with non-bourne shells (as neededAndrew Tridgell2008-10-031-7/+7
| | | | | | by ubuntu) fixed spelling of 'wellknown'
* s4:blackblox/test_ldb: test searches via wellknownObjectsStefan Metzmacher2008-10-021-0/+62
| | | | metze
* Remove remaining obsolete EJS tests.Jelmer Vernooij2008-09-212-1286/+0
|
* Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejsJelmer Vernooij2008-09-191-0/+8
|\
| * Make sure modify operations succeed.Jelmer Vernooij2008-09-191-0/+8
| |
* | Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejsJelmer Vernooij2008-09-186-110/+0
|\| | | | | | | | | Conflicts: source4/main.mk
| * Move torture/ blackbox tests closer to code they're testing.Jelmer Vernooij2008-09-163-90/+0
| |
| * Move ndrdump tests closer to the code they test.Jelmer Vernooij2008-09-164-61/+0
| |
* | Remove minschema js tests.Jelmer Vernooij2008-09-163-1230/+0
| |
* | Remove remaining JavaScript code.Jelmer Vernooij2008-09-162-186/+0
|/
* blackbox: fix source => source4Stefan Metzmacher2008-09-146-7/+7
| | | | metze
* Fix the build on Win32, and use NEGOTIATE security (to allow kerberos)Andrew Bartlett2008-08-272-2/+2
| | | | (This used to be commit f0bde093d76fe9d17a0709cf01fa7b70f1985c6b)
* Generate the subSchema in cn=AggregateAndrew Bartlett2008-08-151-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)
* Move blackbox tests closer to what they're testing.Jelmer Vernooij2008-06-263-426/+0
| | | | (This used to be commit c9b2e2aa861ccc01e5d92cfe468be1f6324ed294)
* Remove old ldap.js test, we have replicated it in python now.Andrew Bartlett2008-06-191-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)
* Missed these on the last commitJim McDonough2008-06-121-3/+3
| | | | (This used to be commit 0e8f946ed02a6d2d9469f9ccab5f3342b2b80725)
* Initial automated wintest.Jim McDonough2008-06-122-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)
* Align the Python and EJS ldap tests.Andrew Bartlett2008-06-031-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)
* Remove unused EJS net bindings.Jelmer Vernooij2008-05-263-177/+0
| | | | (This used to be commit 3923414849c5a3b14379e2cd3e61d862150800a6)
* Remove unused scripts.Jelmer Vernooij2008-05-262-47/+0
| | | | (This used to be commit 3d22b72bb780065059f45ebeb6025d1bceb1f5b6)
* Remove unused echo ejs script.Jelmer Vernooij2008-05-231-235/+0
| | | | (This used to be commit 3a6b009d505503b2eb22acadeaac485151ed0173)
* Convert samr test to python.Jelmer Vernooij2008-05-231-126/+0
| | | | (This used to be commit 88d473b202e82b462ef82ffdeb4f1710918ffda5)
* Remove unused EJS testprogs.Jelmer Vernooij2008-05-232-38/+0
| | | | (This used to be commit e14c9302009b371f385612d2fd500773d238006a)
* subunit.sh: Properly capture and pass on the command output.Andrew Kroeger2008-05-211-2/+2
| | | | | | | | | | | | Previously, the output from $cmdline was never captured. In case of a failure, there was no output being passed to the subunit_fail_test() function, but that function contains a call to "cat -". This caused the script to hang indefinitely waiting for input. We now capture $cmdline output (including mapping stderr to stdout) using backticks, and then pipe that output to the subunit_fail_test() if there is a failure. (This used to be commit c0234d13192c1871971b45121249395ef15c5ae5)
* Fix reference to removed smbpython.Jelmer Vernooij2008-05-211-1/+1
| | | | (This used to be commit 58f956dc4591137489cba16f360f2d24d91dadc1)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett2008-04-1610-120/+81
|\ | | | | | | (This used to be commit 18dd8120cc35fe3d1cd4455c1f6a32b503274d97)
| * Use the subunit shell library.Jelmer Vernooij2008-04-169-120/+14
| | | | | | | | (This used to be commit 49367e044e3ab94639ab3209bfd06c6286b44b59)
| * Use library for subunit test functions.Jelmer Vernooij2008-04-161-0/+67
| | | | | | | | (This used to be commit 690924dc7f43b69b9c4cfc1dd0c9c6e83d333518)
* | Fix wbinfo --trusted-domains.Andrew Bartlett2008-04-161-3/+2
|/ | | | | | | | The problems here were that we did not bind to the LSA pipe, and we did not consider it possible to have 0 trusted domains. Andrew Bartlett (This used to be commit 86694d429d62940882ac9b7af83b3e7d00e67c5a)
* Fix -r test, knownfailure return code.Jelmer Vernooij2008-04-161-1/+3
| | | | (This used to be commit 4f0954905a902381e66eec74fd30ff7adde232b8)
* Merge branch 'wbinfo-test' of ↵Jelmer Vernooij2008-04-161-0/+199
|\ | | | | | | | | | | git://git.samba.org/kai/samba/kai-work-in-progress into v4-0-selftest (This used to be commit 56340a5fa1b075001bba829686861a59406e1f5d)
| * blackbox: Add many more tests for wbinfoKai Blin2008-04-151-0/+199
| | | | | | | | (This used to be commit 0a2942f6e948177fcc671eae705e6e61644de81c)
* | Fix executable bit on blackbox ndrdump tests.Jelmer Vernooij2008-04-161-0/+0
|/ | | | (This used to be commit a3f0e4151bd87399a8bab9b71bad36bdc53c365c)
* Test password change with 'net password change'.Andrew Bartlett2008-04-151-0/+8
| | | | | Andrew Bartlett (This used to be commit 695cee0349f561625e4bbfa3a142a5e35f7eb4bf)
* Test a few more bits of smbclientAndrew Bartlett2008-04-151-2/+26
| | | | (This used to be commit 24a2409d725953ed5f62c652acc929ee7ddf9a19)
* Add blackbox test for ndrdump, to ensure it at least does notAndrew Bartlett2008-04-153-0/+33
| | | | | | | segfault. Andrew Bartlett (This used to be commit d2fe61a13a8368ceae30c6e7320c8d3d62fbc485)
* Fix and test python scripts and kerberosAndrew Bartlett2008-03-281-10/+18
| | | | | | | | | | | | | | | | | This fixes up the python credentials interface in a number of areas, with the aim of supporting '-k yes' as a command line option. (This enables the use of kerberos). As such, I've had to change the get_credentials call to take a loadparm context, so that the credentials can be initialised correctly. The test_kinit script has been modified to prove that this continues to work, as well as to provide greater code coverage of the kerberos paths. Andrew Bartlett (This used to be commit 727ef40c2b56910028ef3c1092b8eab1bfa6ce63)