<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 15 (filtered medium)">
<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:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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-AU" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi, <o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I&#8217;m trying to use <span style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:black;background:white">
Windows Services for NFS<span class="apple-converted-space">&nbsp;to expose a gluster node and access this folder with an Application Pool Identity. I can map the drive correctly and read access works but I can&#8217;t get write working.
<o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="apple-converted-space"><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:black;background:white"><o:p>&nbsp;</o:p></span></span></p>
<p class="MsoNormal"><span class="apple-converted-space"><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:black;background:white"><o:p>&nbsp;</o:p></span></span></p>
<p class="MsoNormal"><span class="apple-converted-space"><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:black;background:white">The procedure I&#8217;m using is:<o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="apple-converted-space"><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:black;background:white">Set the DefaultApplicationPoolIdentity to use user &#8220;CustomUser&#8221;<o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="apple-converted-space"><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:black;background:white"><o:p>&nbsp;</o:p></span></span></p>
<p class="MsoNormal"><span class="apple-converted-space"><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:black;background:white">Set the following environment variables to 0 (for root)<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:black">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS \CurrentVersion\Default\AnonymousUid HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS \CurrentVersion\Default\AnonymousGid
</span><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#333333"><o:p></o:p></span></p>
<p class="MsoNormal"><span class="apple-converted-space"><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:black;background:white"><o:p>&nbsp;</o:p></span></span></p>
<p class="MsoNormal"><span class="apple-converted-space"><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:black;background:white">Open a cmd with &#8220;CustomUser&#8221;</span></span><o:p></o:p></p>
<p class="MsoNormal">mount -o nolock &lt;ip-of-gluster&gt;:/datapoint Z:<o:p></o:p></p>
<p class="MsoNormal">SUCCESS<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Then the iis application is supposed to write log files out to Z:\ but always fails. I wrote a small test app that stats the folder and I can successfully stat the directory with &#8220;CustomUser&#8221;. Right click &gt; Properties&gt;NFS Attributes shows
 RWX for all and the NFS Mount Options shows UID 0 Primary GID 0. <o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I can&#8217;t think of anything else that would be standing in the way. Any advice is greatly appreciated.
<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Thanks, Jeremy.<o:p></o:p></p>
</div>
</body>
</html>