Age | Commit message (Collapse) | Author | Files | Lines |
|
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)
|
|
(This used to be commit 716345fd38dfd8c6e610fbd6ba84c4f33e3edbb9)
|
|
(This used to be commit 05a110123df2372418e2ef2fd8f269b92054069c)
|
|
(This used to be commit 625ea49a95cbdb507ea5b191f75ffa27e25cdb90)
|
|
(This used to be commit af6484f78d273407dd9b264bc4adb33497eee48b)
|
|
(This used to be commit 3f24136b56d281580410bf69841c6dece5508d17)
|
|
(This used to be commit 16382999bebf158996e16219e7053ef4821550c1)
|
|
Andrew Bartlett
(This used to be commit 89053bc564f1d736da48fbe20e7f8f244b0c67fa)
|
|
(This used to be commit 9ad2de6e9900aadc3171c5376972ce4d3ed3fb24)
|
|
blackbox.smbclient test.
(This used to be commit 1d703dcf3a888e4c8301a4f53a289ff18bf89f75)
|
|
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)
|
|
(This used to be commit 8616bfa0ae5762ae45b8339c84b8e4ae499f5897)
|
|
(This used to be commit aeb2e714f22abe68f89218967a55d7abd2d04ae1)
|
|
Andrew Bartlett
(This used to be commit 9f45b5553a53d2e8a1c2643bf58fb90db8217b66)
|
|
(This used to be commit c3a138627487ec0ed5a4c4c4457df35275f4cada)
|
|
to test the behaviour of objectCategory=user searches.
It turns out (thanks to a hint on
http://blog.joeware.net/2005/12/08/147/) that objectCategory=user maps
into objectCategory=CN=Person,... (by the defaultObjectCategory of
that objectclass).
Simplify the entryUUID module by using the fact that we now set the DN
as the canoncical form of objectCategory.
Andrew Bartlett
(This used to be commit b474be9507df51982a604289215bb1868124fc24)
|
|
(This used to be commit f4ff4c5f61189c71ab60a5455272302add9e1d97)
|
|
(This used to be commit 18ea767d396bf6d956fd83ee3d2687d98897ae36)
|
|
Andrew Bartlett
(This used to be commit 4fab53432a3599cf62a7ebef977bc33ef5a5f734)
|
|
consistantly report errors. (Some were being lost due to the "echo
foo | cmd" calling convention).
Andrew Bartlett
(This used to be commit d0a994d0ce7b1d4a33bbca5348c2da868401971f)
|
|
blackbox tests: increase test coverage by running more options.
Andrew Bartlett
(This used to be commit 46abf82675ea0ce06a162be5d733da0c236880c2)
|
|
(This used to be commit a6293ab5cb31a73f23adebacc68d2d383fa62e22)
|
|
(This used to be commit b0cbf169366e3624f4d8c2b1a65e478e72734871)
|
|
Andrew Bartlett
(This used to be commit 7f27bfc3568bc09b2b9cb9ba03aae55a03e08f9a)
|
|
machine account.
Andrew Bartlett
(This used to be commit 16a2bb87a80ffb921f267492f453eb3457666315)
|
|
private dir to contain a valid machine account.
It isn't really valid it use the DC's account any more, so extend this
script to also join the domain. This nicely tests out some previously
untested code too!
Andrew Bartlett
(This used to be commit 12f4e6033ed11a010211a4295424588f44f7e5e0)
|
|
few authentication tests. Now that the tests correctly 'fail', I was
able to fix the credentials subsystem to honour USER and PASSWD.
To get --machine-pass working, I needed ldb to always load it's static
modules, so I put this in ldb_connect().
Andrew Bartlett
(This used to be commit 3430d8c072407a1c33c32229095fc9db2142b6fa)
|
|
This changes the main selftest code to be in perl rather than in shell script.
The selftest script is now no longer a black box but a regular executable that takes
--help.
This adds the following features:
* "make test TESTS=foo" will run only the tests that match the regex "foo"
* ability to deal with expected failures. the suite will not warn about tests
that fail and are known to fail, but will warn about other failing tests and
tests that are succeeding tests but incorrectly marked as failing.
* ability to print a summary with all failures at the end of the run
It also opens up the way to the following features, which I hope to implement later:
* "environments", for example having a complete domains with DCs and domain members
in a testenvironment
* only set up smbd if necessary (not when running LOCAL tests, for example)
* different mktestsetup scripts per target. except for the mktestsetup script, we can
use the same infrastructure for samba 3 or windows.
(This used to be commit 38f867880beb40c691e9713f854426031310629c)
|
|
be used for other selftest implementations (in particular the perl one I've been working on).
(This used to be commit aa29907327a91a64c769b1f2712f553e13964418)
|
|
recipe.
(This used to be commit b975ce3a471d29fb2c0691c65993f9dfeb066d79)
|
|
--authentication-file options to smbclient.
Andrew Bartlett
(This used to be commit f85e57a71e639c63d89dd2d4c11632e36d0e8ba6)
|
|
(This used to be commit 96ac1c62eef29e8c8c1df9719b6785134efe525c)
|
|
testsuite.
Create separate directory for blackbox tests.
(This used to be commit 7e6357f21350d264ebedabd34f2b8f42fc0427ff)
|