diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-10-02 11:25:13 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-10-02 12:20:59 +0200 |
commit | 3c9f3c32d1290b8e6c438a197602afe3e96ae828 (patch) | |
tree | 0d5293f301eebf0c7531407201fedca3743c1294 | |
parent | 1e24fd3ba20ace6e8f7e974dd7b7fc1738ade8be (diff) | |
download | samba-3c9f3c32d1290b8e6c438a197602afe3e96ae828.tar.gz samba-3c9f3c32d1290b8e6c438a197602afe3e96ae828.tar.bz2 samba-3c9f3c32d1290b8e6c438a197602afe3e96ae828.zip |
s4:drsuapi.idl: fix some fields in drsuapi_DsRemoveDSServer()
metze
-rw-r--r-- | source4/libnet/libnet_unbecome_dc.c | 7 | ||||
-rw-r--r-- | source4/librpc/idl/drsuapi.idl | 4 |
2 files changed, 3 insertions, 8 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); } diff --git a/source4/librpc/idl/drsuapi.idl b/source4/librpc/idl/drsuapi.idl index 0a5a081dd7..76858b2d5c 100644 --- a/source4/librpc/idl/drsuapi.idl +++ b/source4/librpc/idl/drsuapi.idl @@ -970,7 +970,7 @@ interface drsuapi typedef struct { [charset(UTF16),string] uint16 *server_dn; [charset(UTF16),string] uint16 *domain_dn; - uint32 unknown; /* 0x000000001 */ + boolean32 commit; } drsuapi_DsRemoveDSServerRequest1; typedef [switch_type(int32)] union { @@ -978,7 +978,7 @@ interface drsuapi } drsuapi_DsRemoveDSServerRequest; typedef struct { - WERROR status; + boolean32 last_dc_in_domain; } drsuapi_DsRemoveDSServerResult1; typedef [switch_type(int32)] union { |