<html>
  <head>
    <style type="text/css">
      <!--
        body { font-variant: normal; line-height: normal; margin-bottom: 1px; margin-right: 4px; margin-top: 4px; margin-left: 4px }
        p { margin-bottom: 0; margin-top: 0 }
      -->
    </style>
    
  </head>
  <body>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">Here is what I came up with&#44; and I think I will have casper run it on every client machine. &nbsp;Not all of our machines are on mobile accounts at the moment so if it looped through all user accounts it would work. &nbsp;Thus far&#44; this is what I wrote&#44; what do you all think&#63;</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Lucida Grande" size="3" color="#0033ff"><i>&#35;&#33;/bin/sh</i></font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Lucida Grande" size="3" color="#0033ff"><i>&#35;loop through user accounts and enable plain text for AFP</i></font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Lucida Grande" size="3" color="#0033ff"><i>file&#61;com.apple.AppleShareClient.plist</i></font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Lucida Grande" size="3" color="#0033ff"><i>for file in /Users/&#42;/Library/Preferences/&#42;</i></font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Lucida Grande" size="3" color="#0033ff"><i>if &#91;&#91; -e &#36;file &#93;&#93;</i></font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Lucida Grande" size="3" color="#0033ff"><i>then defaults write com.apple.AppleShareClient &quot;afp_cleartext_allow&quot;&nbsp;&#8209;bool YES </i></font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Lucida Grande" size="3" color="#0033ff"><i></i></font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Lucida Grande" size="3" color="#0033ff"><i>else echo &quot;no file found&quot;</i></font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Lucida Grande" size="3" color="#0033ff"><i></i></font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Lucida Grande" size="3" color="#0033ff"><i>fi</i></font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Lucida Grande" size="3" color="#0033ff"><i>done</i></font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Lucida Grande" size="3" color="#0033ff"><i>exit</i></font><font size="3" face="Lucida Grande"></font>    </p>
<br>      <br>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">If any of you think of a better way I would gladly like to hear it.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">Thanks&#44;</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">Tom</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <br>
      <br>
      &gt;&gt;&gt; Clinton Blackmore &lt;clinton.blackmore@westwind.ab.ca&gt; 03/31/09 9:13 AM &gt;&gt;&gt;<br>    </p>
    <div>
      <p style="margin-top: 0; margin-bottom: 0">
        I&#39;ve attached and pasted FixOfficeDefaults.sh&#44; which does just the sort of thing you are looking for.&nbsp;&#160;IIRC&#44; I never did get it to show an error in the Casper logs &#40;although you can see that it tries to&#41;&#59; but&#44; it does find the user and run defaults for them.      </p>
    </div>
    <div>
      <p style="margin-top: 0; margin-bottom: 0">
        <br>
              </p>
    </div>
    <div>
      <p style="margin-top: 0; margin-bottom: 0">
        Cheers&#44;      </p>
    </div>
    <div>
      <p style="margin-top: 0; margin-bottom: 0">
        Clinton Blackmore      </p>
    </div>
    <div>
      <p style="margin-top: 0; margin-bottom: 0">
        <br>
              </p>
    </div>
    <div>
<br>        
    </div>
  </body>
</html>