Fix DRSUAPI replication test - NET-API-BECOME-DC.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 23 Jan 2008 04:43:14 +0000 (15:43 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 23 Jan 2008 04:43:14 +0000 (15:43 +1100)
commit7b87a58502a052de391f4e1c56ac78a8d35b4e34
tree56ce5c6667c8ea5df45c9f00af1f0abebd4ba71c
parente8081333b8d43d96974c9e06a26aaa25dd34da56
Fix DRSUAPI replication test - NET-API-BECOME-DC.

The main change here is to work with the current module stack,
replacing only the objectGUID module, rather than a number of modules.

However, two changes were key:
 - Fixing a typo search_req->handle -> change_req->handle
 - Allowing an error of NO_SUCH_OBJECT - it is quite valid
   for the object not to exist when being replicated in.

Other small changes were required to the ejs provision to match
changes in that code.

Andrew Bartlett
source/dsdb/samdb/ldb_modules/repl_meta_data.c
source/torture/libnet/libnet_BecomeDC.c