summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2011-05-11 21:09:34 +0300
committerKamen Mazdrashki <kamenim@samba.org>2011-05-11 21:10:53 +0300
commit647827d09ccba7bcfa6454119afc22de96397128 (patch)
treeae4d3597ffc66cad53ea6728e213a2acb9bae5f9 /source4
parent55916e273f0853084f5bc2171eefc86af69e27dc (diff)
downloadsamba-647827d09ccba7bcfa6454119afc22de96397128.tar.gz
samba-647827d09ccba7bcfa6454119afc22de96397128.tar.bz2
samba-647827d09ccba7bcfa6454119afc22de96397128.zip
s4/getncchanges: Pre-mark extended requests as success in case a sub-function "forget" to do this
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/drsuapi/getncchanges.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c
index 413ffce11a..0c196aab55 100644
--- a/source4/rpc_server/drsuapi/getncchanges.c
+++ b/source4/rpc_server/drsuapi/getncchanges.c
@@ -1411,6 +1411,10 @@ WERROR dcesrv_drsuapi_DsGetNCChanges(struct dcesrv_call_state *dce_call, TALLOC_
ldb_get_schema_basedn(b_state->sam_ctx));
getnc_state->is_schema_nc = (0 == ret);
+ if (req10->extended_op != DRSUAPI_EXOP_NONE) {
+ r->out.ctr->ctr6.extended_ret = DRSUAPI_EXOP_ERR_SUCCESS;
+ }
+
/*
* This is the first replication cycle and it is
* a good place to handle extended operations