s3: re-run make samba3-idl.
authorGünther Deschner <gd@samba.org>
Fri, 12 Dec 2008 23:24:02 +0000 (00:24 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 12 Dec 2008 23:27:06 +0000 (00:27 +0100)
Guenther

source3/librpc/gen_ndr/cli_netlogon.c
source3/librpc/gen_ndr/cli_netlogon.h
source3/librpc/gen_ndr/ndr_netlogon.c
source3/librpc/gen_ndr/netlogon.h
source3/librpc/gen_ndr/srv_netlogon.h

index a1bcb2cb3832532a2faf1d90ce33f16ca116842a..1ce4e67c56a638ec69eb30d0246249e082074023 100644 (file)
@@ -2306,8 +2306,7 @@ NTSTATUS rpccli_netr_ServerGetTrustInfo(struct rpc_pipe_client *cli,
                                        struct netr_Authenticator *return_authenticator /* [out] [ref] */,
                                        struct samr_Password *new_owf_password /* [out] [ref] */,
                                        struct samr_Password *old_owf_password /* [out] [ref] */,
-                                       struct netr_TrustInfo **trust_info /* [out] [ref] */,
-                                       WERROR *werror)
+                                       struct netr_TrustInfo **trust_info /* [out] [ref] */)
 {
        struct netr_ServerGetTrustInfo r;
        NTSTATUS status;
@@ -2348,10 +2347,6 @@ NTSTATUS rpccli_netr_ServerGetTrustInfo(struct rpc_pipe_client *cli,
        *trust_info = *r.out.trust_info;
 
        /* Return result */
-       if (werror) {
-               *werror = r.out.result;
-       }
-
-       return werror_to_ntstatus(r.out.result);
+       return r.out.result;
 }
 
index 7a2d43b3c1b045d809d7e906746083113ed709d0..3fbc00e9dab12eb505a4661364b31d7155afb71a 100644 (file)
@@ -366,6 +366,5 @@ NTSTATUS rpccli_netr_ServerGetTrustInfo(struct rpc_pipe_client *cli,
                                        struct netr_Authenticator *return_authenticator /* [out] [ref] */,
                                        struct samr_Password *new_owf_password /* [out] [ref] */,
                                        struct samr_Password *old_owf_password /* [out] [ref] */,
-                                       struct netr_TrustInfo **trust_info /* [out] [ref] */,
-                                       WERROR *werror);
+                                       struct netr_TrustInfo **trust_info /* [out] [ref] */);
 #endif /* __CLI_NETLOGON__ */
index af8228cd5a5978e6dec20fcc7616806bd31c41c4..81f8ddcab9faabb8faca6fdcc362fb0933389252 100644 (file)
@@ -15613,7 +15613,7 @@ static enum ndr_err_code ndr_push_netr_ServerGetTrustInfo(struct ndr_push *ndr,
                if (*r->out.trust_info) {
                        NDR_CHECK(ndr_push_netr_TrustInfo(ndr, NDR_SCALARS|NDR_BUFFERS, *r->out.trust_info));
                }
-               NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
+               NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
        }
        return NDR_ERR_SUCCESS;
 }
@@ -15721,7 +15721,7 @@ static enum ndr_err_code ndr_pull_netr_ServerGetTrustInfo(struct ndr_pull *ndr,
                        NDR_PULL_SET_MEM_CTX(ndr, _mem_save_trust_info_1, 0);
                }
                NDR_PULL_SET_MEM_CTX(ndr, _mem_save_trust_info_0, LIBNDR_FLAG_REF_ALLOC);
-               NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
+               NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
        }
        return NDR_ERR_SUCCESS;
 }
@@ -15781,7 +15781,7 @@ _PUBLIC_ void ndr_print_netr_ServerGetTrustInfo(struct ndr_print *ndr, const cha
                }
                ndr->depth--;
                ndr->depth--;
-               ndr_print_WERROR(ndr, "result", r->out.result);
+               ndr_print_NTSTATUS(ndr, "result", r->out.result);
                ndr->depth--;
        }
        ndr->depth--;
index 02a4a447e01bd447e2e05cd9b495a62feb750f84..7fb253446a60cf812ecd837e37d8458242c9f8b7 100644 (file)
@@ -1727,7 +1727,7 @@ struct netr_ServerGetTrustInfo {
                struct samr_Password *new_owf_password;/* [ref] */
                struct samr_Password *old_owf_password;/* [ref] */
                struct netr_TrustInfo **trust_info;/* [ref] */
-               WERROR result;
+               NTSTATUS result;
        } out;
 
 };
index 3bbe4d02facf81cb36f9d67e7efdfc612598a17e..cd68d12f1e6cc9011de2d8c15e48d685db6f3389 100644 (file)
@@ -47,7 +47,7 @@ NTSTATUS _netr_ServerTrustPasswordsGet(pipes_struct *p, struct netr_ServerTrustP
 WERROR _netr_DsRGetForestTrustInformation(pipes_struct *p, struct netr_DsRGetForestTrustInformation *r);
 WERROR _netr_GetForestTrustInformation(pipes_struct *p, struct netr_GetForestTrustInformation *r);
 NTSTATUS _netr_LogonSamLogonWithFlags(pipes_struct *p, struct netr_LogonSamLogonWithFlags *r);
-WERROR _netr_ServerGetTrustInfo(pipes_struct *p, struct netr_ServerGetTrustInfo *r);
+NTSTATUS _netr_ServerGetTrustInfo(pipes_struct *p, struct netr_ServerGetTrustInfo *r);
 void netlogon_get_pipe_fns(struct api_struct **fns, int *n_fns);
 NTSTATUS rpc_netlogon_init(void);
 #endif /* __SRV_NETLOGON__ */