diff options
author | Kamen Mazdrashki <kamenim@samba.org> | 2011-05-11 21:09:34 +0300 |
---|---|---|
committer | Kamen Mazdrashki <kamenim@samba.org> | 2011-05-11 21:10:53 +0300 |
commit | 647827d09ccba7bcfa6454119afc22de96397128 (patch) | |
tree | ae4d3597ffc66cad53ea6728e213a2acb9bae5f9 /source4/rpc_server/drsuapi | |
parent | 55916e273f0853084f5bc2171eefc86af69e27dc (diff) | |
download | samba-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/rpc_server/drsuapi')
-rw-r--r-- | source4/rpc_server/drsuapi/getncchanges.c | 4 |
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 |