summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl/drepl_service.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-28 16:44:32 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-03-29 00:00:22 +0200
commitb32f155bae384bd3ae1d9ba9f246a0eca18a2511 (patch)
tree5fbad97584f8ea5b958afc4ca6d2a49951ba220e /source4/dsdb/repl/drepl_service.c
parent358892e8365d052d7b9300737a4c1dc92b26cc0c (diff)
downloadsamba-b32f155bae384bd3ae1d9ba9f246a0eca18a2511.tar.gz
samba-b32f155bae384bd3ae1d9ba9f246a0eca18a2511.tar.bz2
samba-b32f155bae384bd3ae1d9ba9f246a0eca18a2511.zip
s4-dsdb: perform FSMO transfers asynchronously
this gives the administrator a proper error message on the command line Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/repl/drepl_service.c')
-rw-r--r--source4/dsdb/repl/drepl_service.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source4/dsdb/repl/drepl_service.c b/source4/dsdb/repl/drepl_service.c
index 9248c83111..0931a340b1 100644
--- a/source4/dsdb/repl/drepl_service.c
+++ b/source4/dsdb/repl/drepl_service.c
@@ -352,15 +352,6 @@ static NTSTATUS dreplsrv_refresh(struct irpc_message *msg,
return NT_STATUS_OK;
}
-static NTSTATUS drepl_take_FSMO_role(struct irpc_message *msg,
- struct drepl_takeFSMORole *r)
-{
- struct dreplsrv_service *service = talloc_get_type(msg->private_data,
- struct dreplsrv_service);
- r->out.result = dreplsrv_fsmo_role_check(service, r->in.role);
- return NT_STATUS_OK;
-}
-
/**
* Called when the auth code wants us to try and replicate
* a users secrets