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)
commit4172e09c5395b7004ada0d4a9e786bba6c159bc9
tree974af47b37e97e54b7ff46bbcd6ef0c24aa694f8
parent8bceed449d7332a5f860000b8c1b53ed8ccf72fa
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
(This used to be commit 7b87a58502a052de391f4e1c56ac78a8d35b4e34)
source4/dsdb/samdb/ldb_modules/repl_meta_data.c
source4/torture/libnet/libnet_BecomeDC.c