<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-compose;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal style='margin-bottom:12.0pt'>Hello Matthieu,<br>
<br>
Thanks for your question. We will investigate it and let you know if we need
any additional clarification. <br>
<br>
Best Regards,<br>
<br>
Hongwei Sun <br>
Email: hongweis@microsoft.com<br>
Phone: +1 (469) 7757027<br>
Time zone: (UTC-06:00) Central Time (US and Canada)<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: Matthieu Patou [mailto:mat+Informatique.Samba@matws.net] <br>
Sent: Monday, January 11, 2010 6:54 AM<br>
To: Interoperability Documentation Help; cifs-protocol@samba.org;
pfif@tridgell.net<br>
Subject: DPAPI interaction with Active Directory<br>
<br>
Hello,<br>
<br>
In this page http://msdn.microsoft.com/en-us/library/ms995355.aspx it is <br>
stated:<br>
<br>
&quot;When a computer is a member of a domain, DPAPI has a backup mechanism <br>
to allow unprotection of the data. When a MasterKey is generated, DPAPI <br>
talks to a Domain Controller. Domain Controllers have a domain-wide <br>
public/private key pair, associated solely with DPAPI. The local DPAPI <br>
client gets the Domain Controller public key from a Domain Controller <br>
via a mutually authenticated and privacy protected RPC call. The client <br>
encrypts the MasterKey with the Domain Controller public key. It then <br>
stores this backup MasterKey along with the MasterKey protected by the <br>
user's password.<br>
<br>
While unprotecting data, if DPAPI cannot use the MasterKey protected by <br>
the user's password, it sends the backup MasterKey to a Domain <br>
Controller via a mutually authenticated and privacy protected RPC call. <br>
The Domain Controller then decrypts the MasterKey with its private key <br>
and sends it back to the client via the same protected RPC call. This <br>
protected RPC call is used to ensure that no one listening on the <br>
network can get the MasterKey.&quot;<br>
<br>
My question is: is there any kind of more technical documentation about <br>
this explaining the dialogs between a workstation and a DC when <br>
masterkey is generated and when the backup is sent to the server ?<br>
<br>
Regards.<br>
<br>
Matthieu Patou.<o:p></o:p></p>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p>Microsoft is committed to protecting your privacy. Please read the <a
href="http://privacy.microsoft.com/en-us/default.mspx">Microsoft Privacy
Statement</a> for more information. <br>
<br>
The above is an email for a support case from Microsoft Corp.<br>
REPLY ALL TO THIS MESSAGE or INCLUDE <a href="mailto:casemail@microsoft.com">casemail@microsoft.com</a>
<br>
IN YOUR REPLY if you want your response added to the case automatically. <br>
For technical assistance, please include the Support Engineer on the TO: line. <br>
Thank you.<o:p></o:p></p>

</div>

</body>

</html>