* the whole data blob, so auth_data_only must be set to false
* as the blob contains data+pad+auth and no just pad+auth.
*
-* @param pkt - The ncacn_packet strcuture
+* @param pkt - The ncacn_packet structure
* @param mem_ctx - The mem_ctx used to allocate dcerpc_auth elements
* @param pkt_trailer - The packet trailer data, usually the trailing
* auth_info blob, but in the request/response case
* this is the stub_and_verifier blob.
* @param auth - A preallocated dcerpc_auth *empty* structure
* @param auth_length - The length of the auth trail, sum of auth header
-* lenght and pkt->auth_length
+* length and pkt->auth_length
* @param auth_data_only - Whether the pkt_trailer includes only the auth_blob
* (+ padding) or also other data.
*
}
/*
- * This is a workarround for a bug in old
+ * This is a workaround for a bug in old
* Samba releases. For BIND_ACK <= 3.5.x
* and for ALTER_RESP <= 4.2.x (see bug #11061)
*
/**
* @brief Verify the fields in ncacn_packet header.
*
-* @param pkt - The ncacn_packet strcuture
+* @param pkt - The ncacn_packet structure
* @param ptype - The expected PDU type
* @param max_auth_info - The maximum size of a possible auth trailer
* @param required_flags - The required flags for the pdu.
* the whole data blob, so auth_data_only must be set to false
* as the blob contains data+pad+auth and no just pad+auth.
*
-* @param pkt - The ncacn_packet strcuture
+* @param pkt - The ncacn_packet structure
* @param mem_ctx - The mem_ctx used to allocate dcerpc_auth elements
* @param pkt_trailer - The packet trailer data, usually the trailing
* auth_info blob, but in the request/response case
* this is the stub_and_verifier blob.
* @param auth - A preallocated dcerpc_auth *empty* structure
* @param auth_length - The length of the auth trail, sum of auth header
-* lenght and pkt->auth_length
+* length and pkt->auth_length
* @param auth_data_only - Whether the pkt_trailer includes only the auth_blob
* (+ padding) or also other data.
*
* listen on distinct ports, if they have one forced
* in the code above with eg 'rpc server port:drsuapi = 1027'
*
- * If we have mulitiple endpoints on port 0, they each
+ * If we have multiple endpoints on port 0, they each
* get an epemeral port (currently by walking up from
* 1024).
*