summaryrefslogtreecommitdiff
path: root/testprogs
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-05-21subunit.sh: Properly capture and pass on the command output.Andrew Kroeger1-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)
2008-05-21Fix reference to removed smbpython.Jelmer Vernooij1-1/+1
(This used to be commit 58f956dc4591137489cba16f360f2d24d91dadc1)
2008-04-16Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett10-120/+81
(This used to be commit 18dd8120cc35fe3d1cd4455c1f6a32b503274d97)
2008-04-16Fix wbinfo --trusted-domains.Andrew Bartlett1-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)
2008-04-16Use the subunit shell library.Jelmer Vernooij9-120/+14
(This used to be commit 49367e044e3ab94639ab3209bfd06c6286b44b59)
2008-04-16Use library for subunit test functions.Jelmer Vernooij1-0/+67
(This used to be commit 690924dc7f43b69b9c4cfc1dd0c9c6e83d333518)
2008-04-16Fix -r test, knownfailure return code.Jelmer Vernooij1-1/+3
(This used to be commit 4f0954905a902381e66eec74fd30ff7adde232b8)
2008-04-16Merge branch 'wbinfo-test' of ↵Jelmer Vernooij1-0/+199
git://git.samba.org/kai/samba/kai-work-in-progress into v4-0-selftest (This used to be commit 56340a5fa1b075001bba829686861a59406e1f5d)
2008-04-16Fix executable bit on blackbox ndrdump tests.Jelmer Vernooij1-0/+0
(This used to be commit a3f0e4151bd87399a8bab9b71bad36bdc53c365c)
2008-04-15blackbox: Add many more tests for wbinfoKai Blin1-0/+199
(This used to be commit 0a2942f6e948177fcc671eae705e6e61644de81c)
2008-04-15Test password change with 'net password change'.Andrew Bartlett1-0/+8
Andrew Bartlett (This used to be commit 695cee0349f561625e4bbfa3a142a5e35f7eb4bf)
2008-04-15Test a few more bits of smbclientAndrew Bartlett1-2/+26
(This used to be commit 24a2409d725953ed5f62c652acc929ee7ddf9a19)
2008-04-15Add blackbox test for ndrdump, to ensure it at least does notAndrew Bartlett3-0/+33
segfault. Andrew Bartlett (This used to be commit d2fe61a13a8368ceae30c6e7320c8d3d62fbc485)
2008-03-28Fix and test python scripts and kerberosAndrew Bartlett1-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)
2008-03-19Extend the ldap.js test to prove faults with the LDAP backend.Andrew Bartlett1-5/+23
Try to provide more information to see why OpenLDAP isn't quite up to being a Samba4 Backend. Andrew Bartlett (This used to be commit 89458c7d8b46cf5cf6c0dc514bb7e658f48c2adf)
2008-03-04Don't hardcode objectCategory into the schema, even in the schema.Andrew Bartlett1-3/+0
We now load the schema early enough that we can generate this too! Andrew Bartlett (This used to be commit 1adc74c65a3219fc110964ccdf9a9d60a84831da)
2008-02-28Extend the ldap.js testAndrew Bartlett1-10/+158
Now we verify sAMAccountType and userAccountControl, as well as rename and DN mismatch semantics. Andrew Bartlett (This used to be commit 0a5fa41dd7ed76e4848fe4a779edff2a12e8ea67)
2008-02-15added blackbox testing of gentestAndrew Tridgell1-0/+47
(This used to be commit 716345fd38dfd8c6e610fbd6ba84c4f33e3edbb9)
2008-02-15added a blackbox test for masktestAndrew Tridgell1-0/+41
(This used to be commit 05a110123df2372418e2ef2fd8f269b92054069c)
2008-02-15converted locktest to use popt and cmdline utility codeAndrew Tridgell1-4/+5
(This used to be commit 625ea49a95cbdb507ea5b191f75ffa27e25cdb90)
2008-02-15added blackbox testing for locktestAndrew Tridgell1-0/+40
(This used to be commit af6484f78d273407dd9b264bc4adb33497eee48b)
2008-02-12Reintroduce samba3sam EJS test, at least until the Python test is ready.Jelmer Vernooij1-0/+1255
(This used to be commit 13deb25214b2711836e243a87166b63a4a87270b)
2008-02-11Remove tests for Samba 3 EJS code.Jelmer Vernooij1-1255/+0
(This used to be commit 7aff2ddd8ca1ff68fc704fdb139d81d6daa51115)
2008-02-09Move nmblookup blackbox test closer to the code it tests.Jelmer Vernooij1-36/+0
(This used to be commit 3f24136b56d281580410bf69841c6dece5508d17)
2008-02-09A couple more ipsec classes for the schema.Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit 41309dc8627e707cee226a76238b9a70d417a345)
2008-02-09From a request from Peter Huang, include IPsec sechema.Andrew Bartlett1-0/+3
(We may need to include more defaults in the template, but I want to start small for now). Andrew Bartlett (This used to be commit a466dda118f785bf784548106637577a5e25a30e)
2008-02-08Put temporary test files in test directory.Jelmer Vernooij1-1/+1
(This used to be commit 16382999bebf158996e16219e7053ef4821550c1)
2008-02-06win32-tests: add a very usefull w32 programm to explore midl featuresStefan Metzmacher8-0/+248
You have to define idl, call the client function and add a server implementation. Then you need to compile midltests.exe and run it, it will dump the generated NDR on the screen. metze (This used to be commit dc15c8833599a1cb8f51c2b5390925410cbf4e12)
2008-01-23Make ranged results tests in ldap.js easier to debug.Andrew Bartlett1-9/+9
This adds some extra information to the failure message, to chase down which test is failing. Andrew Bartlett (This used to be commit 281bc76d3d7605f18ee914cf01dbf09062f5a5f0)
2008-01-16Test the behaviour of mixed domain_scope and search_options controls.Andrew Bartlett1-0/+7
Andrew Bartlett (This used to be commit 89053bc564f1d736da48fbe20e7f8f244b0c67fa)
2008-01-16Make ldap.js test easier to re-run in failure cases, by deleting moreAndrew Bartlett1-1/+6
things that we will create later. Andrew Bartlett (This used to be commit 9b47b551a3762590fefa5308310d91c6d8b378e5)
2008-01-13Remove accidently committed debugging statement.Jelmer Vernooij1-2/+0
(This used to be commit 9ad2de6e9900aadc3171c5376972ce4d3ed3fb24)
2008-01-13tests.blackbox: Avoid my local Kerberos setup from interfering with the ↵Jelmer Vernooij1-1/+3
blackbox.smbclient test. (This used to be commit 1d703dcf3a888e4c8301a4f53a289ff18bf89f75)
2007-12-21r26488: Implement tests for the ranged_results module.Andrew Bartlett1-8/+152
Untested code is broken code, so rework the module until it passes... It turns out that AD puts search attributes onto the wire in the reverse order to what Samba does. This complicates exact value matching, so this is skipped for now. Andrew Bartlett (This used to be commit 91bcb60d31d54e52128d5bd107df4ceb87389889)
2007-12-21r26479: Further test behaviour of 'attribute or value exists'.Andrew Bartlett1-0/+27
Andrew Bartlett (This used to be commit 11c153163c359fd07402daa61b93872387e12568)
2007-12-21r26420: Don't print a blow-by-blow description of every search we do, just theAndrew Bartlett1-17/+18
errors that occour. Andrew Bartlett (This used to be commit bf5b2f467f57528aa64d4af0e68ef2dffd00f8f6)
2007-12-21r26419: Add a module to implement 'ambigious name resolution' by munging theAndrew Bartlett1-0/+154
incoming LDAP filter. Warning: Any anr search will perform a full index search. Untill ldb gets substring indexes, this is unavoidable. Also implement a testsutie to show we match AD behaviour for this important extension (used in the Active Directory Users and Computers MMC plugin, as a genereral 'find'). This will also be useful to OpenChange, as their server needs to implement this. Andrew Bartlett (This used to be commit 044b50947254ccd516c21cb156ab60ab9e3a582d)
2007-12-21r26192: Handle, test and implement the style of extended_dn requiest that ↵Andrew Bartlett1-0/+10
MMC uses. It appears that the control value is optional, implying type 0 responses. Failing to parse this was causing LDAP disconnects with 'unavailable critical extension'. Andrew Bartlett (This used to be commit 833dfc2f2af84c45f954e428c9ea6babf100ba92)
2007-12-21r26182: Extend our linked attribute testsuite to cover many more possibleAndrew Bartlett1-10/+129
modifications, and then extend our implementation to match. Andrew Bartlett (This used to be commit 65d17f0ad7ead438333abcccb0bd56b038ffb88e)
2007-12-21r26140: Add a new test for searches by distinguieshedName and dn, andAndrew Bartlett1-0/+22
implement these in the simple ldap mapping module. We still don't pass this test, because we must get linked attributes into OpenLDAP. Andrew Bartlett (This used to be commit d41f34e979bb119f71ab3cc2fdb3c08e4b92849c)
2007-12-21r25961: Add new tests to verify basedn validation in LDAP searches.Andrew Bartlett1-3/+40
Andrew Bartlett (This used to be commit e178df4a180e7ce3eba1a14fb45b2fcc582f06c3)
2007-12-21r25948: Fix up the samba3sam test (which is very fragile) to work with the newAndrew Bartlett1-12/+42
restrictions imposed by the samldb module. This module is worth keeping, because when we go back to do more extensive backend mapping, the testing of this module shows it is still possible. Andrew Bartlett (This used to be commit a10d2554dc1f9b57ce2a98ea20969b3b3c8aec53)
2007-12-21r25891: Test that we get the correct return value when we attempt to referenceAndrew Bartlett1-17/+29
invalid entries with a linked attribute. Make Samba4 pass that test, by fixing a silly bug in the linked_attributes module. (By passing down the 'original' request structure, tdb would override our handle, and therefore we would never be called for the 'wait', which collects the errors). Fix up the provision templates to handle the newly required referential integrity. Andrew Bartlett (This used to be commit 0377d85bbdcb2c4f110b0519005f0d1d10bc0c0b)