summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21806: I've been working over the last week to fix up the LDAP backend forAndrew Bartlett6-89/+149
Samba4. This only broke on global catalog queries, which turned out to be due to changes in the partitions module that metze needed for his DRSUAPI work. I've reworked partitions.c to always include the 'problematic' control, and therefore demonstrated that this is the issue. This ensures consistency, and should help with finding issues like this in future. As this control (DSDB_CONTROL_CURRENT_PARTITION_OID) is not intended to be linearised, I've added logic to allow it to be skipped when creating network packets. I've likewise make our LDAP server skip unknown controls, when marked 'not critical' on it's input, rather than just dropping the entire request. I need some help to generate a correct error packet when it is marked critical. Further work could perhaps be to have the ldap_encode routine return a textual description of what failed to encode, as that would have saved me a lot of time... Andrew Bartlett (This used to be commit eef710668f91d1bbaa2d834d9e653e11c8aac817)
2007-10-10r21805: Add PAC_TYPE_CONSTRAINED_DELEGATION to the PAC_TYPE enum.Andrew Bartlett1-1/+2
(This used to be commit 6fb3b4be10d204bec61a1fddd1c50c1c24d52ebf)
2007-10-10r21799: tell roken.h.in to not generate prototypes for setenv() and unsetenv()Stefan Metzmacher1-0/+8
metze (This used to be commit 974eb5eb6837685ee93efea814544cc7051c070e)
2007-10-10r21798: unsetenv() returns void on some platforms (BSD)Stefan Metzmacher1-9/+1
metze (This used to be commit 9cdb9f1cee9af47e42e11357397b828b86632805)
2007-10-10r21797: remove the key directly from the environ arrayStefan Metzmacher1-25/+17
inspired by: http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/linux-ha/replace/unsetenv.c?rev=1.4&view=auto metze (This used to be commit 8787525e518805f8445a376dc4964921598cb2e0)
2007-10-10r21796: check if unsetenv() works on an non-existing keyStefan Metzmacher1-0/+2
metze (This used to be commit c6b4f2d1518c989cacdc8869df89f02dc54857d7)
2007-10-10r21795: fix the prototype of unsetenv()...Stefan Metzmacher1-1/+1
metze (This used to be commit 2952c20b779fc6c797e2ab33ba3bda19cbb7a00d)
2007-10-10r21794: add setenv()/unsetenv() testsuiteStefan Metzmacher1-1/+61
metze (This used to be commit 3df206ddfadea5bf39a22e8c4c262764c79d302c)
2007-10-10r21793: add replacement for unsetenv()Stefan Metzmacher4-1/+42
metze (This used to be commit d6de7f2cda70cfd55f0f7fbb9f3b93a5a58c6f51)
2007-10-10r21791: This test is still just as valid without as much CPU time wasted.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 3549785700cb412fae0e58c530faa40683952d55)
2007-10-10r21790: Setup the socket_wrapper_dir when we set the environment variable.Andrew Bartlett2-8/+8
Andrew Bartlett (This used to be commit 5c07dbd2487c5c23355ad0e3db6e9f9caf8ce145)
2007-10-10r21789: We do actually need this, to get a contextCSN attribute, which we needAndrew Bartlett1-0/+6
for USN support. Andrew Bartlett (This used to be commit 5f363502434e88c16920b219d7a854a22fee658f)
2007-10-10r21773: fix typo orginating -> originatingStefan Metzmacher4-32/+32
and use the struct member names in all cases metze (This used to be commit c543ee57454d006c545e3e9e20c9ac0114081d3d)
2007-10-10r21772: add DS_BEHAVIOR_WIN2003_INTERIM constantStefan Metzmacher1-2/+3
metze (This used to be commit 59fffa7ba148a082d0cf13226d0577b3fcd7b5ad)
2007-10-10r21771: We just don't need to test this on more than one transport.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit c55edacba5f45a756a01baa1bf6401b4815bada8)
2007-10-10r21761: - Give more detail on LDAP client library failures (make it clearAndrew Bartlett4-9/+18
where the error is from) - Make default error string more consistant Andrew Bartlett (This used to be commit 7f115579d20a3112efd11444fafcbf78698fc9a1)
2007-10-10r21760: Try to pin down were some errors are coming from. Ensure we at leastAndrew Bartlett1-8/+25
name the module. Andrew Bartlett (This used to be commit 2e85b1583b3da95db9b5b724b38748ff7d1f9efd)
2007-10-10r21751: These 2 tests pass for me, so add them to the standard test script.Andrew Bartlett4-5/+5
Andrew Bartlett (This used to be commit 8a5b3067e9ec8d7810687cd0a4909c02bdb86d15)
2007-10-10r21746: We don't link in this file any more.Andrew Bartlett1-359/+0
(This used to be commit 123ae858c77c2507bdac6a93be1e2932a3fd7375)
2007-10-10r21745: indentAndrew Bartlett1-1/+1
(This used to be commit 7841b299061ec8f4f6a14720dbe4fa7108313848)
2007-10-10r21744: Test more talloc failure cases.Andrew Bartlett1-1/+6
Andrew Bartlett (This used to be commit ddf7354986a800455b6f55c2fdbeb8bb39381716)
2007-10-10r21743: Always use the 'escaped' LDAPI path.Andrew Bartlett2-5/+13
Wait around for the server to start, so we don't try to contact it during it's starup phase. Andrew Bartlett (This used to be commit f484b0a924809dd8c9861ade8d184fb44b3b5e1f)
2007-10-10r21742: reenable the smbclient test now that the d_printf bug is fixedAndrew Tridgell1-3/+1
(This used to be commit f483f5b26a702cffb72a46e0f172d82c18471e26)
2007-10-10r21741: Like starting smbd, ensure we have acutally started slapd, and it isAndrew Bartlett2-4/+2
listening, before we continue. Andrew Bartlett (This used to be commit 171540e06a3eb42320238ad81bc9993e86137dc7)
2007-10-10r21740: this fixes the real cause of the large log files we had. The problemAndrew Tridgell1-0/+17
was we were not checking the result of a convert_string() call, and it was giving -1. We then passed -1 to fwrite() on stdout, which on aix and macosx wrote all of available memory to stdout :) To fix this, replace non-printing chars with ? in d_printf if the string cannot be converted (This used to be commit d20102d363f4b9214e29296ad8ec45c8d95614b5)
2007-10-10r21739: Make it easy to change the log level for the slapd processes, and haveAndrew Bartlett3-3/+7
the logs go to a file. Andrew Bartlett (This used to be commit 9aaa19319718a5a8fcc1df066cbce67eaa3431d8)
2007-10-10r21736: Fix the smbclient test to do something more interesting with the lastAndrew Bartlett4-4/+8
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)
2007-10-10r21735: skip the smbclient test until jelmer can take a look at it. TheAndrew Tridgell1-1/+3
current test makes no sense with the new test system. For example, it does "mkdir bla" then "cd bla" then "cd ..", but it now does these as separate smbclient commands, which makes no sense at all. It even seems to try to run them in parallel??? The test fails (segfault, plus lots of errors), but gets reported as a success (This used to be commit 9e3bbdee50a5372fa79c493c1cf1c378f1068467)
2007-10-10r21733: Merge testenv back into core selftest.plJelmer Vernooij3-60/+34
(This used to be commit 4b78ed3a606b6697512f1e4e9b9c6c93816e71f8)
2007-10-10r21732: Use smbtorture for enumerating tests.Jelmer Vernooij2-4/+2
(This used to be commit f6aa921521ab6b091823643b7df30d2f5af620ab)
2007-10-10r21730: Reintroduce summary for testenv, remove old (no longer used) file.Jelmer Vernooij2-12/+11
(This used to be commit 0140aa5fd9e634620d42b8c4cdd4f43c6b681102)
2007-10-10r21729: Some more testsJelmer Vernooij2-6/+29
(This used to be commit d2baa8218cf504d6631d610f9fd393ad8c61574c)
2007-10-10r21728: Perhaps we don't need this on recent OpenLDAP servers. This overlayAndrew Bartlett1-4/+0
is depricated. Andrew Bartlett (This used to be commit 32e39b377ac3b3592c226428728c4238f6c9f8f0)
2007-10-10r21727: Walk some more of the error branches in the ChangePasswordUser server.Andrew Bartlett1-0/+100
Andrew (This used to be commit c1ee06703ac09708a8ff10a641b593362f1bd309)
2007-10-10r21722: Add the dead record functionality presented on ↵Volker Lendecke4-6/+187
samba-technical@samba.org. If you do a tdb_set_max_dead(tdb, n), then for this tdb a delete operation will only mark a record as dead and re-use it if a new record is created. The parameter n allows for at most n dead records per hash chain. If this number is exceeded, all dead records are put on the central freelist. Volker (This used to be commit 98a27ab28a3cd554e370a9a0e3652f4dea8749e9)
2007-10-10r21721: Push the 'Success! Your new directory server instance was created'Andrew Bartlett1-1/+1
message to stderr. Andrew Bartlett (This used to be commit 0b8b3f66716a8602438d9e9268c25ea14c2f564f)
2007-10-10r21720: Try to make 'TEST_LDAP=yes make test' work again. These recentAndrew Bartlett5-15/+15
changes seem to have been lost in the merge, and some variables were not yet exported. Andrew Bartlett (This used to be commit ee9d9fb6c0bd3d4d01dea771025536ff83057072)
2007-10-10r21719: Try to cover more of the server-side password processing.Andrew Bartlett1-16/+149
Don't just exit the test with 'return True', actually process the result. Turn off password complexity checking for the password length test. Andrew Bartlett (This used to be commit 1a7635baa701c6268eebd84dd0dc187379c44e6e)
2007-10-10r21716: Report status in a way the build farm recognizes.Jelmer Vernooij1-0/+4
(This used to be commit 8d775e87b58d3f6d87338197728530c94b8c841b)
2007-10-10r21713: Redirect stderr output to stdout.Jelmer Vernooij1-1/+1
(This used to be commit a5000b286d6ffb847edf47404f82ff93173208c4)
2007-10-10r21712: Run tdb stress test.Jelmer Vernooij1-0/+2
(This used to be commit e480beb9569421da103aafb440eb687daa2359f3)
2007-10-10r21710: Add client support for the UNIX_INFO2 info level in the QueryFile,James Peach11-29/+688
QueryPath and FindFirst calls. Add a new torture test to verify the server side. (This used to be commit 7f56da2d1fa0718e5282bb4aea7d9a63a62f0bc7)
2007-10-10r21709: Add a list of tests that should be skipped rather than ad-hoc test ↵Jelmer Vernooij5-45/+57
skipping in various places. (This used to be commit 01befd52111b8c183d78f9e0d80065fe0825b87c)
2007-10-10r21707: Finally merge my (long-living) perlselftest branch.Jelmer Vernooij25-574/+744
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)
2007-10-10r21701: Fix ejs tests.Jelmer Vernooij2-2/+2
(This used to be commit e4cf8f1dea9063b9b83e629ea0e7a116bf4fc5f7)
2007-10-10r21700: Run mktestsetup as an external program. This guarantees that it can ↵Jelmer Vernooij4-18/+17
be used for other selftest implementations (in particular the perl one I've been working on). (This used to be commit aa29907327a91a64c769b1f2712f553e13964418)
2007-10-10r21699: Because TALLOC_CTX is a void*, I didn't get a compiler warning aboutAndrew Bartlett1-1/+1
this incorrect argument. This also fixes the server-side valgrind issue, but we need to chase down the real issue. Andrew Bartlett (This used to be commit a0c78a75acb9bc581dd8d2688aa91d7b59549c3e)
2007-10-10r21698: Check for talloc failures.Andrew Bartlett1-0/+6
Andrew Bartlett (This used to be commit c9eb5bf19a702af32a4e4f109a27e4076303efdc)
2007-10-10r21697: Try to cover the 'bad session key' codepaths too.Andrew Bartlett1-0/+54
Andrew Bartlett (This used to be commit 33cfe1ca221de9ef9dec264772fb299125c39447)
2007-10-10r21696: Run the RPC-COUNTCALLS test to try and walk some of the NDR layer forAndrew Bartlett2-31/+81
routines for which we don't have any tests. Andrew Bartlett (This used to be commit e5b9bdf03729a913f3c6cc7709abcbdf50899562)