summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-10-02 11:25:13 +0200
committerStefan Metzmacher <metze@samba.org>2008-10-02 12:20:59 +0200
commit3c9f3c32d1290b8e6c438a197602afe3e96ae828 (patch)
tree0d5293f301eebf0c7531407201fedca3743c1294 /source4/libnet
parent1e24fd3ba20ace6e8f7e974dd7b7fc1738ade8be (diff)
downloadsamba-3c9f3c32d1290b8e6c438a197602afe3e96ae828.tar.gz
samba-3c9f3c32d1290b8e6c438a197602afe3e96ae828.tar.bz2
samba-3c9f3c32d1290b8e6c438a197602afe3e96ae828.zip
s4:drsuapi.idl: fix some fields in drsuapi_DsRemoveDSServer()
metze
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_unbecome_dc.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/source4/libnet/libnet_unbecome_dc.c b/source4/libnet/libnet_unbecome_dc.c
index 3a9a5cebd8..2ee3c641b2 100644
--- a/source4/libnet/libnet_unbecome_dc.c
+++ b/source4/libnet/libnet_unbecome_dc.c
@@ -641,7 +641,7 @@ static void unbecomeDC_drsuapi_remove_ds_server_send(struct libnet_UnbecomeDC_st
r->in.level = 1;
r->in.req.req1.server_dn= s->dest_dsa.server_dn_str;
r->in.req.req1.domain_dn= s->domain.dn_str;
- r->in.req.req1.unknown = 0x00000001;
+ r->in.req.req1.commit = true;
req = dcerpc_drsuapi_DsRemoveDSServer_send(s->drsuapi.pipe, s, r);
composite_continue_rpc(c, req, unbecomeDC_drsuapi_remove_ds_server_recv, s);
@@ -666,11 +666,6 @@ static void unbecomeDC_drsuapi_remove_ds_server_recv(struct rpc_request *req)
composite_error(c, NT_STATUS_INVALID_NETWORK_RESPONSE);
return;
}
-
- if (!W_ERROR_IS_OK(r->out.res.res1.status)) {
- composite_error(c, werror_to_ntstatus(r->out.res.res1.status));
- return;
- }
composite_done(c);
}