[cifs-protocol] [REG:110080418016869] version field and a GUID field no documented
mat at samba.org
Sun Aug 8 14:17:47 MDT 2010
On 07/08/2010 02:59, Hongwei Sun wrote:
> --- Fixed the minimal editor mistake.
> I am working on the following issue you reported.
> [MS-BKRP] 126.96.36.199.3 -- version field and a GUID field no documented
> Also I've got questions of what is explained in the document.
> First in paragraph 188.8.131.52.3, it is stated
> "The server MUST ignore the cbDataIn and pDataIn parameters. It MUST
> return the RSA public key
> from the ClientWrap key pair, in the format specified in section 2.2.1.
> If no such key can be found or
> created, the server MUST return an error."
> The client is supposed to send a 2.2.2 Client-Side-Wrapped Secret struct
> in the pDataIn variable, this struct contains also a version field and a
> guid field.
> Nothing is said about this fields, how should they be populated, can you
> explain this ?
> I think that there may be something mixed up here. The paragraph 184.108.40.206.3 is for sending BACKUPKEY_RETRIEVE_BACKUP_KEY_GUID to request the public key part of the server's ClientWrap key pair. Just as mentioned in your message, there should no input to pDataIn variable as well as cbDataIn, so I am not sure that the second paragraph is related to your question , unless you are talking about sending BACKUPKEY_RESTORE_GUID which requires clients to send Client-Side-Wrapped Secret structure.
> If this is the case, version field should be populated as either 2 or 3 based on the EncryptedSecret and AccessCheck fields (2.2.2 MS-BKRP). The guidKey should be populated using the unique GUID of the public key returned from BACKUPKEY_RETRIEVE_BACKUP_KEY_GUID request.
> Please confirm.
Ah yeah It seems that I get confused.
Samba Team http://samba.org
More information about the cifs-protocol