summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-12-06Revert "Remove rawmemchr calls - found by Ira Cooper. These are ↵Michael Adam1-4/+3
glibc-specific calls, makes us completely non-portable." This reverts commit 82b1702284ba2bb61b23e1f14ce9145d896c36c0. This is not functionally equivalent, needs to be done differently.
2011-12-06s3:registry: replace use of rawmemchr by portable equivalent use of strchr.Michael Adam1-1/+1
2011-12-06knownfail: Mark some ldap.acl search tests as no longer failing.Jelmer Vernooij1-1/+7
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Dec 6 00:43:40 CET 2011 on sn-devel-104
2011-12-05knownfail: Remove working winbind tests.Jelmer Vernooij1-4/+0
2011-12-05knownfail: The resolve async tests work now.Jelmer Vernooij1-1/+0
2011-12-05knownfail: remove now succeeding local.iconv test.Jelmer Vernooij1-1/+0
2011-12-05knownfail: remove base.maximum_allowed test, as it appears to be passing now.Jelmer Vernooij1-1/+0
2011-12-05knownfail: re-add createx test.Jelmer Vernooij1-0/+1
2011-12-05knownfail: Exclude specific list of SMB2 oplock tests.Jelmer Vernooij1-1/+15
2011-12-05knownfail: Remove smb2.compound tests, they pass now.Jelmer Vernooij1-3/+0
2011-12-05Remove samba4.raw.oplock.brl4. Bug 7928 has been fixed.Jelmer Vernooij1-1/+0
2011-12-05knownfail: Match on end-of-file, not end-of-file-access.Jelmer Vernooij1-1/+1
2011-12-05knownfail: samba4.base.createx_access.createx_access works.Jelmer Vernooij1-1/+0
2011-12-05knownfail: LogonControl2Ex works.Jelmer Vernooij1-2/+2
2011-12-05knownfail: Ignore failures for drsuapi tests over other transports as well.Jelmer Vernooij1-2/+2
2011-12-05samba4: Remove rpc-handles mixed-shared tests from known failing list.Jelmer Vernooij1-1/+0
2011-12-05selftest: Re-mark some drsuapi tests as known failing.Jelmer Vernooij1-0/+2
2011-12-05wafsamba: Cope with not everything having a final_libs attribute.Jelmer Vernooij1-1/+1
2011-12-05selftest: Don't mark drsuapi tests as knownfailing.Jelmer Vernooij1-1/+0
2011-12-05wafsamba: Use final_libs list to determine if a target needs private ↵Jelmer Vernooij1-1/+1
libraries, rather than direct dependencies list.
2011-12-05Fix typo.Jelmer Vernooij1-1/+1
2011-12-05selftest: 'samba4.rpc.netlogon on ncalrpc with ↵Jelmer Vernooij1-1/+0
seal,padcheck.netlogon.DsrEnumerateDomainTrusts' now succeeds, remove it from the knownfail list.
2011-12-05GetForestTrustInformation is implemented, remove it from knownfail.Jelmer Vernooij1-1/+0
2011-12-05rap netsessiongetinfo apparently *is* provided by samba3, so don't list it ↵Jelmer Vernooij1-1/+0
in knownfail.
2011-12-05s3-selftest: Don't mark samba3.blackbox.failure.success test as known failing.Jelmer Vernooij1-1/+1
2011-12-05filter-subunit: Fix default for flapping setting.Jelmer Vernooij1-1/+1
2011-12-05selftest: Display unexpected successes and expected failures.Jelmer Vernooij2-15/+52
2011-12-05selftest: Add --flapping argument to filter-subunit.Jelmer Vernooij4-7/+40
2011-12-05selftest: Split out flapping tests into a separate file.Jelmer Vernooij4-11/+21
2011-12-05s4-drs: do not try to contact for replication servers that are not anymore ↵Matthieu Patou1-6/+40
in reps* Servers connection can be removed from repsTo and respFrom either due to DC demote or topology change by the KCC, if a server is removed from the reps* it must be effectivly removed from the list of server that we will contact for getNcChanges and for replicaSync. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Dec 5 19:56:09 CET 2011 on sn-devel-104
2011-12-05s4-resolver: do not use all the A and AAAA records, those after a NS are not ↵Matthieu Patou2-1/+17
the one we want to use
2011-12-05s4-drs: mark WERR_DS_DRA_BUSY as a non error in DsReplicaUpdateRefsMatthieu Patou1-2/+22
2011-12-05s4: add blackbox test for the demote functionMatthieu Patou2-0/+40
2011-12-05samba-tool: refuse to demote if the current DC has still rolesMatthieu Patou1-4/+12
2011-12-05samba-tool: add a function to cleanly demote a DCMatthieu Patou2-2/+257
samba-tool domain demote allow the local DC to properly demote against Microsoft and Samba DC.
2011-12-05s4-python: factorize the definition of get_dsServiceNameMatthieu Patou4-18/+14
2011-12-05s4-python: externalize some function to the drs_utils module so that they ↵Matthieu Patou2-25/+66
can be reused
2011-12-05s4-python: rename conflicting variable with the import optionMatthieu Patou1-2/+2
2011-12-05tdb2: tlist: remove type arg from tlist_top(), tlist_tail()Rusty Russell1-1/+1
With the type canary, it's unnecessary. Though the implementation is a bit more awkward since they longer map directly through to list_top/tail. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit a6b5111fe6948e51114c33aa34785c9fd0d403e6) Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Mon Dec 5 12:13:08 CET 2011 on sn-devel-104
2011-12-05tdb2: display capability information in tdb_summary()Rusty Russell2-25/+145
This means we know they're there in future, and what restrictions they carry. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit b3ca95351517e76b635347b39382b059a66f8388)
2011-12-05tdb2: add a capability list from the header.Rusty Russell9-27/+410
This allows even more extensibility in future: in particular, the top bits of each capability tell us what to do if we don't understand it: fail the open, fail to open for write, or don't try to check the format. tdb_check needs to understand the capability list so it can know to skip over it: each element in the list is prefixed with the type tag and the length. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 35f198de1851a7d57064546b7ced677b6fabee27)
2011-12-05tdb2: provide tdb_layout_write() rather than implying it by new_tdb_layout arg.Rusty Russell4-32/+47
Neater API. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 79d603a5f73dfbb655d8d08f67eecb5f2da542d5)
2011-12-05tdb2: add an internal TDB_CANT_CHECK flag.Rusty Russell2-0/+12
This will be used shortly to indicate that a TDB2 file indicates it cannot be checked. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit e01d795c8964b791def1e9f68c386b350b3a2a84)
2011-12-05tdb2: suppress failtest more than once on mmap.Rusty Russell1-0/+5
Now we test failing mmap, ccanlint -v time has increased from 200 to 330 seconds. Worse, tests no time out on my laptop. Fix this, by preventing us from going down that particular rabbit hole. ccanlint -v now takes 201 seconds again. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit fbae37ba91ec230e34be564084099726cc3a9d47)
2011-12-05tdb2: simplify failtest helper.Rusty Russell2-31/+3
failtest now culls duplicates for itself (and more efficiently), so don't replicate the logic here. It changes things a bit, because failtest uses backtraces rather than a simple call point to find duplicates. Also, fix one case (in run-11-simple-fetch.c) where we simply exited rather than using failtest_exit(). We got away with it before, because we never hit that particular failure pattern. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 3d99c9334fe3067c88772547b9c06acec21616ea)
2011-12-05tdb2: failtest: use a linked list for history, not an array.Rusty Russell2-30/+26
This avoids a silly realloc, but more importantly it gets us closer to being runtime extensible, as each history element can be a different size. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 9571a41e8494f3135557e3ec50c2de856392173e)
2011-12-05tdb2: consolidate testing failtest suppression routines.Rusty Russell8-72/+14
Less cut & paste means less patching as failtest changes. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 1819a36a3e69565bd7b853503fceb846558a45bd)
2011-12-05tdb2: fix intermittant failure in run-50-multiple-freelists-fail.cRusty Russell4-10/+18
layout.c's TDB creation functions were incorrect in case of a hash collision, causing occasional failure. Make it always use the (previously-failing) seed value, and fix it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 60a487d57979e4364e70c837079f3cf083ddc9c7)
2011-12-05lib/ccan/cast: fix warnings with -Wextra (specifically ↵Rusty Russell1-3/+3
-Wmissing-field-initializers) As noted by Jan Engelhardt; libHX fixed this already. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit b2cc1341c9464b6da4654fd3fa0aafe934fba578)
2011-12-05lib/ccan/compiler, ilog: IDEMPOTENT "idempotent does not mean what you think ↵Rusty Russell3-10/+10
it means" Actually, I don't even think it means that. But rename it to something which is sane. Thanks to David Gibson for reporting. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit e764d0a27d2b6748ea7d343042ec7d6dda1f6aae)