Ignore:
Timestamp:
May 27, 2009, 11:39:15 AM (17 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/librpc/gen_ndr/cli_netlogon.c

    r204 r233  
    11081108}
    11091109
    1110 NTSTATUS rpccli_netr_NETRLOGONDUMMYROUTINE1(struct rpc_pipe_client *cli,
    1111                                             TALLOC_CTX *mem_ctx,
    1112                                             WERROR *werror)
    1113 {
    1114         struct netr_NETRLOGONDUMMYROUTINE1 r;
    1115         NTSTATUS status;
    1116 
    1117         /* In parameters */
    1118 
    1119         if (DEBUGLEVEL >= 10) {
    1120                 NDR_PRINT_IN_DEBUG(netr_NETRLOGONDUMMYROUTINE1, &r);
    1121         }
    1122 
    1123         status = cli_do_rpc_ndr(cli,
    1124                                 mem_ctx,
    1125                                 PI_NETLOGON,
    1126                                 &ndr_table_netlogon,
    1127                                 NDR_NETR_NETRLOGONDUMMYROUTINE1,
    1128                                 &r);
    1129 
    1130         if (!NT_STATUS_IS_OK(status)) {
    1131                 return status;
    1132         }
    1133 
    1134         if (DEBUGLEVEL >= 10) {
    1135                 NDR_PRINT_OUT_DEBUG(netr_NETRLOGONDUMMYROUTINE1, &r);
    1136         }
    1137 
    1138         if (NT_STATUS_IS_ERR(status)) {
    1139                 return status;
    1140         }
    1141 
    1142         /* Return variables */
    1143 
    1144         /* Return result */
    1145         if (werror) {
    1146                 *werror = r.out.result;
    1147         }
    1148 
    1149         return werror_to_ntstatus(r.out.result);
     1110NTSTATUS rpccli_netr_LogonGetCapabilities(struct rpc_pipe_client *cli,
     1111                                          TALLOC_CTX *mem_ctx,
     1112                                          const char *server_name /* [in] [charset(UTF16)] */,
     1113                                          const char *computer_name /* [in] [unique,charset(UTF16)] */,
     1114                                          struct netr_Authenticator *credential /* [in] [ref] */,
     1115                                          struct netr_Authenticator *return_authenticator /* [in,out] [ref] */,
     1116                                          uint32_t query_level /* [in]  */,
     1117                                          union netr_Capabilities *capabilities /* [out] [ref,switch_is(query_level)] */)
     1118{
     1119        struct netr_LogonGetCapabilities r;
     1120        NTSTATUS status;
     1121
     1122        /* In parameters */
     1123        r.in.server_name = server_name;
     1124        r.in.computer_name = computer_name;
     1125        r.in.credential = credential;
     1126        r.in.return_authenticator = return_authenticator;
     1127        r.in.query_level = query_level;
     1128
     1129        if (DEBUGLEVEL >= 10) {
     1130                NDR_PRINT_IN_DEBUG(netr_LogonGetCapabilities, &r);
     1131        }
     1132
     1133        status = cli_do_rpc_ndr(cli,
     1134                                mem_ctx,
     1135                                PI_NETLOGON,
     1136                                &ndr_table_netlogon,
     1137                                NDR_NETR_LOGONGETCAPABILITIES,
     1138                                &r);
     1139
     1140        if (!NT_STATUS_IS_OK(status)) {
     1141                return status;
     1142        }
     1143
     1144        if (DEBUGLEVEL >= 10) {
     1145                NDR_PRINT_OUT_DEBUG(netr_LogonGetCapabilities, &r);
     1146        }
     1147
     1148        if (NT_STATUS_IS_ERR(status)) {
     1149                return status;
     1150        }
     1151
     1152        /* Return variables */
     1153        *return_authenticator = *r.out.return_authenticator;
     1154        *capabilities = *r.out.capabilities;
     1155
     1156        /* Return result */
     1157        return r.out.result;
    11501158}
    11511159
Note: See TracChangeset for help on using the changeset viewer.