summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-09-10 02:05:27 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-09-10 13:08:25 +0300
commit25dd9fae66f4dd65692b8161da499aaca104f434 (patch)
tree1b5f713339acc1ad05115d6b9802b36ef40bc948
parent611cd51096a8de8fdf43d0c9b639314bd7ebd2c2 (diff)
downloadsamba-25dd9fae66f4dd65692b8161da499aaca104f434.tar.gz
samba-25dd9fae66f4dd65692b8161da499aaca104f434.tar.bz2
samba-25dd9fae66f4dd65692b8161da499aaca104f434.zip
s4-drs: return DRSUAPI_EXOP_ERR_SUCCESS in extended_ret
in case we are handling extended operation. It seems that windows accept both DRSUAPI_EXOP_ERR_SUCCESS and DRSUAPI_EXOP_ERR_NONE, but Samba is a little bit more picky on this.
-rw-r--r--source4/rpc_server/drsuapi/getncchanges.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c
index 78c280a85a..4d1e34d222 100644
--- a/source4/rpc_server/drsuapi/getncchanges.c
+++ b/source4/rpc_server/drsuapi/getncchanges.c
@@ -1485,6 +1485,7 @@ WERROR dcesrv_drsuapi_DsGetNCChanges(struct dcesrv_call_state *dce_call, TALLOC_
r->out.ctr->ctr6.uptodateness_vector = NULL;
r->out.ctr->ctr6.nc_object_count = 0;
ZERO_STRUCT(r->out.ctr->ctr6.new_highwatermark);
+ r->out.ctr->ctr6.extended_ret = DRSUAPI_EXOP_ERR_SUCCESS;
}
DEBUG(r->out.ctr->ctr6.more_data?2:1,