summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-27 20:13:02 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-27 21:50:42 +0100
commiteaac27738145c60133163bff763412d96bc72cbb (patch)
tree0fe79e5b2b5648dbf6740a828d9c22d32812b50c /source4/dsdb/repl
parentbfb28243d0a6d37c7ce10641a4b65539152799be (diff)
downloadsamba-eaac27738145c60133163bff763412d96bc72cbb.tar.gz
samba-eaac27738145c60133163bff763412d96bc72cbb.tar.bz2
samba-eaac27738145c60133163bff763412d96bc72cbb.zip
s4:dsdb/repl/drepl_service.c - return the correct WERR result
Diffstat (limited to 'source4/dsdb/repl')
-rw-r--r--source4/dsdb/repl/drepl_service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/repl/drepl_service.c b/source4/dsdb/repl/drepl_service.c
index c8bbcfeb17..2f9a5d5dc4 100644
--- a/source4/dsdb/repl/drepl_service.c
+++ b/source4/dsdb/repl/drepl_service.c
@@ -308,7 +308,7 @@ static NTSTATUS drepl_replica_sync(struct irpc_message *msg,
}
if (!W_ERROR_IS_OK(werr)) {
REPLICA_SYNC_FAIL("Failed to locate source DSA for given NC",
- WERR_DS_DRA_NO_REPLICA);
+ werr);
}
/* schedule replication item */