summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-22 16:41:32 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-22 19:36:16 +1000
commit1f92df90fdb0ade233af52df1fbc9e76bddb4fd0 (patch)
treef5ca098158231e4af72147458cd7301ec188190b /source4/dsdb/repl
parent90230ce27eaa81e02273f0120b7cdc99879514ac (diff)
downloadsamba-1f92df90fdb0ade233af52df1fbc9e76bddb4fd0.tar.gz
samba-1f92df90fdb0ade233af52df1fbc9e76bddb4fd0.tar.bz2
samba-1f92df90fdb0ade233af52df1fbc9e76bddb4fd0.zip
s4-drs: removed dsdb_validate_client_flags()
This test is in the wrong place. We end up validating our own flags. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/repl')
-rw-r--r--source4/dsdb/repl/drepl_out_helpers.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c
index 55357509f0..60dccffb23 100644
--- a/source4/dsdb/repl/drepl_out_helpers.c
+++ b/source4/dsdb/repl/drepl_out_helpers.c
@@ -271,13 +271,6 @@ static void dreplsrv_op_pull_source_get_changes_trigger(struct tevent_req *req)
struct drsuapi_DsGetNCChanges *r;
struct drsuapi_DsReplicaCursorCtrEx *uptodateness_vector;
struct tevent_req *subreq;
- int ret;
-
- /* check that the client isn't lying about being a RODC */
- ret = dsdb_validate_client_flags(service->samdb, rf1);
- if (ret != LDB_SUCCESS) {
- return;
- }
if ((rf1->replica_flags & DRSUAPI_DRS_WRIT_REP) == 0) {
return;