diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-11-20 14:59:17 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-01-17 15:10:10 +0100 |
commit | 316fd085ad2b587b82d817358240f84ae054a543 (patch) | |
tree | d5a376e76b97ae299b90501a4c22e8523dfc4cee /source4/dsdb/repl | |
parent | 6a1025551eb5b343ec996ae0c642d542162e8910 (diff) | |
download | samba-316fd085ad2b587b82d817358240f84ae054a543.tar.gz samba-316fd085ad2b587b82d817358240f84ae054a543.tar.bz2 samba-316fd085ad2b587b82d817358240f84ae054a543.zip |
drs-fsmo: Improve handling of FSMO role takeover.
This needs to be more async, and give less scary errors.
Andrew Bartlett
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/dsdb/repl')
-rw-r--r-- | source4/dsdb/repl/drepl_fsmo.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/dsdb/repl/drepl_fsmo.c b/source4/dsdb/repl/drepl_fsmo.c index 0e83982ab4..37fb684f47 100644 --- a/source4/dsdb/repl/drepl_fsmo.c +++ b/source4/dsdb/repl/drepl_fsmo.c @@ -108,9 +108,8 @@ NTSTATUS drepl_take_FSMO_role(struct irpc_message *msg, return NT_STATUS_OK; } - if (is_us || - (extended_op == DRSUAPI_EXOP_NONE)) { - DEBUG(0,("FSMO role check failed for DN %s and owner %s \n", + if (is_us) { + DEBUG(5,("FSMO role check failed, we already own DN %s with %s\n", ldb_dn_get_linearized(fsmo_role_dn), ldb_dn_get_linearized(role_owner_dn))); r->out.result = WERR_OK; |