1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

61 Commits

Author SHA1 Message Date
Stefan Metzmacher
4d4afa8d6d r11887: reorder some tests
metze
(This used to be commit a4277c6b2626f043ec2c2f4d0da245f78ef02f95)
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 579ebb874e40c66dc45c5468bfa0658c7fabcc61)
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 be622259ab1976abb800f55d5d8d329359e082db)
2007-10-10 13:46:36 -05:00
Stefan Metzmacher
309645e002 r11829: remove unused #if 1
metze
(This used to be commit 80f2e50387eedecfe661f0e48e7287017a34a508)
2007-10-10 13:46:35 -05:00
Stefan Metzmacher
91ec46b703 r11827: add more sgroup vs sgroup tests
metze
(This used to be commit 28a065064ef4ed60eb7d260ba02d939cfaba0bb9)
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 ffc3cd73474722d60a781fb758105f665e73c0ca)
2007-10-10 13:46:30 -05:00
Stefan Metzmacher
70a01587b9 r11779: fix crash bug
metze
(This used to be commit b35e43a67b7b9ccb25c8f4ed62b8415e82aaf1c7)
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 7a1b41452448fbb18170a7ca75c69f31cd7d89a8)
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 534e34a1a1c822e72bf863e8acc396168b849b93)
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 938853dc5078a0d647d41177375ec8d35d61628b)
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 fc53eab2f1bdae471ee68c4b67f57b1eb0821f61)
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 1b62959a3dd11fface6642e5843224752e188b4a)
2007-10-10 13:45:44 -05:00
Stefan Metzmacher
b69e508381 r11484: test some multi homed record merging
metze
(This used to be commit 630f571934c1119dc3156a1e4b909fc6d5ae95fc)
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 82e19d68086e795d68cd11eda21448f695aac0a3)
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 0231926e0a017bb65a900867a6dee7ca52d7ffe9)
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 25a35c697795ff802d735cfd3e6c11ea73d92126)
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 70166bb2a9085e08915fc0f560e660b7edd0c2b3)
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 a70cf6f87b975861bb7af4080c56f146faf3369d)
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 061e2e67daeb920b2613564814738adc56c58017)
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 1db4d8e456895d18a864fa740ec0d8198226cba0)
2007-10-10 13:45:35 -05:00
Stefan Metzmacher
4400cf2c31 r11416: add some more comments
metze
(This used to be commit dccaceee182066e15e7a4fd9a5f3f0b2e2beda19)
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 7843b6c5c84b7543fd30242e0d5c8414b56fd383)
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 ba82ffb261d5ef59216cec75fb617b4d7022aaee)
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 c8d3c2f1a1231de49bca1a72e696a833366a0493)
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 466baf737aedf240ff372ab8e8c708299102d1fa)
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 838323e58fe4e748a17100c4cd13788059dd12c6)
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 c043e56efd3d72cdd5b17c78512e12285c87f221)
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 7545e4e7160864f5feedd35cf90507e47d7cf469)
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 62ddca0e1f3d7484b32df7f5a56eca4761289c00)
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 891416b79eeec3d6c9391181f86b104b887774a2)
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 7479760cbf5fe818c31b7795dc43b413800a63bd)
2007-10-10 13:44:55 -05:00
Stefan Metzmacher
4c242c96e0 r11173: print out the correct messages
metze
(This used to be commit d8e7e914bf29f7ae0b7cc1f47ea9f8cca210d8df)
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 ba2c100be6eb1d352df762d213fc197f11f69da5)
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 9903a47151a96177e835ba45450ad12a2e969ee2)
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 03a8ff89d0f40eed3a8e0f94d2e756d9c648b564)
2007-10-10 13:44:54 -05:00
Stefan Metzmacher
4a8bdae155 r11142: - add special group vs. unique section
metze
(This used to be commit ba1727623675def77d4bf3a9bf643f80c7e168c2)
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 4a22ce09b4cad7bb3d60e45f25fb19c36efb8dec)
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 13703b5c35e4473d0ab6b595f41f4cc35c18f81e)
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 9a7689c745e9fa9f40c46fa041a502967fd93ccc)
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 7f8c26cd33a5dffd672d0995cf227177bc21a20e)
2007-10-10 13:44:52 -05:00
Stefan Metzmacher
e7238b9306 r11115: add unique vs special group section
metze
(This used to be commit 980e1a39eb039ebef3ca750eaf67bb87fd6f6980)
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 f59e90299d1060a3c61ee24bdf4a2a13aac1bccf)
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 772467c8d487578b3541ffd1b1e07516097d1325)
2007-10-10 13:44:47 -05:00
Stefan Metzmacher
0b0c38d899 r10995: fix released vs. released
metze
(This used to be commit 573c2df2badbba12fb4d909e7ad4edf6678c7851)
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 afe5d2ab8522671607faafc3de895e4ff915dab4)
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 b94be6b1191aa18642b334dc1fe1529d977d6c57)
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 8df80c5649467be6cb4dd532974a083173a5a920)
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 6f44ae5a6950cee5722758030df862b0f919f43b)
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 f93353ac41441e0ca7b31c82318005438cd00ce5)
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 dfc95de8fa7ded8ea92cafe58cf86efcc7920156)
2007-10-10 13:39:28 -05:00