Jelmer Vernooij
ff83c689cb
r25004: Avoid talloc_autofree_context() when possible.
...
(This used to be commit 79669d28a3
)
2007-10-10 15:05:30 -05:00
Jelmer Vernooij
cd962355ab
r25000: Fix some more C++ compatibility warnings.
...
(This used to be commit 08bb1ef643
)
2007-10-10 15:05:27 -05:00
Jelmer Vernooij
d05d5da1e8
r24846: Use metadata about dangerous tests.
...
(This used to be commit f914b828ff
)
2007-10-10 15:03:18 -05:00
Jelmer Vernooij
2fefa818a9
r24728: Use more stock torture functions.
...
(This used to be commit da3a7ee407
)
2007-10-10 15:02:58 -05:00
Jelmer Vernooij
d981c69a18
r24670: Use torture functions for settings.
...
(This used to be commit a690667630
)
2007-10-10 15:02:36 -05:00
Andrew Bartlett
d57cb82663
r23811: Try to ensure struct nbt_name is always pre-declared. Might fix the
...
build on aico.
Andrew Bartlett
(This used to be commit 5609bd9d21
)
2007-10-10 14:59:21 -05:00
Andrew Bartlett
a87dea2a08
r23810: Make things static, and remove unsued code.
...
This includes some of the original ildap ldap client API. ldb
provides a much easier abstraction on this to use, and doesn't use
these functions.
Andrew Bartlett
(This used to be commit dc27a7e41c
)
2007-10-10 14:59:21 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac
)
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
628ff1bea3
r22579: disable progress printing in the build-farm
...
metze
(This used to be commit 93089ad5e8
)
2007-10-10 14:51:47 -05:00
Andrew Bartlett
e18eed167a
r22322: Cut timelimits for BENCH tests run in quicktest.
...
Andrew Bartlett
(This used to be commit 63b89ccbeb
)
2007-10-10 14:51:02 -05:00
Stefan Metzmacher
02097b0955
r20736: skip the NBT-WINSREPLICATION-OWNED test in make quicktest
...
metze
(This used to be commit b3ff3f8c36
)
2007-10-10 14:40:35 -05:00
Stefan Metzmacher
31f9ec1233
r19698: fix whitespaces...
...
metze
(This used to be commit fa439f5655
)
2007-10-10 14:28:12 -05:00
Andrew Tridgell
ab037664d8
r19439: revert my change to a torture assert - expected is a bool
...
(This used to be commit 1d231e45bd
)
2007-10-10 14:21:32 -05:00
Andrew Tridgell
49371f496d
r19433: Metze, please take a look at this one!
...
Failures on some platforms of the WINSREPLICATION test have been
bugging us for months. I finally traced it down to this one record, at
least on the SerNet-solaris8 machine. Disabling this one record allows
the test to pass. I have no idea why, but I'll leave that to Metze :)
(This used to be commit 94cdfd5458
)
2007-10-10 14:21:30 -05:00
Jelmer Vernooij
8773e743c5
r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grained
...
output in the testsuite rather than just True or False for a
set of tests.
The aim is to use this for:
* known failure lists (run all tests and detect tests that
started working or started failing). This
would allow us to get rid of the RPC-SAMBA3-* tests
* nicer torture output
* simplification of the testsuite system
* compatibility with other unit testing systems
* easier usage of smbtorture (being able to run one test
and automatically set up the environment for that)
This is still a work-in-progress; expect more updates over the next couple of
days.
(This used to be commit 0eb6097305
)
2007-10-10 14:21:12 -05:00
Stefan Metzmacher
a2eca9174c
r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on the
...
configure check for the interfaces.
should fix the build on some old sun boxes
metze
(This used to be commit f20e251bfd
)
2007-10-10 14:15:39 -05:00
Jelmer Vernooij
845df42a19
r16333: Move more code out of the core smbtorture. It now no longer
...
contains protocol-specific code.
(This used to be commit 819d3b4576
)
2007-10-10 14:09:11 -05:00
Stefan Metzmacher
7a9076cba2
r15259: try to find the place that causes trouble on some build farm host
...
on the NBT-WINSREPLICATION-OWNED test
metze
(This used to be commit 72ae0dbaab
)
2007-10-10 14:04:27 -05:00
Jelmer Vernooij
909b111f58
r14720: Add torture_context argument to all torture tests
...
(This used to be commit 3c7a5ce291
)
2007-10-10 13:59:13 -05:00
Jelmer Vernooij
8528016978
r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
...
try to include just the BASENAME.h files (containing only structs)
(This used to be commit 3dd477ca51
)
2007-10-10 13:57:27 -05:00
Stefan Metzmacher
22244f0e9b
r14441: try to get more hosts on the build farm pass the NBT-WINSREPLICATION-OWNED test
...
metze
(This used to be commit 7fa5ae8cce
)
2007-10-10 13:57:25 -05:00
Jelmer Vernooij
eefe30b7d8
r14379: Build torture/rpc/ as a seperate smbtorture module. Move helper
...
functions for rpc out of torture/torture.c
(This used to be commit 1d2d970f3b
)
2007-10-10 13:57:16 -05:00
Jelmer Vernooij
3f16241a1d
r14363: Remove credentials.h from the global includes.
...
(This used to be commit 98c4c30513
)
2007-10-10 13:57:14 -05:00
Stefan Metzmacher
d2d9c0f25b
r14319: this is a test to see if this help to run NBT-WINSREPLICATION-OWNED on more systems
...
on the buildfarm successful...
metze
(This used to be commit 0507203c35
)
2007-10-10 13:57:12 -05:00
Stefan Metzmacher
0b18c8f863
r14318: fix warnings
...
metze
(This used to be commit c99c057354
)
2007-10-10 13:57:11 -05:00
Jelmer Vernooij
4ac2be9958
r13924: Split more prototypes out of include/proto.h + initial work on header
...
file dependencies
(This used to be commit 1228358767
)
2007-10-10 13:52:24 -05:00
Stefan Metzmacher
f2f3e1801b
r13627: split the NBT-WINSREPLICATION tests into multiple tests
...
metze
(This used to be commit ae559920e1
)
2007-10-10 13:52:02 -05:00
Andrew Bartlett
358122c688
r13479: Return the joined domain SID and user SID as structures, not strings.
...
Andrew Bartlett
(This used to be commit e1de45bce4
)
2007-10-10 13:51:55 -05:00
Stefan Metzmacher
1a53c1dc92
r13346: use private proto header files for the torture tests
...
metze
(This used to be commit 67837dbd2b
)
2007-10-10 13:51:47 -05:00
Jelmer Vernooij
e53f420552
r13182: Add first bits of browsing testsuite.
...
(This used to be commit 841fb3d4e7
)
2007-10-10 13:51:32 -05:00
Stefan Metzmacher
63bbc2aea6
r13035: active,special group replicas are overwritten by tombstone,special group replicas
...
metze
(This used to be commit cf669e4b2a
)
2007-10-10 13:51:18 -05:00
Stefan Metzmacher
e1622519d3
r12907: skip some tests for make quicktest in NBT-WINSREPLICATION
...
metze
(This used to be commit b206c5e87c
)
2007-10-10 13:51:01 -05:00
Andrew Bartlett
f55ea8bb3d
r12804: This patch reworks the Samba4 sockets layer to use a socket_address
...
structure that is more generic than just 'IP/port'.
It now passes make test, and has been reviewed and updated by
metze. (Thankyou *very* much).
This passes 'make test' as well as kerberos use (not currently in the
testsuite).
The original purpose of this patch was to have Samba able to pass a
socket address stucture from the BSD layer into the kerberos routines
and back again. It also removes nbt_peer_addr, which was being used
for a similar purpose.
It is a large change, but worthwhile I feel.
Andrew Bartlett
(This used to be commit 88198c4881
)
2007-10-10 13:49:57 -05:00
Stefan Metzmacher
76480dba70
r12639: - do some tests with 0x20 0x1B names
...
- do some tests with 0xBF and 0xBE, this shows that the '+' padding
should be done by the client
metze
(This used to be commit 5a257ba981
)
2007-10-10 13:49:11 -05:00
Jelmer Vernooij
d4de4c2d21
r12608: Remove some unused #include lines.
...
(This used to be commit 70e7449318
)
2007-10-10 13:49:03 -05:00
Stefan Metzmacher
e161613cbd
r12413: do some testing with 0x1E names
...
metze
(This used to be commit b96eadb890
)
2007-10-10 13:47:35 -05:00
Stefan Metzmacher
d8c4862d8c
r12211: remove unused element
...
metze
(This used to be commit 1c05868680
)
2007-10-10 13:47:19 -05:00
Stefan Metzmacher
36acd6e79c
r12200: - move the the winsreplication client and server code to the packet_context
...
system
- this needs to be in one big patch, because of the merging code,
that changes client in server connections and the other way around
- use socket_connect_send/_recv() in the client code
metze
(This used to be commit f0105b7fcd
)
2007-10-10 13:47:17 -05:00
Stefan Metzmacher
37cc5873e0
r12075: remove NBT-WINSREPLICATION-QUICK test, as we now pass the NBT-WINSREPLICATION
...
test
metze
(This used to be commit 224dab45ab
)
2007-10-10 13:47:06 -05:00
Stefan Metzmacher
9286235cf8
r12069: fix typo
...
metze
(This used to be commit 3c442ccb59
)
2007-10-10 13:47:04 -05:00
Stefan Metzmacher
bf6ac47848
r12068: a better fix to prevent crashing, on errors
...
metze
(This used to be commit 7b20f8e66d
)
2007-10-10 13:47:04 -05:00
Stefan Metzmacher
7ab5c74a98
r12067: print out some more details
...
metze
(This used to be commit 8207969a57
)
2007-10-10 13:47:04 -05:00
Stefan Metzmacher
dbeb44eeda
r12066: - add a unique,active,owner vs. unique,active,replica tests where
...
we respond with the replicas address to the challenge
- fix some skip checks
metze
(This used to be commit a37aaa93cb
)
2007-10-10 13:47:04 -05:00
Stefan Metzmacher
84033c20f0
r12024: do some extra sleeping to give the server the chance to handle our reply
...
metze
(This used to be commit 144bde91b3
)
2007-10-10 13:47:01 -05:00
Tim Potter
03d301ead5
r11967: Fix more 64-bit warnings.
...
(This used to be commit 9c4436a124
)
2007-10-10 13:46:52 -05:00
Stefan Metzmacher
97e19e9716
r11911: as we pass the owned_released vs. replica test now, run it with make test
...
metze
(This used to be commit d34580ec70
)
2007-10-10 13:46:48 -05:00
Stefan Metzmacher
7746a144cd
r11899: add some usefull debug messages
...
metze
(This used to be commit 8b9447e8c1
)
2007-10-10 13:46:44 -05:00
Stefan Metzmacher
6aff2946e1
r11897: add 2 more sgroup vs. sgroup tests with the replica having no addresses
...
metze
(This used to be commit 22b8d5014a
)
2007-10-10 13:46:43 -05:00
Stefan Metzmacher
4d4afa8d6d
r11887: reorder some tests
...
metze
(This used to be commit a4277c6b26
)
2007-10-10 13:46:41 -05:00
Stefan Metzmacher
31d070637b
r11882: - use some better names
...
- we now pass the same_owner tests so test them with make test
metze
(This used to be commit 579ebb874e
)
2007-10-10 13:46:40 -05:00
Stefan Metzmacher
363ce0b016
r11831: add some SGROUP not active vs. SGROUP any tests
...
metze
(This used to be commit be622259ab
)
2007-10-10 13:46:36 -05:00
Stefan Metzmacher
309645e002
r11829: remove unused #if 1
...
metze
(This used to be commit 80f2e50387
)
2007-10-10 13:46:35 -05:00
Stefan Metzmacher
91ec46b703
r11827: add more sgroup vs sgroup tests
...
metze
(This used to be commit 28a065064e
)
2007-10-10 13:46:35 -05:00
Stefan Metzmacher
bd69407be6
r11802: - add copyright
...
- fix crash bug when running as non root
- add extra comments in the output
metze
(This used to be commit ffc3cd7347
)
2007-10-10 13:46:30 -05:00
Stefan Metzmacher
70a01587b9
r11779: fix crash bug
...
metze
(This used to be commit b35e43a67b
)
2007-10-10 13:46:26 -05:00
Stefan Metzmacher
006da4c52a
r11678: - add suport for sgroup,replica vs. sgroup,replica tests
...
- add some sgroup,replica vs. sgroup,replica tests
metze
(This used to be commit 7a1b414524
)
2007-10-10 13:46:12 -05:00
Stefan Metzmacher
6c4be5073d
r11673: - update the max_version of the owner when we get some records
...
in the sgroup_merge test, so that we don't see old records as new ones
- finish the owned,sgroup,active vs. sgroup * section
metze
(This used to be commit 534e34a1a1
)
2007-10-10 13:46:11 -05:00
Stefan Metzmacher
087577e47b
r11672: - add support for special group merge tests
...
- add owned,sgroup,active vs. replica,sgroup,active test
metze
(This used to be commit 938853dc50
)
2007-10-10 13:46:11 -05:00
Stefan Metzmacher
4f78115d6d
r11489: add the one replication cycle test to NBT-WINSREPLICATION-QUICK
...
metze
(This used to be commit fc53eab2f1
)
2007-10-10 13:45:44 -05:00
Stefan Metzmacher
0a4de40a0b
r11488: handle the stupid name release demand a windows there send...
...
metze
(This used to be commit 1b62959a3d
)
2007-10-10 13:45:44 -05:00
Stefan Metzmacher
b69e508381
r11484: test some multi homed record merging
...
metze
(This used to be commit 630f571934
)
2007-10-10 13:45:43 -05:00
Stefan Metzmacher
36729384f3
r11480: demonstrate the only the positive name query response cares,
...
not the addresses that are returned in it
metze
(This used to be commit 82e19d6808
)
2007-10-10 13:45:43 -05:00
Stefan Metzmacher
580cfbb23a
r11478: add owned,active,multi homed vs. * section
...
metze
(This used to be commit 0231926e0a
)
2007-10-10 13:45:42 -05:00
Stefan Metzmacher
187b7a9e53
r11429: - add owned,active,sgroup vs. unique, group and mhomed replica
...
special group vs. special group will be done later
metze
(This used to be commit 25a35c6977
)
2007-10-10 13:45:36 -05:00
Stefan Metzmacher
18a98ecd7a
r11426: add owned,active,normalgroup vs. * replica sections
...
metze
(This used to be commit 70166bb2a9
)
2007-10-10 13:45:36 -05:00
Stefan Metzmacher
e173352f1b
r11425: add owned,active,unique vs. multi homed section
...
metze
(This used to be commit a70cf6f87b
)
2007-10-10 13:45:36 -05:00
Stefan Metzmacher
f07cb3f35f
r11419: add owned,unique,active vs. special group replica section
...
metze
(This used to be commit 061e2e67da
)
2007-10-10 13:45:35 -05:00
Stefan Metzmacher
bc5e112f5b
r11418: - add unique,owned,active vs. normal group section
...
- we handle incoming release demands for that
metze
(This used to be commit 1db4d8e456
)
2007-10-10 13:45:35 -05:00
Stefan Metzmacher
4400cf2c31
r11416: add some more comments
...
metze
(This used to be commit dccaceee18
)
2007-10-10 13:45:35 -05:00
Stefan Metzmacher
7675309bd7
r11415: - create a seperate nbt socket for handling incoming packets
...
- remove useless .release attribute, we have seperate tests for this
now
- add first owned,active vs. replica test, including handling incoming
name queries from the server
metze
(This used to be commit 7843b6c5c8
)
2007-10-10 13:45:34 -05:00
Stefan Metzmacher
7ec41c9424
r11330: - split up owned,active vs replica and owned,released vs. replica
...
- complete owned,released tests
metze
(This used to be commit ba82ffb261
)
2007-10-10 13:45:20 -05:00
Stefan Metzmacher
2d1aa2954b
r11265: add a bunch of owned vs. replica conflict tests
...
metze
(This used to be commit c8d3c2f1a1
)
2007-10-10 13:45:10 -05:00
Stefan Metzmacher
bc43d1b6f0
r11189: add some more special group vs. special group tests,
...
to make sure that replicas from the same owner are blinding overwritten
in all cases
metze
(This used to be commit 466baf737a
)
2007-10-10 13:44:58 -05:00
Stefan Metzmacher
47c0c176e9
r11188: - add multi homed vs. multi homed section
...
metze
(This used to be commit 838323e58f
)
2007-10-10 13:44:58 -05:00
Stefan Metzmacher
7e3d377b1d
r11186: - get rid of some .extra = True cases
...
- add multihomed vs unique section
- update conflict handling for the above case
metze
(This used to be commit c043e56efd
)
2007-10-10 13:44:58 -05:00
Stefan Metzmacher
e8118ad3b0
r11177: move unique vs * and normal group vs * into this form
...
ACTIVE vs ACTIVE
ACTIVE vs TOMBSTONE
RELEASED vs ACTIVE
RELEASED vs TOMBSTONE
TOMBSTONE vs ACTIVE
TOMBSTONE vs TOMBSTONE
as it seems that is all we need to test,
and w2k3 only decides between ACTIVE and NON-ACTIVE (REALEASED or TOMBSTONE)
when it gets new replica objects
also I have removed all the extra test, we only test the worst cases now,
and this will make the algorithms more clear when you look at the output
of the NBT-WINSREPLICATION torture test
metze
(This used to be commit 7545e4e716
)
2007-10-10 13:44:56 -05:00
Stefan Metzmacher
4043d03ef0
r11176: - add multi homed vs. special group section
...
metze
(This used to be commit 62ddca0e1f
)
2007-10-10 13:44:56 -05:00
Stefan Metzmacher
9334501ccb
r11175: - add multi homed vs. normal group section
...
metze
(This used to be commit 891416b79e
)
2007-10-10 13:44:55 -05:00
Stefan Metzmacher
3464d409af
r11174: - add special group vs. multi homed section
...
- disable special group vs. special group,
I need to look closer at this, as I'm getting strange timeouts
randomly, so the server might be doing some challegnes while
doing the merging of special group records, witch reaches
timeouts
metze
(This used to be commit 7479760cbf
)
2007-10-10 13:44:55 -05:00
Stefan Metzmacher
4c242c96e0
r11173: print out the correct messages
...
metze
(This used to be commit d8e7e914bf
)
2007-10-10 13:44:55 -05:00
Stefan Metzmacher
8c8c40ecaa
r11172: - start with special group vs. special group testing
...
metze
(This used to be commit ba2c100be6
)
2007-10-10 13:44:55 -05:00
Stefan Metzmacher
64b0c02e8b
r11146: make sure we get the expected amount of addresses
...
metze
(This used to be commit 9903a47151
)
2007-10-10 13:44:54 -05:00
Stefan Metzmacher
abe4ee3d43
r11144: - add special group vs. normal group section
...
metze
(This used to be commit 03a8ff89d0
)
2007-10-10 13:44:54 -05:00
Stefan Metzmacher
4a8bdae155
r11142: - add special group vs. unique section
...
metze
(This used to be commit ba17276236
)
2007-10-10 13:44:54 -05:00
Stefan Metzmacher
2038e9a698
r11121: - add normal groups vs. multihomed section
...
- make sure we test the worst case,
so that we don't need to test everything...
- same ip(s) => not replace
- different ip(s) => replace
metze
(This used to be commit 4a22ce09b4
)
2007-10-10 13:44:53 -05:00
Stefan Metzmacher
c4927c843d
r11119: add normal group vs. special group section
...
metze
(This used to be commit 13703b5c35
)
2007-10-10 13:44:53 -05:00
Stefan Metzmacher
70be12593a
r11117: add a normal group vs. normal group section
...
metze
(This used to be commit 9a7689c745
)
2007-10-10 13:44:52 -05:00
Stefan Metzmacher
80cd8936fa
r11116: - don't display cleanup updates
...
- add unique vs. multi homed section
metze
(This used to be commit 7f8c26cd33
)
2007-10-10 13:44:52 -05:00
Stefan Metzmacher
e7238b9306
r11115: add unique vs special group section
...
metze
(This used to be commit 980e1a39eb
)
2007-10-10 13:44:52 -05:00
Stefan Metzmacher
91366a1c96
r11108: - always test the old and new record
...
- check that the record is the same as what we pushed to the server
(we need to verify the ip-addresses later too...)
metze
(This used to be commit f59e90299d
)
2007-10-10 13:44:51 -05:00
Stefan Metzmacher
f8a3335cb4
r11091: add a NBT-WINSREPLICATION-QUICK test that passed the current samba4 server
...
metze
(This used to be commit 772467c8d4
)
2007-10-10 13:44:47 -05:00
Stefan Metzmacher
cffd522b5c
r11052: bring samba4 uptodate with the samba4-winsrepl branch,
...
before the bad merge
metze
(This used to be commit 471c0ca4ab
)
2007-10-10 13:44:43 -05:00
Stefan Metzmacher
fccbbf3546
r10997: r11980@SERNOX (orig r10037): metze | 2005-09-05 14:21:40 +0200
...
add struct nbt_peer_socket and use it instead of passing const char *addr, uint16 port everyhwere
(tridge: can you review this please, (make test works)
metze
(This used to be commit a599d7a4ae
)
2007-10-10 13:39:52 -05:00
Stefan Metzmacher
0b0c38d899
r10995: fix released vs. released
...
metze
(This used to be commit 573c2df2ba
)
2007-10-10 13:39:52 -05:00
Stefan Metzmacher
00ef27d754
r10993: - make us able to check released records, we can only do that by finding out the old record was gone
...
- add more printf(), so -d 10 isn't needed any more
metze
(This used to be commit afe5d2ab85
)
2007-10-10 13:39:52 -05:00
Stefan Metzmacher
9dff4c464a
r10973: - make debugging a bit easier
...
- add unique vs. normal group section in replica vs replica conflict testing
metze
(This used to be commit b94be6b119
)
2007-10-10 13:39:49 -05:00
Stefan Metzmacher
2ac7af20a0
r10971: - test static records with the same owner too
...
- test with different owners, and all combinations
of unique records
metze
(This used to be commit 8df80c5649
)
2007-10-10 13:39:49 -05:00
Stefan Metzmacher
a53bec24c1
r10967: move the function in the order they are used
...
metze
(This used to be commit 6f44ae5a69
)
2007-10-10 13:39:49 -05:00
Stefan Metzmacher
3158f35256
r10965: - only run the cross connection assoc test when running with -X
...
this sometimes crashes the windows server
- add the first replication conflict tests
we now test that replica records are always overwritten
when the owner is the same
metze
(This used to be commit f93353ac41
)
2007-10-10 13:39:49 -05:00
Stefan Metzmacher
6799fde75d
r10766: - make it possible to mark a wrepl_request as send only,
...
used for WREPL_REPL_INFORM* messsages
- make it possible to close the connection after a request was send
used for WREPL_ASSOCIATION_STOP
- fix the torture test that tests the assoc context handling
between connections, you can issue a request and get the reply
on another connection, I think we should not implement that in our server
code, as I think it's a security hole, you can cause a windows server
to send the replies to someone another client, that doesn't wait for data,
and as there're no massage_id in the protocol the client would be confused
by a replies that doesn't belong to a query
metze
(This used to be commit dfc95de8fa
)
2007-10-10 13:39:28 -05:00