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)
committerNadezhda Ivanova <nivanova@samba.org>
Tue, 24 Aug 2010 21:22:16 +0000 (00:22 +0300)
commitbed6d3f00d9193cf9f70ca23f6963bac33fdc072
tree93865a3a84f68ba9e759a01145f42da2e1a4350d
parent9ccd1b8c2b6df5359a6ace03ec646e98fe872a10
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