s4-drs: Implementation of GetNCChanges extended op 6 - fsmo role transfer
authorNadezhda Ivanova <nivanova@samba.org>
Tue, 24 Aug 2010 21:22:16 +0000 (00:22 +0300)
committerKamen Mazdrashki <kamenim@samba.org>
Fri, 10 Sep 2010 10:08:17 +0000 (13:08 +0300)
commit657b7039c38e97af9dbacafb5ab7a5966f52eaea
treefbd25f4c9914089ec4975882de98f1c3366a6bf9
parentc8794d2625e81b8c11dec7726a42e632854472af
s4-drs: Implementation of GetNCChanges extended op 6 - fsmo role transfer

Basically the candidate owner makes a getncchanges call with extended op 6 when they want to
become the new owner. The current owner then updates the corresponding fSMORoleOwner attribute
in its database with the new owner, and replicates the change to the candidate, who then becomes the
owner.
The patch was made in cooperation with Anatoliy Atanasov <anatoliy.atanasov@postpath.com> who
kindly helped to debug it.
source4/dsdb/config.mk
source4/dsdb/repl/drepl_fsmo.c [new file with mode: 0644]
source4/dsdb/wscript_build
source4/librpc/idl/irpc.idl