/**
* @brief Open a LSA policy.
*
- * @param[in] h The dcerpc binding hanlde to use.
+ * @param[in] h The dcerpc binding handle to use.
*
* @param[in] mem_ctx The memory context to use.
*
* @param[in] sec_qos Enable security quality of services.
*
- * @param[in] des_access The disired access rights to be granted.
+ * @param[in] des_access The desired access rights to be granted.
*
* @param[out] pol A pointer to a rpc policy handle.
*
/**
* @brief Open a LSA policy.
*
- * @param[in] h The dcerpc binding hanlde to use.
+ * @param[in] h The dcerpc binding handle to use.
*
* @param[in] mem_ctx The memory context to use.
*
* @param[in] sec_qos Enable security quality of services.
*
- * @param[in] des_access The disired access rights to be granted.
+ * @param[in] des_access The desired access rights to be granted.
*
* @param[out] pol A pointer to a rpc policy handle.
*
/* Incoming reply */
DATA_BLOB reply_pdu;
size_t reply_pdu_offset;
- uint8_t endianess;
+ uint8_t endianness;
};
static void rpc_api_pipe_trans_done(struct tevent_req *subreq);
state->cli = cli;
state->expected_pkt_type = expected_pkt_type;
state->call_id = call_id;
- state->endianess = DCERPC_DREP_LE;
+ state->endianness = DCERPC_DREP_LE;
/*
* Ensure we're not sending too much.
DEBUG(10,("rpc_api_pipe: On %s PDU data format is "
"big-endian.\n",
rpccli_pipe_txt(talloc_tos(), state->cli)));
- state->endianess = 0x00; /* BIG ENDIAN */
+ state->endianness = 0x00; /* BIG ENDIAN */
}
/*
* Check endianness on subsequent packets.
*/
- if (state->endianess != state->pkt->drep[0]) {
+ if (state->endianness != state->pkt->drep[0]) {
DEBUG(0,("rpc_api_pipe: Error : Endianness changed from %s to "
"%s\n",
- state->endianess?"little":"big",
+ state->endianness?"little":"big",
state->pkt->drep[0]?"little":"big"));
/*
* TODO: do a real async disconnect ...
return status;
}
-/* This function returns the bizzare set of (max_entries, max_size) required
+/* This function returns the bizarre set of (max_entries, max_size) required
for the QueryDisplayInfo RPC to actually work against a domain controller
with large (10k and higher) numbers of users. These values were
obtained by inspection using ethereal and NT4 running User Manager. */
/**
* @brief Change the password of a user.
*
- * @param[in] h The dcerpc binding hanlde to use.
+ * @param[in] h The dcerpc binding handle to use.
*
* @param[in] mem_ctx The memory context to use.
*
/**
* @brief Change the password of a user based on username.
*
- * @param[in] h The dcerpc binding hanlde to use.
+ * @param[in] h The dcerpc binding handle to use.
*
* @param[in] mem_ctx The memory context to use.
*
* @param[in] srv_name_slash The server name with leading slashes.
*
- * @param[in] username The name of ther user.
+ * @param[in] username The name of the user.
*
* @param[in] newpassword The new password to set.
*
* @brief Change the password of a user based on the user name given and using
* blobs.
*
- * @param[in] h The dcerpc binding hanlde to use.
+ * @param[in] h The dcerpc binding handle to use.
*
* @param[in] mem_ctx The memory context to use.
*
* @param[in] srv_name_slash The server name with leading slashes.
*
- * @param[in] username The name of ther user.
+ * @param[in] username The name of the user.
*
- * @param[in] new_nt_password_blob The new password as a crypted blob.
+ * @param[in] new_nt_password_blob The new password as a encrypted blob.
*
* @param[in] old_nt_hash_enc_blob The old password as a hash encoded blob.
*
/**
* @brief
*
- * @param[in] h The dcerpc binding hanlde to use.
+ * @param[in] h The dcerpc binding handle to use.
*
* @param[in] mem_ctx The memory context to use.
*
* @param[in] srv_name_slash The server name with leading slashes.
*
- * @param[in] username The name of ther user.
+ * @param[in] username The name of the user.
*
* @param[in] newpassword The new password to set.
*
*
* @param[out] max_entries A pointer to store maximum entries value.
*
- * @param[out] max_size A poiter to store the maximum size value.
+ * @param[out] max_size A pointer to store the maximum size value.
*/
void dcerpc_get_query_dispinfo_params(int loop_count,
uint32_t *max_entries,
uint32_t *max_size);
/**
- * @brief Try if we can connnect to samr.
+ * @brief Try if we can connect to samr.
*
- * @param[in] h The dcerpc binding hanlde to use.
+ * @param[in] h The dcerpc binding handle to use.
*
* @param[in] mem_ctx The memory context to use.
*
*
* Get the data that is associated with the named value of a specified registry
* open key. This function ensures that the key is a dword and converts it
- * corretly.
+ * correctly.
*
* @param[in] mem_ctx The memory context to use.
*
* @brief Add a value to the multi sz data.
*
* This reads the multi sz data from the given value and adds the data to the
- * multi sz. Then it saves it to the regsitry.
+ * multi sz. Then it saves it to the registry.
*
* @param[in] mem_ctx The memory context to use.
*
*
* @param[out] pnames A pointer to store all the names of the values we found.
*
- * @param[out] _type A pointer to store all the types coresponding with the
+ * @param[out] _type A pointer to store all the types corresponding with the
* values found.
- * @param[out] pdata A pointer to store the data coresponding to the values.
+ * @param[out] pdata A pointer to store the data corresponding to the values.
*
* @param[out] pwerr A pointer to the WERROR. WERR_OK on success
* WERR_OK on success, the corresponding DOS error
struct dcerpc_binding_handle;
/**
- * @brief Connect to the interal winreg server and open the given key.
+ * @brief Connect to the internal winreg server and open the given key.
*
* The function will create the needed subkeys if they don't exist.
*
WERROR *pwerr);
/**
- * @brief Connect to the interal winreg server and open the given key.
+ * @brief Connect to the internal winreg server and open the given key.
*
* The function will create the needed subkeys if they don't exist.
*
/**
- * @brief Get the inforamtion of a printer stored in the registry.
+ * @brief Get the information of a printer stored in the registry.
*
* @param[in] mem_ctx The talloc memory context to use.
*
*
* @param[in] type The type of the value to use.
*
- * @param[in] data The data which sould be saved under the given value.
+ o @param[in] data The data which should be saved under the given value.
*
* @param[in] data_size The size of the data.
*
*
* @param[in] core_driver_guid The core driver guid.
*
- * @param[out] core_printer_driver The returned core printer driver definiton
+ * @param[out] core_printer_driver The returned core printer driver definition
*
* @return On success WERR_OK, a corresponding DOS error is
* something went wrong.