summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-09-07 22:18:53 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-09-09 18:26:50 +0300
commitef56945d0e33aebb089789906b9d037852c9b028 (patch)
tree9cd14578877300fe404b059a310ef413684ff30f /source4/dsdb
parent3fa3bc7ebaa2f8a5bacb7766329e89ab4e36f644 (diff)
downloadsamba-ef56945d0e33aebb089789906b9d037852c9b028.tar.gz
samba-ef56945d0e33aebb089789906b9d037852c9b028.tar.bz2
samba-ef56945d0e33aebb089789906b9d037852c9b028.zip
s4-drepl_service.c: Update (C)
and remove few trailing white spaces
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/repl/drepl_service.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/source4/dsdb/repl/drepl_service.c b/source4/dsdb/repl/drepl_service.c
index 0adef9e36e..da0d9e5e79 100644
--- a/source4/dsdb/repl/drepl_service.c
+++ b/source4/dsdb/repl/drepl_service.c
@@ -1,22 +1,23 @@
-/*
+/*
Unix SMB/CIFS mplementation.
DSDB replication service
-
+
Copyright (C) Stefan Metzmacher 2007
-
+ Copyright (C) Kamen Mazdrashki <kamenim@samba.org> 2010
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-
+
*/
#include "includes.h"
@@ -208,7 +209,7 @@ static WERROR _drepl_schedule_replication(struct dreplsrv_service *service,
/*
DsReplicaSync messages from the DRSUAPI server are forwarded here
*/
-static NTSTATUS drepl_replica_sync(struct irpc_message *msg,
+static NTSTATUS drepl_replica_sync(struct irpc_message *msg,
struct drsuapi_DsReplicaSync *r)
{
WERROR werr;
@@ -355,11 +356,11 @@ static void dreplsrv_task_init(struct task_server *task)
switch (lpcfg_server_role(task->lp_ctx)) {
case ROLE_STANDALONE:
- task_server_terminate(task, "dreplsrv: no DSDB replication required in standalone configuration",
+ task_server_terminate(task, "dreplsrv: no DSDB replication required in standalone configuration",
false);
return;
case ROLE_DOMAIN_MEMBER:
- task_server_terminate(task, "dreplsrv: no DSDB replication required in domain member configuration",
+ task_server_terminate(task, "dreplsrv: no DSDB replication required in domain member configuration",
false);
return;
case ROLE_DOMAIN_CONTROLLER: