Windows: Freelance Discovery configuration
[openafs.git] / doc / xml / ReleaseNotesWindows / relnotes.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.3//EN"
3         "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"[
4 <!ENTITY version SYSTEM "version.xml">
5 ]>
6 <book>
7   <bookinfo>
8     <title>OpenAFS for Windows Release Notes</title>
9     <copyright>
10       <year>2003-2012</year>
11       <holder>Secure Endpoints Inc. and Your File System Inc.</holder>
12     </copyright>
13     <legalnotice>
14       <para>This documentation is covered by the MIT License.</para>
15     </legalnotice>
16     <revhistory>
17     &version;
18     </revhistory>
19     <abstract>
20       <para>This document provides a series of usage notes regarding the OpenAFS for Windows
21       client, supported platforms, contribution information, debugging techniques, and
22       a reference to supported Windows registry values.
23      </para>
24     </abstract>
25   </bookinfo>
26   <preface>
27     <title id="Preface">Preface</title>
28     <para>The Andrew File System (AFS) is a globally-accessible location-independent file system
29       that uses local caching to increase its performance. An AFS client accesses files anonymously
30       or authenticated via Kerberos. The global AFS is partitioned into cells. Each AFS cell is a
31       collection of AFS volumes that are administered by a common entity. AFS cells can be
32       administered by a department even when the associated Kerberos authentication realms are
33       managed by a much larger organization. AFS clients and servers take advantage of Kerberos
34       cross-realm authentication to permit authenticated access by entities located outside the
35       local realm. Authorization is enforced by the use of directory level access control lists of
36       individual or group identities. </para>
37     <para>The AFS volume is a tree of files and sub-directories. AFS volumes are created by administrators and are joined to an AFS cell via the use of a mount point. Once a volume is created, users can create files and directories as well as mount points and symlinks within the volume without regard for the physical location of the volume. Administrators can move the volume to another server as necessary without the need to notify users. In fact, the volume move can occur while files in the volume are in use. </para>
38     <para>AFS volumes can be replicated to read-only copies. When accessing files from a read-only replica, clients will read all of the data from a single replica. If that replica becomes unavailable, the clients will failover to any replica that is reachable. Users of the data are unaware of where the replicas are stored or which one is being accessed. The contents of the replicas can be updated at any time by
39       <emphasis>releasing</emphasis> the current contents of the source volume.
40     </para>
41     <para>OpenAFS for Windows (OAFW) provides AFS client access on Microsoft Windows operating
42       systems. It strives to maintain transparency such that the user is unaware of the distinction
43       between the use of AFS and Microsoft Windows file shares. OAFW can be part of a single sign-on
44       solution by allowing credentials for a Kerberos principal to be obtained at logon and for that
45       principal to be used to obtain AFS tokens for one or more cells. OAFW is implemented as a
46       native installable file system and maintains the portability of file paths by its use of the
47       \\AFS UNC server name.</para>
48     <para>OpenAFS is the product of an open source development effort begun on 1 November 2000.
49       OpenAFS is maintained and developed by a group of volunteers with the support of the end user
50       community. When OpenAFS is used as part of your computing infrastructure, please <link
51         linkend="Contributing_to_OpenAFS">contribute</link> to its continued growth. </para>
52   </preface>
53   <chapter id="chap_1">
54     <title id="Installer_Options">Installer Options</title>
55     <para>OpenAFS can be installed either as a new installation or an upgrade from previous versions of either OpenAFS for Windows or the former IBM AFS 3.6 for Windows.
56   Installers are provided as <ulink url="http://msdn.microsoft.com/en-us/library/cc185688%28v=vs.85%29.aspx">Windows Installer packages (.msi)</ulink> that are built using the open source
57   <ulink url="http://wix.sourceforge.net/">WiX Toolkit</ulink>.  The MSI can be customized for organizations via the use of <ulink url="http://msdn.microsoft.com/en-us/library/aa367447%28v=vs.85%29.aspx">MSI Transforms</ulink> (see <link linkend="Introduction_to_MSI_Deployment">MSI Deployment Guide</link>)
58     </para>
59   </chapter>
60   <chapter id="chap_2">
61     <title id="System_Requirements">System Requirements</title>
62     <section>
63       <title id="Supported_Operating_Systems">2.1 Supported Operating Systems</title>
64       <para>
65         <indexterm significance="normal">
66           <primary>operating system versions, supported</primary>
67         </indexterm>
68         <indexterm significance="normal">
69           <primary>system requirements</primary>
70         </indexterm>
71         <itemizedlist>
72           <listitem>
73             <para>Microsoft Windows XP Home SP2 and SP3</para>
74           </listitem>
75           <listitem>
76             <para>Microsoft Windows XP Professional SP2 and SP3</para>
77           </listitem>
78           <listitem>
79             <para>Microsoft Windows XP 64 SP1 and SP2</para>
80           </listitem>
81           <listitem>
82             <para>Microsoft Windows 2003 Server SP1 and SP2 (32-bit and 64-bit Intel)</para>
83           </listitem>
84           <listitem>
85             <para>Microsoft Windows 2003 R2 Server (32-bit and 64-bit Intel)</para>
86           </listitem>
87           <listitem>
88             <para>Microsoft Windows Vista (32-bit and 64-bit Intel)</para>
89           </listitem>
90           <listitem>
91             <para>Microsoft Windows 2008 Server (32-bit and 64-bit Intel)</para>
92           </listitem>
93           <listitem>
94             <para>Microsoft Windows 7 (32-bit and 64-bit Intel)</para>
95           </listitem>
96           <listitem>
97             <para>Microsoft Windows 2008 Server R2 (64-bit Intel)</para>
98           </listitem>
99           <listitem>
100             <para>Microsoft Windows 8 (32-bit and 64-bit Intel)</para>
101           </listitem>
102           <listitem>
103             <para>Microsoft Windows Server 2012 (64-bit Intel)</para>
104           </listitem>
105         </itemizedlist>
106       </para>
107     </section>
108     <section>
109       <title id="Unsupported_Operating_Systems">2.1.1 Unsupported Operating Systems</title>
110       <para>
111         <indexterm significance="normal">
112           <primary>operating system versions, unsupported</primary>
113         </indexterm>
114         <itemizedlist>
115           <listitem>
116             <para> Microsoft Windows 95</para>
117           </listitem>
118           <listitem>
119             <para>Microsoft Windows 98</para>
120           </listitem>
121           <listitem>
122             <para>Microsoft Windows 98 OSR2</para>
123           </listitem>
124           <listitem>
125             <para>Microsoft Windows ME</para>
126           </listitem>
127           <listitem>
128             <para>Microsoft NT</para>
129           </listitem>
130           <listitem>
131             <para>Microsoft Windows 2000 Workstation</para>
132           </listitem>
133           <listitem>
134             <para>Microsoft Windows 2000 Server</para>
135           </listitem>
136           <listitem>
137             <para>Microsoft Windows XP Home (pre-SP2)</para>
138           </listitem>
139           <listitem>
140             <para>Microsoft Windows XP Professional (pre-SP2)</para>
141           </listitem>
142         </itemizedlist>
143       </para>
144       <para>Older releases of OpenAFS are available for download if unsupported operating systems must be used. The last version of OpenAFS with support for Win9x is 1.2.2b. The last version with support for Windows NT 4.0 is 1.2.10.  The last version to support Windows 2000 and XP SP1 is 1.6.x.</para>
145     </section>
146     <section>
147       <title id="Disk_Space">2.2 Disk Space</title>
148       <para>
149         <indexterm significance="normal">
150           <primary>disk space required</primary>
151         </indexterm> Up to 60mb required for the OpenAFS binaries plus 100MB for the default
152         AFSCache file. The size of the AFSCache file may be adjusted via <link
153           linkend="Regkey_TransarcAFSDaemon_Parameters_CacheSize">the Registry</link> after
154         installation. The maximum cache size for 32-bit Windows is approximately 1.2GB. On 64-bit
155         Windows there is no enforced limit on the cache size. </para>
156     </section>
157     <section>
158       <title id="Additional_Software_Packages">2.3 Additional Software Packages</title>
159       <indexterm significance="normal">
160         <primary>kerberos for windows</primary>
161       </indexterm>
162       <indexterm significance="normal">
163         <primary>heimdal</primary>
164       </indexterm>
165       <para>
166         <ulink url="https://www.secure-endpoints.com/heimdal">Heimdal</ulink> or <ulink url="http://web.mit.edu/kerberos/dist/index.html">MIT Kerberos for Windows</ulink> 3.2.x if Kerberos v5 authentication support is desired.  Heimdal is preferred over MIT Kerberos as it will provide OpenAFS the ability to offer enhanced capabilities in future releases.  For 64-bit Windows installations, the 64-bit version of Kerberos for Windows is required.  For 32-bit Windows installations, the 32-bit version of Kerberos for Windows is required.
167         See <link linkend="Kerberos_v5_Requirements">3.2 Kerberos v5 Requirements</link> for additional details.
168       </para>
169     </section>
170   </chapter>
171   <chapter id="chap_3">
172     <title id="Operational_Notes">Operational Notes</title>
173     <section>
174       <title id="Unicode_Support">3.1. Unicode Support</title>
175       <indexterm significance="normal">
176         <primary>unicode</primary>
177       </indexterm>
178       <indexterm significance="normal">
179         <primary>character sets</primary>
180       </indexterm>
181       <indexterm significance="normal">
182         <primary>roaming profiles</primary>
183       </indexterm>
184       <indexterm significance="normal">
185         <primary>folder redirection</primary>
186       </indexterm>
187       <para>Starting with the 1.5.50 release of OpenAFS for Windows, each of the AFS Client Service, the AFS Explorer Shell Extension, and the command-line tools are Unicode enabled.  No longer is OpenAFS restricted to accessing file system objects whose names can be represented in the locale specific OEM code page.  This has significant benefits for end users.  Most importantly it permits non-Western languages to now be used for file system object names in AFS from Microsoft Windows operating systems.  Now that Unicode names are supported,
188         <ulink url="http://en.wikipedia.org/wiki/Roaming_user_profile">Roaming User Profiles</ulink> and
189         <ulink url="http://en.wikipedia.org/wiki/Folder_redirection">Folder Redirection</ulink> will no longer fail when a user attempts to store an object with a name that cannot be represented in the OEM code page.
190       </para>
191       <para>Unicode names are stored in AFS using UTF-8 encoding.  UTF-8 is supported as a locale on MacOS X, Linux, Solaris, and most other operating systems.  This permits non-Western object names to be exchanged between Microsoft Windows and other operating systems.  The OpenAFS for Windows client also implements
192         <ulink url="http://en.wikipedia.org/wiki/Unicode_normalization">Unicode Normalization</ulink> as part of the name lookup algorithm.  This is necessary because Unicode does not provide a unique representation for each input string.  The use of normalization permits a file system object name created on MacOS X to be matched with the same string entered on Microsoft Windows even though the operating system's choice of representation may be different.
193       </para>
194       <para>It is important to note that AFS file servers are character-set agnostic.  All file system object names are stored as octet strings without any character set tagging.  If a file system object is created using OEM Code Page 858 and then interpreted as UTF-8 it is likely that the object name will appear to be gibberish.  OpenAFS for Windows goes to great lengths to ensure that the object name is converted to a form that will permit the user to rename the object using Unicode.  Accessing UTF-8 names on UNIX systems that have the locale set to one of the ISO Latin character sets will result in the UTF-8 strings appearing to be gibberish.  </para>
195       <para>UNIX AFS can not perform Unicode Normalization for string comparisons.  Although it is possible to store and read Unicode object names, it is possible that a user may not be able to open an object by typing the name of the object at the keyboard.  GUI point and click operations should permit any object to be accessed.</para>
196       <section>
197         <title>3.1.1. Interoperability with MacOS X</title>
198         <indexterm>
199           <primary>MacOS X</primary>
200         </indexterm>
201         <para>MacOS X uses UTF-8 Normalization Form D (NFD) whereas Microsoft Windows and most other
202           applications use UTF-8 Normalization Form C (NFC).  The difference is that in NFD Unicode
203           character sequences containing diacritical marks are decomposed whereas in NFC the Unicode
204           character sequences use combined characters whenever possible.  Whereas Microsoft Windows
205           can display and manipulate files stored using NFD, MacOS X Finder does have trouble with
206           filenames that are NFC encoded.  All file names stored by the OpenAFS Windows client use
207           NFC.</para>
208       </section>
209     </section>
210     <section id="Kerberos_v5_Requirements">
211       <title>3.2. Requirements for Kerberos v5 Authentication</title>
212       <indexterm significance="normal">
213         <primary>kerberos for windows</primary>
214       </indexterm>
215       <indexterm significance="normal">
216         <primary>heimdal</primary>
217       </indexterm>
218       <para>The OpenAFS distribution ships with its own implementation of Kerberos v4 and although
219         it is Kerberos v5 capable, it relies on third-party Kerberos v5 libraries. The OpenAFS 1.4
220         series (and later) integrates with <ulink url="https://www.secure-endpoints.com/heimdal"
221           >Heimdal</ulink> or <ulink url="http://web.mit.edu/kerberos/">MIT Kerberos for
222           Windows</ulink> 2.6.5 and above. OpenAFS Kerberos v5 capable functionality includes
223         integrated logon, the AFS Authentication Tool, the Network Identity Manager AFS provider,
224         and the aklog command. These tools provide support for Kerberos v5 authentication including
225         acquisition and automatic renewal of AFS tokens as well as support for single sign-on via
226         the Microsoft Windows Kerberos Logon Service. </para>
227       <indexterm significance="normal">
228         <primary>network identity manager</primary>
229       </indexterm>
230       <para>The recommended versions of <ulink url="https://www.secure-endpoints.com/heimdal"
231           >Heimdal</ulink> and <ulink url="http://web.mit.edu/kerberos/">MIT Kerberos for
232           Windows</ulink> are distributed by <ulink url="https://www.secure-endpoints.com/">Secure
233           Endpoints Inc.</ulink>. As of this writing, the Secure Endpoints Inc. distribution
234         provides 64-bit Windows support which is unavailable from MIT.  KFW 3.2.2 includes Network
235         Identity Manager 1.3.1 which integrates with the <link
236           linkend="Network_Identity_Manager_Provider">AFS Provider</link> installed as part of
237         OpenAFS for Windows. The most recent version of Network Identity Manager is version 2.1
238         which is available as an independent upgrade to MIT Kerberos for Windows.   Heimdal does not
239         include a version of Network Identity Manager.</para>
240       <indexterm significance="normal">
241         <primary>transarc afs</primary>
242       </indexterm>
243       <para>With Heimdal or Kerberos for Windows installed, the OpenAFS for Windows client can
244         perform authentication to AFS services using Kerberos v5 service tickets as AFS tokens. When
245         a Kerberos v5 derived AFS token is used, all of the AFS Volume Location and File Servers
246         within the authenticated cell must support Kerberos v5. If a Kerberos v5 based token is
247         presented to an AFS server that does not support them, the server will be unable to respond
248         to the client. Attempts to access AFS volumes stored on such a server will fail with the
249         Windows STATUS_NO_KERB_KEY (0xC0000322L) error. Kerberos v5 based tokens are supported by
250         OpenAFS revisions 1.2.8 or later. IBM AFS 3.6 servers do not support Kerberos v5.</para>
251       <section>
252         <title id="Active_Directory">3.2.1. Active Directory</title>
253         <indexterm significance="normal">
254           <primary>active directory</primary>
255         </indexterm>
256         <indexterm significance="normal">
257           <primary>des-cbc-crc encryption type</primary>
258         </indexterm>
259         <para>Microsoft Windows Active Directory can be used as a Kerberos v5 KDC in conjunction
260           with OpenAFS. <itemizedlist>
261             <listitem>
262               <para> There are two things to consider when using an Active Directory as the Kerberos
263                 realm that issues the AFS service ticket. First, the Kerberos v5 tickets issued by
264                 Active Directory can be quite large when compared to tickets issued by traditional
265                 UNIX KDCs due to the inclusion of Windows specific authorization data <ulink
266                   url="http://msdn.microsoft.com/en-us/library/cc237917%28v=prot.10%29.aspx">(the
267                   Microsoft PAC)</ulink>. If the issued tickets are larger than 344 bytes, OpenAFS
268                 1.2.x servers will be unable to process them and will issue a RXKADBADTICKET error.
269                 OpenAFS 1.4 (and beyond) servers can support the largest tickets that Active
270                 Directory can issue. </para>
271             </listitem>
272             <listitem>
273               <para>Second, the Kerberos v5 tickets issued by Windows 2003 Active Directory are
274                 encrypted with the DES-CBC-MD5 encryption type (enctype). OpenAFS 1.2.x servers only
275                 support the DES-CBC-CRC enctype. As a result, OpenAFS 1.2.x servers cannot process
276                 the resulting Kerberos v5 tokens. Windows 2000 Active Directory issues tickets with
277                 the DES-CBC-CRC enctype. Windows Server 2008 R2 Active Directory domain by default
278                 disables use of DES-CBC-MD5 and it must be enabled. </para>
279               <para>Microsoft has documented in <ulink url="http://support.microsoft.com/kb/832572/"
280                   >Knowledge Base article 832572</ulink> a new NO_AUTH_REQUIRED flag that can be set
281                 on the account mapped to the AFS service principal. When this flag is set, the PAC
282                 authorization data will not be included in the ticket. Setting this flag is
283                 recommended for all accounts that are associated with non-Windows services and that
284                 do not understand the authorization data stored in the PAC. This flag cannot be used
285                 if AFS service tickets are obtained via cross-realm using an Active Directory user
286                 principal. </para>
287               <para>Note that an Active Directory computer object cannot be used for the afs service
288                 principal. A user object must be used.</para>
289             </listitem>
290             <listitem>
291               <para>Starting with Windows 7 and Windows Server 2008 R2, Microsoft has disabled the
292                 single DES encryption types,<ulink
293                   url="http://technet.microsoft.com/en-us/library/dd560670(WS.10).aspx">TechNet:
294                   Changes in Kerberos Authentication</ulink>. DES must be enabled via Group Policy
295                 in order for Active Directory to be used as a KDC for OpenAFS.  Enable weak
296                 encryption becuase of AFS... Start &gt; Administrative Tools &gt; Group Policy
297                 Management Expand Forest &gt; Domains &gt; (domain name) &gt; Group Policy Objects
298                 &gt; Default Domain Policy Right-click "Default Domain Policy" and select "Edit"
299                 Expand "Computer Configuration" &gt; "Policies" &gt; "Windows Settings” &gt;
300                 "Security Settings” &gt; "Local Policies” &gt; "Security Options” Double click
301                 "Network security: Configure encryption types allowed for Kerberos” Select "Define
302                 this policy setting", then select "DES_CBC_CRC" and all the others... Press "OK" </para>
303             </listitem>
304           </itemizedlist></para>
305       </section>
306       <section>
307         <title id="Using_krb524_Service">3.2.2. The krb524 Service is no longer supported</title>
308         <indexterm significance="normal">
309           <primary>krb524</primary>
310         </indexterm>
311         <indexterm significance="normal">
312           <primary>port, 4444/udp</primary>
313         </indexterm>
314         <indexterm significance="normal">
315           <primary>registry value, Use524</primary>
316         </indexterm>
317         <para>Before there was native support for Kerberos v5 derived AFS tokens, the krb524 service was used to convert a Kerberos v5 service ticket into a Kerberos v4 service ticket that could in turn be used to construct an AFS authentication token. As of OpenAFS 1.2.8 [14 December 2002], support was added to allow the immediate use of Kerberos v5 tickets as AFS (2b) tokens. This is the first building block necessary to break away from the limitations of Kerberos v4 with AFS. By using Kerberos v5 directly the security holes inherent in Kerberos v4 cross-realm are avoided.  Use of cryptographically stronger algorithms for authentication and encryption become a possibility.</para>
318         <para>Another reason for using Kerberos v5 directly is because the krb524 service runs on port (4444/udp), which has increasingly been blocked by Internet service providers. The port was used to spread a worm which attacked Microsoft Windows in the Summer of 2003. When the port is blocked users find that they are unable to authenticate.</para>
319         <para>Replacing the Kerberos v4 ticket with a Kerberos v5 ticket is a win in all situations except when the cell name does not match the realm name and the principal names placed into the ACL's are not the principal names from the Kerberos v5 ticket.  Unfortunately, some organizations have AFS cell names and Kerberos realm names which differ by more then just typographic case and rely the krb524d service to map the Kerberos v5 client principal name from realm FOO to a Kerberos v4 principal in realm BAR. This allows user@FOO to appear to be user@bar for the purposes of accessing the AFS cell.
320         </para>
321         <para>To support this mode of operation OpenAFS for Windows versions 1.4.x through 1.6.x supported a registry value,
322           <link linkend="Value_Use524">Use524</link>, that forced the use of krb524d within the AFS Authentication Tool and during integrated logon. Previous revisions of this documentation advised that this option should only be used by individuals until such time as their organizations transitioned away from the krb524 service.
323         </para>
324         <para>Over the last few years all Kerberos distributions have removed support for Kerberos v4.  As a result, OpenAFS can no longer support the krb524d service and the functionality has been removed from the source tree for the 1.7.x release.</para>
325         <para>As an alternative, sites should be aware that the OpenAFS 1.4.x servers permit the use of a secondary realm name that can be treated as equivalent to the cell name for authentication.  This functionality can be used to avoid the need for the krb524 service if and only if both realms are managed by the same administrative entity.
326         </para>
327       </section>
328       <section id="Network_Identity_Manager_Provider">
329         <title>3.2.3. Network Identity Manager Provider</title>
330         <indexterm significance="normal">
331           <primary>network identity manager</primary>
332         </indexterm>
333         <para>As of release 1.5.9, OpenAFS for Windows includes a Network Identity Manager Provider
334           for obtaining AFS tokens. This plug-in is a contribution from <ulink
335             url="https://www.secure-endpoints.com/">Secure Endpoints Inc.</ulink> Network Identity
336           Manager is a multiple identity credential management tool that ships with <ulink
337             url="http://web.mit.edu/kerberos/">MIT Kerberos for Windows</ulink> version 3.0 and
338           above. The OpenAFS plug-in requires <ulink url="https://www.secure-endpoints.com/heimdal"
339             >Heimdal</ulink> or <ulink url="http://web.mit.edu/kerberos/">MIT Kerberos for
340             Windows</ulink> version 3.1 or above. </para>
341         <para>
342           <inlinemediaobject>
343             <imageobject>
344               <imagedata format="JPG" fileref="relnotes00.jpg" />
345             </imageobject>
346           </inlinemediaobject>
347         </para>
348         <para>The Network Identity Manager replaces the former KFW 2.6.x ticket manager, "Leash", and when combined with the OpenAFS Provider it can be used as a replacement for the AFS Authentication Tool (afscreds.exe).  Unlike both Leash and the AFS Authentication Tool, Network Identity Manager with the OpenAFS Provider can easily acquire and renew AFS tokens for multiple cells from one or more Kerberos v5 identities.</para>
349         <para>
350           <inlinemediaobject>
351             <imageobject>
352               <imagedata format="JPG" fileref="relnotes01.jpg" />
353             </imageobject>
354           </inlinemediaobject>
355         </para>
356         <para>The AFS configuration panel for each Kerberos v5 identity is used to configure which cells credentials should be obtained for and how they should be obtained.  If the cell to realm mapping cannot be automatically determined, it can be explicitly specified.  If the cell does not support Kerberos v5 tickets as tokens, then a krb524 service can be configured.</para>
357         <para>
358           <inlinemediaobject>
359             <imageobject>
360               <imagedata format="JPG" fileref="relnotes02.jpg" />
361             </imageobject>
362           </inlinemediaobject>
363         </para>
364         <para>The OpenAFS Provider configuration panel can be used to check the status of the AFS Client Service and its version.  An optional checkbox is provided that will prevent the AFS Authentication Tool from being started by Windows after login.   A shortcut to the OpenAFS Control Panel is also provided.</para>
365         <para>As of OpenAFS 1.5.66, the Network Identity Manager OpenAFS Provider displays the same AFS Lock notification icon generated by the AFS Authentication Tool.  The AFS Lock can be used to determine if:</para>
366         <itemizedlist>
367           <listitem>
368             <para>one or more AFS tokens are valid</para>
369           </listitem>
370           <listitem>
371             <para>no AFS tokens are present but the AFS service is running</para>
372           </listitem>
373           <listitem>
374             <para>the AFS Service is not running</para>
375           </listitem>
376           <listitem>
377             <para>the AFS Service is running but there is a communication error preventing access to \\AFS</para>
378           </listitem>
379         </itemizedlist>
380       </section>
381       <section>
382         <title>3.2.4. Heimdal 1.5 and Weak Encryption Types</title>
383         <para>Just as Microsoft disabled the use of Weak Encryption Types in Windows 7 and Windows
384           Server 2008 R2, Heimdal and MIT have disabled the use of weak encryption types in their
385           latest releases.  In order to use Heimdal 1.5 or MIT Kerberos 1.9 or later with OpenAFS,
386           the weak encryption types including DES-CBC-CRC and DES-CBC-MD5 must be enabled.  In
387           Heimdal, this is performed by adding "allow_weak_crypto = true" to the [libdefaults]
388           section of the %SystemRoot%\ProgramData\krb5.conf file.</para>
389         <para>Futures versions of OpenAFS will not have this requirement.</para>
390       </section>
391     </section>
392     <section>
393       <title id="Use_of_Microsoft_Loopback">3.3. The Former use of the Microsoft Loopback Adapter by the OpenAFS Client Service</title>
394       <indexterm significance="normal">
395         <primary>microsoft loopback adapter</primary>
396       </indexterm>
397       <para> This section is preserved for those sites that may want to manually configure the
398         OpenAFS Client Service to run as an SMB Gateway to AFS instead of using the native IFS file
399         system redirector driver. When the IFS driver is active, the Microsoft Loopback Adapter is
400         ignored. The OpenAFS 1.7.x installer will not install a Microsoft Loopback Adapter by
401         default nor will it remove one if already present on the machine. </para>
402       <para>The Microsoft Loopback Adapter (MLA) is installed with a name "AFS" and a pre-assigned IP address of 10.254.254.253. The MLA is bound to the "Client for Microsoft Networks" service and not bound to the "File and Printer Sharing for Microsoft Networks" service. If the MLA is unbound to "Client Microsoft Networks", the OpenAFS Client Service will become inaccessible when the machine is disconnected from the network. If the MLA is bound to "File and Printer Sharing ..." there will be a service type collision between the "AFS" SMB Service and the local machine's File Sharing Service.  This will result in the OpenAFS client service becoming inaccessible and the "NET VIEW \\AFS" command will return a "System Error 52" message. To correct the problem:</para>
403       <itemizedlist>
404         <listitem>
405           <para>stop the AFS Client Service</para>
406         </listitem>
407         <listitem>
408           <para>bind the "Client for Microsoft Networks" to the MLA</para>
409         </listitem>
410         <listitem>
411           <para>unbind "File and Printer Sharing for Microsoft Networks" from the MLA</para>
412         </listitem>
413         <listitem>
414           <para>disable and then re-enable the MLA</para>
415         </listitem>
416         <listitem>
417           <para>start the AFS Client Service</para>
418         </listitem>
419       </itemizedlist>
420       <para>When the MLA is not installed the NETBIOS name published by the OpenAFS SMB server must be unique in order to avoid name conflicts on public network.  The unique name will take the form "<emphasis>MACHINE</emphasis>-AFS". One of the benefits of using the MLA is that the NETBIOS name does not have to be published on any adapter other than the MLA. Therefore the chosen name is no longer required to be globally unique. Instead the NETBIOS name associated with the AFS Client Service is simply "AFS" and portable UNC paths of the form \\AFS\cellname\path can now be used on all machines.
421       </para>
422     </section>
423     <section>
424       <title id="Using_Freelance_Mode">3.4. Using Freelance (Dynamic Root) Mode to Improve Mobility</title>
425       <indexterm significance="normal">
426         <primary>freelance mode</primary>
427       </indexterm>
428       <indexterm significance="normal">
429         <primary>root.afs volume, fake</primary>
430       </indexterm>
431       <indexterm significance="normal">
432         <primary>mount points</primary>
433       </indexterm>
434       <indexterm significance="normal">
435         <primary>symlinks</primary>
436       </indexterm>
437       <para>Historically, when the OpenAFS Client Service starts it must mount the "root.afs" volume
438         of the default cell. The "root.afs" volume contains the set of mount points to the
439         "root.cell" volumes of various cells the administrator of the default cell believes should
440         be accessible. If the "root.afs" volume is inaccessible when the client service starts, the
441         service will terminate unexpectedly. Since many users now use laptops or otherwise operate
442         in disconnected environments in which a Virtual Private Network (VPN) connection may be
443         required to access the cell's servers, it is often the case that the "root.afs" volume is
444         unreachable and the OpenAFS Client Service can not successfully start. </para>
445       <para>Freelance mode dynamically constructs a fake "root.afs" volume from mount points and
446         symlinks stored in the local registry.  This permits the OpenAFS Client Service to operate
447         in these environments.</para>
448       <para>The content of the fake "root.afs" volume is dynamically generated as cells are accessed. When the fake "root.afs" volume is initially constructed it will only contain two mount points: a
449         <emphasis>regular path </emphasis>and
450         <emphasis>read-write path </emphasis>mount point used to access the "root.cell" volume of the default AFS cell. Any attempt to access a valid cell name will result in a new mount point being created in the fake "root.afs" volume. If the cellname begins with a "." the mount point will be a
451         <emphasis>read-write path</emphasis>; otherwise the mount point will be a
452         <emphasis>regular path</emphasis>. These mount points are preserved in the registry at key:
453       </para>
454       <para>
455         <link linkend="Regkey_HKLM_SOFTWARE_OpenAFS_Client_Freelance">HKLM\SOFTWARE\OpenAFS\Client\Freelance</link>
456       </para>
457       <para>Additional mount points may be manually created using the "fs mkmount" command. Mount points may be removed using the "fs rmmount" command.</para>
458       <para>&gt;fs mkmount \\AFS\athena.mit.edu root.cell athena.mit.edu</para>
459       <para>&gt;fs mkmount \\AFS\.athena.mit.edu root.cell athena.mit.edu -rw</para>
460       <para>&gt;fs rmmount \\AFS\athena.mit.edu</para>
461       <para>&gt;fs rmmount \\AFS\.athena.mit.edu</para>
462       <para>Symlinks may also be created within the Freelance "root.afs" volume.</para>
463       <para>&gt;symlink make \\afs\link \\afs\athena.mit.edu\user\j\a\jaltman</para>
464       <para> &gt;symlink list \\afs\link</para>
465       <para> '\\afs\link' is a symlink to 'athena.mit.edu\user\j\a\jaltman'</para>
466       <para>&gt;symlink rm \\afs\link</para>
467       <para>The symlinks are stored in the registry at:</para>
468       <para>
469         <link linkend="Regkey_HKLM_SOFTWARE_OpenAFS_Client_Freelance_Symlinks">HKLM\SOFTWARE\OpenAFS\Client\Freelance\Symlinks</link>
470       </para>
471       <para><emphasis>NET VIEW \\AFS</emphasis> can be used to browse all of the entries from the command line.</para>
472     </section>
473     <section>
474       <title id="Locating_VLDB_via_DNS">3.5. Locating AFS Volume Database Servers via DNS </title>
475       <indexterm significance="normal">
476         <primary>dns, vldb lookups</primary>
477       </indexterm>
478       <indexterm significance="normal">
479         <primary>afsdb dns records</primary>
480       </indexterm>
481       <para>The OpenAFS for Windows client will use DNS SRV records and DNS AFSDB records to
482         discover the location of AFS Volume Database servers when entries for the cell are not
483         present in either the client's CellServDB registry store or file
484         (\%ALLUSERSPROFILE%\OpenAFS\Client\CellServDB or \%PROGRAMFILES%\OpenAFS\Client\CellServDB).
485         Also see <link linkend="Registry_VLDB_Configuration">Registry Configuration for AFS Volume
486           Database Servers</link>.</para>
487     </section>
488     <section>
489       <title id="Integrated_Logon">3.6. Obtaining AFS Tokens as a Integrated Part of Windows Logon</title>
490       <indexterm significance="normal">
491         <primary>integrated logon</primary>
492       </indexterm>
493       <indexterm significance="normal">
494         <primary>single sign-on</primary>
495       </indexterm>
496       <indexterm significance="normal">
497         <primary>kerberos for windows</primary>
498       </indexterm>
499       <indexterm significance="normal">
500         <primary>afslogon.dll</primary>
501       </indexterm>
502       <indexterm significance="normal">
503         <primary>EnableKFW</primary>
504       </indexterm>
505       <indexterm significance="normal">
506         <primary>Use524</primary>
507       </indexterm>
508       <indexterm significance="normal">
509         <primary>tokens</primary>
510       </indexterm>
511       <para>OpenAFS for Windows installs a WinLogon Authentication Provider to provide Single
512         Sign-On functionality (aka Integrated Logon.) Integrated Logon can be used to obtain AFS
513         tokens when the Windows username and password match the username and password associated
514         with the default cell's Kerberos realm. For example, if the Windows username is "jaltman"
515         and the default cell is "your-file-system.com", then Integrated Logon can be successfully
516         used if the windows password matches the password assigned to the Kerberos principal
517         "jaltman@YOUR-FILE-SYSTEM.COM". The realm "YOUR-FILE-SYSTEM.COM" is obtained by performing a
518         domain name to realm mapping on the hostname of one of the cell's Volume Database
519         servers.</para>
520       <para>Integrated Logon is required if roaming user profiles are stored within the AFS file
521         system. OpenAFS does not provide tools for synchronizing the Windows and Kerberos user
522         accounts and passwords.  Integrated Logon can be enabled or disabled via the <link
523           linkend="Value_LogonOptions">LogonOptions</link> registry value.</para>
524       <para>When Heimdal or KFW is installed, Integrated Logon will use it to obtain tokens using
525         Kerberos v5. If you must use the <emphasis role="italic">deprecated</emphasis> kaserver for
526         authentication instead of Kerberos v5, the use of KFW can be disabled via the <link
527           linkend="Value_EnableKFW">EnableKFW</link> registry value. </para>
528       <para>Integrated Logon will not transfer Kerberos v5 tickets into the user's logon session credential cache.  This is no longer possible on Vista and Windows 7.</para>
529       <para>Integrated Logon does not have the ability to cache the username and password for the
530         purpose of obtaining tokens if the Kerberos KDC is inaccessible at logon time.</para>
531       <para>Integrated Logon supports the ability to obtain tokens for multiple cells.  For further
532         information on how to configure this feature, read about the <link
533           linkend="Value_TheseCells">TheseCells</link> registry value. </para>
534       <para>Depending on the configuration of the local machine, it is possible for logon
535         authentication to complete with one of the following user account types:</para>
536       <para>
537         <itemizedlist>
538           <listitem>
539             <para>Local Machine Account (<emphasis role="italic">LOCALHOST</emphasis> domain)</para>
540           </listitem>
541           <listitem>
542             <para>Domain or Forest Account</para>
543           </listitem>
544           <listitem>
545             <para>Domain or Forest Account NETBIOS-compatible name</para>
546           </listitem>
547           <listitem>
548             <para>Kerberos Principal mapped to a local or domain or forest account</para>
549           </listitem>
550         </itemizedlist>
551       </para>
552       <para>For each "domain" context, the following properties are configurable:</para>
553       <itemizedlist>
554         <listitem>
555           <para>Obtain AFS Tokens at Logon</para>
556             <itemizedlist>
557               <listitem>
558                 <para>Yes</para>
559               </listitem>
560               <listitem>
561                 <para>No</para>
562               </listitem>
563             </itemizedlist>
564         </listitem>
565         <listitem>
566           <para>Alternate Kerberos Realm Name - combined with the username to construct a Kerberos
567             principal</para>
568         </listitem>
569         <listitem>
570           <para>TheseCells - A list of cell names other than the workstation cell for which tokens
571             should be obtained</para>
572         </listitem>
573         <listitem>
574           <para>Fail Logons Silently</para>
575             <itemizedlist>
576               <listitem>
577                 <para>Yes</para>
578               </listitem>
579               <listitem>
580                 <para>No</para>
581               </listitem>
582             </itemizedlist>
583           
584         </listitem>
585         <listitem>
586           <para>Logon Script to Execute</para>
587         </listitem>
588         <listitem>
589           <para>Logon Retry Interval</para>
590         </listitem>
591         <listitem>
592           <para>Logon Sleep between Failure Interval</para>
593         </listitem>
594       </itemizedlist>
595       <para>Within a "domain" context it is often desireable to apply alternate rules for a
596         particular user.  The rules can include a username substitution.</para>
597       <para>
598         <itemizedlist>
599           <listitem>
600             <para>Obtain AFS Tokens at Logon</para>
601             <itemizedlist>
602               <listitem>
603                 <para>Yes</para>
604               </listitem>
605               <listitem>
606                 <para>No</para>
607               </listitem>
608             </itemizedlist>
609           </listitem>
610           <listitem>
611             <para>Alternate User Name</para>
612           </listitem>
613           <listitem>
614             <para>Alternate Kerberos Realm Name - combined with the username to construct a Kerberos
615               principal</para>
616           </listitem>
617           <listitem>
618             <para>TheseCells - A list of cell names other than the workstation cell for which tokens
619               should be obtained</para>
620           </listitem>
621           <listitem>
622             <para>Fail Logons Silently</para>
623             <itemizedlist>
624               <listitem>
625                 <para>Yes</para>
626               </listitem>
627               <listitem>
628                 <para>No</para>
629               </listitem>
630             </itemizedlist>
631           </listitem>
632           <listitem>
633             <para>Logon Script to Execute</para>
634           </listitem>
635           <listitem>
636             <para>Logon Retry Interval</para>
637           </listitem>
638           <listitem>
639             <para>Logon Sleep between Failure Interval</para>
640           </listitem>
641         </itemizedlist>
642       </para>
643       <para>The  configuration hierarchy is specified in the registry under the
644         HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain key.   For
645         example:</para>
646       <para>
647         <itemizedlist>
648           <listitem>
649             <para>...\NetworkProvider\Domain\LOCALHOST\</para>
650           </listitem>
651           <listitem>
652             <para>...\NetworkProvider\Domain\LOCALHOST\Administrator\</para>
653           </listitem>
654           <listitem>
655             <para>...\NetworkProvider\Domain\AD\</para>
656           </listitem>
657           <listitem>
658             <para>...\NetworkProvider\Domain\AD.EXAMPLE.ORG\</para>
659           </listitem>
660         </itemizedlist>
661       </para>
662       <para> From the perspective of configuration, the Full domain name and the
663         NETBIOS-compatibility name are separate entities.  </para>
664     </section>
665     <section>
666       <title id="AFS_System_Tray">3.7. AFS Authentication Tool Command Line Options</title>
667       <indexterm significance="normal">
668         <primary>afscreds.exe</primary>
669       </indexterm>
670       <indexterm significance="normal">
671         <primary>system tray tool</primary>
672       </indexterm>
673       <indexterm significance="normal">
674         <primary>network identity manager</primary>
675       </indexterm>
676       <para><emphasis role="italic">The AFS Authentication Tool (afscreds.exe) has been deprecated
677           in favor of Network Identity Manager. afscreds.exe is no longer installed by default in
678           the OpenAFS 1.7 release series. The following information is for historical
679           reference.</emphasis></para>
680       <para>The AFS Authentication Tool (afscreds.exe) supports several command line options: </para>
681       <itemizedlist>
682         <listitem>
683           <para>-A = autoinit </para>
684         </listitem>
685         <listitem>
686           <para>-E = force existing afscreds to exit</para>
687         </listitem>
688         <listitem>
689           <para>-I = install startup shortcut</para>
690         </listitem>
691         <listitem>
692           <para>-M = renew drive maps (deprecated)</para>
693         </listitem>
694         <listitem>
695           <para>-N = IP address change detection </para>
696         </listitem>
697         <listitem>
698           <para>-Q = quiet mode.  do not display start service dialog if afsd_service is not already running</para>
699         </listitem>
700         <listitem>
701           <para>-S = show tokens dialog on startup</para>
702         </listitem>
703         <listitem>
704           <para>-U = uninstall startup shortcut</para>
705         </listitem>
706         <listitem>
707           <para>-X = test and do map share (deprecated)</para>
708         </listitem>
709         <listitem>
710           <para> -Z = unmap drives (deprecated)</para>
711         </listitem>
712       </itemizedlist>
713       <para>autoinit will result in automated attempts to acquire AFS tokens when afscreds.exe is started. afscreds.exe will attempt to utilize tickets stored in the MSLSA credentials cache; any existing CCAPI credentials cache; and finally display an Obtain Tokens dialog to the user. When used in combination with IP address change detection, afscreds.exe will attempt to acquire AFS tokens whenever the IP address list changes and the Kerberos KDC is accessible.</para>
714       <para>The renew drive maps option is used to ensure that the user drive maps constructed via the OpenAFS tools (not NET USE) are re-constructed each time afscreds.exe is started.</para>
715       <para>By default afscreds.exe is configured by the OpenAFS.org installers to use "-A -N -M -Q" as startup options. Currently, there is no user interface to change this selection after install time although these options may be altered via the registry on either per machine or per user basis. See
716         <link linkend="Value_AfscredsShortcutParams">AfscredsShortcutParams</link> in
717         <link linkend="appendix_a">Appendix A</link>.
718       </para>
719       <para>
720       Due to conflicts with Vista and Windows 7 User Account Control, the Drive Letter Mount and Advanced tabs of the AFS Authentication Tool were disabled beginning with the 1.5.66 release.
721       </para>
722     </section>
723     <section>
724       <title id="AFS_Client_Admin_Group">3.8. The "AFS Client Admins" Authorization Group</title>
725       <indexterm significance="normal">
726         <primary>AFS client administrator authorization group</primary>
727       </indexterm>
728       <indexterm significance="normal">
729         <primary>AFS Client Admins</primary>
730       </indexterm>
731       <indexterm significance="normal">
732         <primary>fs checkservers</primary>
733       </indexterm>
734       <indexterm significance="normal">
735         <primary>fs setcachesize</primary>
736       </indexterm>
737       <indexterm significance="normal">
738         <primary>fs newcell</primary>
739       </indexterm>
740       <indexterm significance="normal">
741         <primary>fs sysname</primary>
742       </indexterm>
743       <indexterm significance="normal">
744         <primary>fs exportafs</primary>
745       </indexterm>
746       <indexterm significance="normal">
747         <primary>fs setcell</primary>
748       </indexterm>
749       <indexterm significance="normal">
750         <primary>fs setserverprefs</primary>
751       </indexterm>
752       <indexterm significance="normal">
753         <primary>fs storebehind</primary>
754       </indexterm>
755       <indexterm significance="normal">
756         <primary>fs setcrypt</primary>
757       </indexterm>
758       <indexterm significance="normal">
759         <primary>fs cscpolicy</primary>
760       </indexterm>
761       <indexterm significance="normal">
762         <primary>fs trace</primary>
763       </indexterm>
764       <indexterm significance="normal">
765         <primary>fs minidump</primary>
766       </indexterm>
767       <indexterm significance="normal">
768         <primary>symlink make</primary>
769       </indexterm>
770       <indexterm significance="normal">
771         <primary>fs makemount</primary>
772       </indexterm>
773       <indexterm significance="normal">
774         <primary>Freelance root.afs volume</primary>
775       </indexterm>
776       <para>The OpenAFS for Windows client supports a local Windows authorization group named "AFS Client Admins". This group is used in place of the "Administrators" group to determine which users are allowed to modify the AFS Client Service configuration via the AFS Control Panel (afs_config.exe) or fs.exe command line tool. The following fs.exe commands are now restricted to members of the "AFS Client Admins" group:</para>
777       <itemizedlist>
778         <listitem>
779           <para>checkservers with a non-zero timer value</para>
780         </listitem>
781         <listitem>
782           <para>setcachesize</para>
783         </listitem>
784         <listitem>
785           <para>newcell</para>
786         </listitem>
787         <listitem>
788           <para>sysname with a new sysname list</para>
789         </listitem>
790         <listitem>
791           <para>exportafs</para>
792         </listitem>
793         <listitem>
794           <para>setcell</para>
795         </listitem>
796         <listitem>
797           <para>setserverprefs</para>
798         </listitem>
799         <listitem>
800           <para>storebehind</para>
801         </listitem>
802         <listitem>
803           <para>setcrypt</para>
804         </listitem>
805         <listitem>
806           <para>cscpolicy</para>
807         </listitem>
808         <listitem>
809           <para>trace</para>
810         </listitem>
811         <listitem>
812           <para>minidump</para>
813         </listitem>
814       </itemizedlist>
815       <para>The creation or removal of mount points and symlinks in the Freelance "root.afs" volume are also restricted to members of the "AFS Client Admins" group.</para>
816       <para>The initial membership of the "AFS Client Admins" group when created by the installer is equivalent to the local "Administrators" group. If a user is added to the "Administrators" group after the creation of the "AFS Client Admin" group, that user will not be an AFS Client Administrator. Only users that are members of the "AFS Client Admins" group are AFS Client Administrators. The local "SYSTEM" account is an implicit member of the "AFS Client Admins" group.</para>
817       <para>Setting the default sysname for a machine should be done via the
818         <link linkend="Value_SysName">SysName registry value</link> and not via "fs sysname".
819       </para>
820     </section>
821     <section>
822       <title id="Support_for_UNC_Paths">3.9. OpenAFS Support for UNC Paths </title>
823       <indexterm significance="normal">
824         <primary>UNC paths</primary>
825       </indexterm>
826       <indexterm significance="normal">
827         <primary>JP Software</primary>
828         <secondary>4NT</secondary>
829       </indexterm>
830       <indexterm significance="normal">
831         <primary>JP Software</primary>
832         <secondary>Take Commands</secondary>
833       </indexterm>
834       <indexterm significance="normal">
835         <primary>PowerShell</primary>
836       </indexterm>
837       <para>The OpenAFS client supports UNC paths everywhere. UNC paths provide a canonical name for resources stored within AFS. UNC paths should be used instead of drive letter mappings whenever possible. This is especially true when specifying the location of roaming profiles and redirected folders.</para>
838       <para>Power users that make extensive use of the command line shell, cmd.exe, should consider using JP Software's 4NT or Take Command command processors. Unlike cmd.exe, the JPSoftware shells fully support UNC paths as the current directory. JPSoftware added special recognition for OpenAFS to its command shells, 4NT 7.0 and Take Command 7.0. AFS paths can be entered in UNIX notation (e.g., /afs/openafs.org/software), space utilization reports the output of the volume status for the specified path, and many AFS specific functions and variables have been added to the command language.  Take Command 13.1 will include support for OpenAFS IFS Reparse Points.</para>
839       <para>JPSoftware's web site is
840         <ulink url="http://www.jpsoft.com/">http://www.jpsoft.com</ulink>.
841       </para>
842       <para>Microsoft PowerShell 1.0 and 2.0 will also support UNC paths as the current directory. </para>
843     </section>
844     <section>
845       <title id="aklog.exe">3.10. aklog.exe</title>
846       <indexterm significance="normal">
847         <primary>aklog.exe</primary>
848       </indexterm>
849       <para>The OpenAFS Client ships with its own version of aklog.exe which should be used in preference to those obtained by other sources. The OpenAFS aklog.exe supports Kerberos v5 as well as the ability to auto-generate AFS IDs within foreign PTS databases.</para>
850       <para>
851         <programlisting format="linespecific">
852     Usage: aklog [-d] [[-cell | -c] cell [-k krb_realm]]
853                  [[-p | -path] pathname]
854                  [-noprdb] [-force]
855                  [-5]
856
857                  -d = output debugging information.
858                  cell = zero or more cells for which tokens will be obtained
859                  krb_realm = the kerberos realm of the cell.
860                  pathname = the directory for which authentication is required
861                  -noprdb = don't try to determine AFS ID.
862                  -5 = use Kerberos v5.
863                       (only Kerberos v5 is available)
864                  No commandline arguments means authenticate to the local cell.
865       </programlisting>
866       </para>
867     </section>
868     <section>
869       <title id="OpenAFS_Servers_on_Windows">3.11. OpenAFS Servers on Windows are Unsupported</title>
870       <indexterm significance="normal">
871         <primary>OpenAFS Servers on Windows</primary>
872       </indexterm>
873       <indexterm significance="normal">
874         <primary>Freelance mode</primary>
875       </indexterm>
876       <indexterm significance="normal">
877         <primary>EnableKFW</primary>
878       </indexterm>
879       <indexterm significance="normal">
880         <primary>power management</primary>
881       </indexterm>
882       <indexterm significance="normal">
883         <primary>kaserver</primary>
884       </indexterm>
885       <para>The AFS Server functionality provided as part of the OpenAFS install package might work but should be considered highly experimental. It has not been thoroughly tested. Any data which would cause pain if lost should not be stored in an OpenAFS Server on Windows.</para>
886       <para>Known issues include lack of support for power management and dynamic network configuration.  Salvager is also known to crash.</para>
887       <section>
888         <title id="OpenAFS_Server_Installation">3.11.1. OpenAFS Server Installation</title>
889         <para>When the OpenAFS Server is installed, the TransarcAFSServer service (bosctlsvc.exe) will be installed and configured.  The TransarcAFSServer service will auto-start the traditional AFS bos server.  The former AFS Server Configuration wizard makes assumptions that no longer hold true and it has therefore been disabled.  However, following the instructions for installing the AFS Servers on UNIX it is possible to properly configure the AFS Servers on Microsoft Windows.  The AFS Server binaries, configuration files, and log files are installed under %Program Files%\OpenAFS\Server.
890           <ulink url="http://www.openafs.org/no-more-des.html">kaserver has been deprecated and its use is strongly discouraged.</ulink>  Instead, Active Directory or some other Kerberos v5 KDC should be used in its place.
891         </para>
892       </section>
893       <section>
894         <title id="Using_the_AFS_Client_Service_with_OpenAFS_Server">3.11.2. Using the AFS Client Service when the Server is installed</title>
895         <para>A few notes on the usage of the AFS Client Service if it is going to be used with the OpenAFS AFS Server:</para>
896         <itemizedlist>
897           <listitem>
898             <para>Freelance mode should be disabled when the AFS Client Service is installed on the same machine as the AFS Server,. Otherwise, it will be impossible to manipulate the contents of the root.afs volume for the hosted cell without constructing an explicit mountpoint to the root.afs volume from another volume.</para>
899           </listitem>
900           <listitem>
901             <para>The AFS Server and related tools only support the built in kaserver (Kerberos IV). If kaserver is being used,
902               <ulink url="http://web.mit.edu/kerberos/">MIT Kerberos for Windows</ulink> should not be installed or must be disabled via the
903               <link linkend="Value_EnableKFW">EnableKFW</link> registry value.
904             </para>
905           </listitem>
906           <listitem>
907             <para>The AFS Servers are not aware of power management events nor are they aware of network configuration changes.  It is strongly advised that the AFS servers be installed only on systems that will not be shutdown or suspended unexpectedly.   An inadvertent shutdown will corrupt volume data.</para>
908           </listitem>
909         </itemizedlist>
910       </section>
911     </section>
912     <section>
913       <title id="OpenAFS_Debug_Symbols">3.12. OpenAFS Debugging Symbols and Checked Builds</title>
914       <indexterm significance="normal">
915         <primary>debug symbols</primary>
916       </indexterm>
917       <indexterm significance="normal">
918         <primary>checked builds</primary>
919       </indexterm>
920       <para>The OpenAFS for Windows installers include Debugging Symbol files which should be installed if you are experiencing problems and need to send crash reports. This is true for both the release and the debug versions of the installers. The difference between the release and debug versions are:</para>
921       <itemizedlist>
922         <listitem>
923           <para>whether or not the binaries were compiled with optimization (release: yes, debug: no)</para>
924         </listitem>
925         <listitem>
926           <para>whether or not the debug symbols are installed by default (release: no, debug: yes)</para>
927         </listitem>
928         <listitem>
929           <para>whether or not
930             <emphasis>fs trace</emphasis> logging is turned on by default (release: no, debug: yes)
931           </para>
932         </listitem>
933         <listitem>
934           <para>whether or not additional debug statements were compiled into the binaries (release: no, debug: yes)</para>
935         </listitem>
936       </itemizedlist>
937     </section>
938     <section>
939       <title id="Large_File_Support">3.13. Large File (64-bit) Support</title>
940       <indexterm significance="normal">
941         <primary>large file support</primary>
942       </indexterm>
943       <indexterm significance="normal">
944         <primary>64-bit file sizes</primary>
945       </indexterm>
946       <para>As of release 1.5.3, OpenAFS for Windows supports files larger than 2GB. The maximum
947         file size is now 16777216 terabytes when the AFS File Server supports large files. If the
948         AFS File Server does not support 64-bit file sizes, then the maximum size of files stored on
949         that server remains 2GB.  </para>
950     </section>
951     <section>
952       <title id="Encrypted_AFS_Network_Communication">3.14. Encrypted AFS Network Communication</title>
953       <indexterm significance="normal">
954         <primary>encryption</primary>
955       </indexterm>
956       <indexterm significance="normal">
957         <primary>fs setcrypt</primary>
958       </indexterm>
959       <para>The OpenAFS for Windows installer by default activates a weak form of encrypted data transfer between the AFS client and the AFS servers. This is often referred to as "fcrypt" mode. Encrypted data transfer can be turned on or off with the "fs setcrypt" command. Transitions between "crypt" and "non-crypt" modes are logged to the Windows Application Event Log. </para>
960     </section>
961     <section>
962       <title id="Authenticated_SMB_Access_to_Client_Service">3.15. Authenticated SMB Access to the OpenAFS Client Service</title>
963       <indexterm significance="normal">
964         <primary>SMB authentication</primary>
965       </indexterm>
966       <indexterm significance="normal">
967         <primary>NTLM</primary>
968       </indexterm>
969       <indexterm significance="normal">
970         <primary>GSS SPNEGO</primary>
971       </indexterm>
972       <para><emphasis>This section is maintained for historical reference and those sites that are manually configuring the OpenAFS Service to act as an SMB gateway.  This section does not apply when the OpenAFS IFS redirector driver is in use.</emphasis></para>
973       <para>OpenAFS authenticates SMB connections using either NTLM or GSS SPNEGO (NTLM). In previous versions of OpenAFS, the SMB connections were unauthenticated which opened the door for several attacks which could be used to obtain access to another user's tokens on shared machines. </para>
974       <para>When GSS SPNEGO attempts a Kerberos v5 authentication, the Windows SMB client will attempt to retrieve service tickets for "cifs/afs@REALM" (if the loopback adapter is in use) or "cifs/machine-afs@REALM" (if the loopback adapter is not being used). It is extremely important that this service principal not exist in the KDC database as the Kerberos authentication must fail allowing automatic fallback to NTLM. When NTLM is used a special local authentication mode will be used that does not require access to the user's password. Instead, Windows will internally recognize the request as coming from a local logon session.</para>
975       <para>It should also be noted that because Kerberos v5 authentication cannot be used, it is not possible to digitally sign the SMB communications.   On systems that require Digital Signing of SMB Client connections, access to \\AFS will fail with a connection error.</para>
976     </section>
977     <section>
978       <title id="No_More_INI_Files">3.16. IBM AFS INI Files Replaced By Windows Registry Keys</title>
979       <indexterm significance="normal">
980         <primary>INI files</primary>
981       </indexterm>
982       <indexterm significance="normal">
983         <primary>CellServDB</primary>
984       </indexterm>
985       <indexterm significance="normal">
986         <primary>AFSCONF</primary>
987       </indexterm>
988       <para>IBM AFS and OpenAFS 1.2 Windows clients stored configuration data in Windows .INI files. This OpenAFS client does not use Windows .INI files for the storage of configuration data. All settings are stored in the registry (see
989         <link linkend="appendix_a">Appendix A</link>). The CellServDB file is now stored in either the %ALLUSERSPROFILE%\Application Data\OpenAFS\Client directory (aka \ProgramData\OpenAFS\Client on Vista\Win7\2008) or the %PROGRAMFILES%\OpenAFS\Client directory. The
990         <link linkend="Value_CellServDBDir">CellServDBDir</link> registry value or the AFSCONF environment variable can be used to specify an alternative location.
991       </para>
992       <para>For users converting from IBM AFS clients, during installation OpenAFS will relocate the contents of the "afsdcell.ini" file to the new CellServDB file. OpenAFS will also import the contents of the "afs_freelance.ini" file to the Windows registry. OpenAFS will not process the contents of the "afsddbmt.ini".</para>
993     </section>
994     <section>
995       <title id="Windows_Internet_Connection_Firewall">3.17. Microsoft Windows Internet Connection Firewall</title>
996       <indexterm significance="normal">
997         <primary>Windows Internet Connection Firewall</primary>
998       </indexterm>
999       <indexterm significance="normal">
1000         <primary>firewall</primary>
1001       </indexterm>
1002       <indexterm significance="normal">
1003         <primary>Back Connection</primary>
1004       </indexterm>
1005       <para>The OpenAFS Client is compatible with the Internet Connection Firewall that debuted with
1006         Windows XP SP2 and Windows 2003 SP1 and the Advanced Firewall that was introduced with
1007         Windows Vista. The Internet Connection Firewall will be automatically configured to allow
1008         the receipt of incoming callback messages from the AFS file server. In addition, if the
1009         OpenAFS Service is manually configured to behave as an SMB Gateway, the appropriate
1010           <emphasis>Back Connection</emphasis> registry entries are added to allow SMB
1011         authentication to be performed across the Microsoft Loopback Adapter. </para>
1012     </section>
1013     <section>
1014       <title id="Browsing_AFS_from_Explorer_Shell">3.18. Browsing AFS from the Explorer Shell and Office</title>
1015       <indexterm significance="normal">
1016         <primary>Explorer Shell</primary>
1017       </indexterm>
1018       <indexterm significance="normal">
1019         <primary>Microsoft Office</primary>
1020       </indexterm>
1021       <para>The OpenAFS Client Service implements the CIFS Remote Admin Protocol and the Microsoft RPC SVRSVC and WKSSVC services which allows Explorer to browse server and share information. This significantly enhances the interoperability of AFS volumes within the Explorer Shell and Microsoft Office applications.</para>
1022     </section>
1023     <section>
1024       <title id="Byte_Range_Locking">3.19. Byte Range Locking</title>
1025       <indexterm significance="normal">
1026         <primary>byte range locking</primary>
1027       </indexterm>
1028       <indexterm significance="normal">
1029         <primary>Microsoft Office</primary>
1030       </indexterm>
1031       <indexterm significance="normal">
1032         <primary>EnableServerLocks</primary>
1033       </indexterm>
1034       <para>Many applications on Windows (e.g. Microsoft Office) require the use of byte range locks applied to a file either to protect against simultaneous file access or as a signaling mechanism. OpenAFS for Windows release 1.5 (or greater) implements byte range locking within the CIFS-AFS gateway server. This support for byte range locking obtains AFS' advisory file server locks to simulate Microsoft Windows mandatory locks. When an application opens a file, a lock will be obtained from AFS indicating that the file is in use. If the lock is a write lock, access to the file will be restricted to other applications running on the same machine as the first application to request the lock. Applications running on other machines will see the AFS full file lock and will be unable to access the file.</para>
1035       <para>Most Windows applications and Windows itself opens files in shared read mode. When this is done, a read lock is applied to the file. This does not prevent shared read access across multiple machines but is used to ensure that no one writes to the file while it is in use.</para>
1036       <para>As the CIFS-AFS gateway server attempts to implement Windows lock semantics on top of AFS lock semantics it is important to understand how AFS file locks work. In Windows there are no special privileges associated with obtaining file locks. If you can read or execute a file, then you can obtain shared and exclusive locks. In general, a Windows shared lock equates to an AFS read lock and a Windows exclusive lock equates to an AFS write lock. In AFS if you can write to a file, then you can obtain a write lock. However, in AFS if you can read a file it does not mean that you can obtain a read lock on it. The ability to obtain read locks is granted only if you have the lock (or ‘k') privilege. This behavior is required in order to allow anonymous users to read files while preventing them from being able to deny access to the files to other users.
1037         <emphasis>OpenAFS 1.4.0 and earlier as well as all IBM AFS file servers have an implementation bug that prevents users with write privileges from being able to obtain locks without the lock privilege.</emphasis> When AFS serves data out of read-only volumes the file server will deny all requests for read and write locks because the contents of the volume cannot be changed by the client.
1038       </para>
1039       <para>Since Microsoft Windows applications almost always attempt to obtain a temporary exclusive lock when accessing files the OpenAFS Client's CIFS-AFS gateway implements the following semantics in order to reduce the inconvenience on end users. </para>
1040       <itemizedlist mark="bullet">
1041         <listitem>
1042           <para>If the file is located on a read-only volume and the application requests a shared lock, the CIFS-AFS server will grant the lock request without asking the AFS file server.</para>
1043         </listitem>
1044         <listitem>
1045           <para>If the file is located on a read-only volume and the application opens the file with write access and requests an exclusive lock, the CIFS-AFS server will refuse the lock request and return a read only error.</para>
1046         </listitem>
1047         <listitem>
1048           <para>If the file is located on a read-only volume and the application opens the file with only read access and requests an exclusive lock, the CIFS-AFS server will fulfill the lock request with a read lock.</para>
1049         </listitem>
1050         <listitem>
1051           <para>If the file is located on a read-write volume and the application requests an exclusive lock, the CIFS-AFS server will request a write lock from the AFS file server. If granted by the file server, then the CIFS-AFS server will grant the lock request. If the request is denied due to an access denied error and the user has the lookup, read and lock privileges and the file was opened for read only access, then the CIFS-AFS server will request a read lock from the file server. If the request is denied due to an access denied error and the user has the lookup and read privileges but not the lock privilege, then the CIFS-AFS server will grant the request even though the AFS file server said ‘no'. If the user does not have at least those permissions, the CIFS-AFS server will deny the request.</para>
1052         </listitem>
1053         <listitem>
1054           <para>If the file is located on a read-write volume and the application requests a shared lock, the CIFS-AFS server will request a read lock from the AFS file server. If granted by the file server, then the CIFS-AFS server grants the lock request. If the request is denied due to an access denied error and the user has the lookup and read privileges but not the lock privilege, then the CIFS-AFS server will grant the request even though the AFS file server said ‘no'. If the user does not have at least those permissions, the CIFS-AFS server will deny the request.</para>
1055         </listitem>
1056         <listitem>
1057           <para>If multiple processes on the same machine attempt to access the same file simultaneously, the CIFS-AFS server will locally manage the granted locks and all processes will share a single lock on the AFS file server.</para>
1058         </listitem>
1059         <listitem>
1060           <para>If the CIFS-AFS server is unable to renew the AFS file server locks, then it will invalidate the associated file handles. This is the same behavior that an application will experience if it was using a Windows File Share and the connection was broken. Invalidating the file handles prevents subsequent data corruption from taking place.</para>
1061         </listitem>
1062       </itemizedlist>
1063       <para>If you wish to disable the acquisition of locks from the file server, this can be performed using the
1064         <link linkend="Value_EnableServerLocks">EnableServerLocks</link> registry value.
1065       </para>
1066     </section>
1067     <section>
1068       <title id="Automatic_Discarding_of_Tokens_at_Logoff">3.20. Automatic Discarding of AFS Tokens at Logoff</title>
1069       <indexterm significance="normal">
1070         <primary>tokens</primary>
1071       </indexterm>
1072       <indexterm significance="normal">
1073         <primary>LogoffPreserveTokens</primary>
1074       </indexterm>
1075       <para><emphasis>This section does not apply unless the OpenAFS Service is manually configured as an SMB Gateway.</emphasis></para>
1076       <para>The OpenAFS Client will automatically forget a user's tokens upon Logoff unless the user's profile was loaded from an AFS volume. In this situation there is no mechanism to determine when the profile has been successfully written back to the network. It is therefore unsafe to release the user's tokens. Whether or not the profile has been loaded from the registry can be determined for Local Accounts, Active Directory accounts and NT4 accounts.</para>
1077       <para>If there is a need to disable this functionality, the
1078         <link linkend="Value_LogoffPreserveTokens">LogoffPreserveTokens</link> registry value can be used. (see
1079         <link linkend="appendix_a">Appendix A</link>.)
1080       </para>
1081     </section>
1082     <section>
1083       <title id="Windows_Terminal_Server_Installs">3.21. Windows Terminal Server installations</title>
1084       <indexterm significance="normal">
1085         <primary>Terminal Server</primary>
1086       </indexterm>
1087       <indexterm significance="normal">
1088         <primary>Installation</primary>
1089       </indexterm>
1090       <para>The OpenAFS Servers should not be installed on a machine with Terminal Server installed.
1091         The OpenAFS Client is fully compatible with Terminal Services.</para>
1092     </section>
1093     <section>
1094       <title id="Hidden_Dot_Files">3.22. Hidden Dot Files</title>
1095       <indexterm significance="normal">
1096         <primary>HideDotFiles</primary>
1097       </indexterm>
1098       <para>AFS is a UNIX native file system. The OpenAFS client attempts to treat the files stored in AFS as they would be on UNIX. File and directory names beginning with a "." are automatically given the Hidden attribute so they will not normally be displayed.  This behavior can be altered via the
1099         <link linkend="Value_HideDotFiles">HideDotFiles</link> registry value.
1100       </para>
1101     </section>
1102     <section>
1103       <title id="Status_Cache_Limits">3.23. Status Cache Limits</title>
1104       <indexterm significance="normal">
1105         <primary>afs_config.exe</primary>
1106       </indexterm>
1107       <indexterm significance="normal">
1108         <primary>AFS Configuration Control Panel</primary>
1109       </indexterm>
1110       <indexterm significance="normal">
1111         <primary>cache limits</primary>
1112       </indexterm>
1113       <indexterm significance="normal">
1114         <primary>Stats</primary>
1115       </indexterm>
1116       <para>The Status Cache (AFS Configuration Control Panel: Advanced Page) is defined to have a maximum number of entries. Each entry represents a single file or directory entry accessed within the AFS file system. When the maximum number of entries are allocated, entries will begin to be reused according to a least recently used (LRU) algorithm. If the number of files or directories being accessed repeatedly by your applications is greater then the maximum number of entries, your host will begin to experience thrashing of the Status Cache and all requests will result in network operations.</para>
1117       <para>If you are experiencing poor performance try increasing the maximum number of Status Cache entries. Each entry requires approximately 1.2K. The default number of Status Cache entries is 10,000.  This can be adjusted using the
1118         <link linkend="Value_Stats">Stats</link> registry value.
1119       </para>
1120     </section>
1121     <section>
1122       <title id="NETBIOS_over_TCP">3.24. NETBIOS over TCP/IP must be enabled</title>
1123       <indexterm significance="normal">
1124         <primary>NETBIOS over TCP</primary>
1125       </indexterm>
1126       <para><emphasis role="italic">This section only applies when the IFS client mode is
1127           disabled.</emphasis></para>
1128       <para>"Netbios over TCP/IP" must be active on the machine in order for communication with the AFS Client Service to succeed. If "Netbios over TCP/IP" is disabled on the machine, then communication with the AFS Client Service will be impossible.  If you are using the Microsoft Loopback Adapter, configure the "Netbios over TCP/IP" setting for the adapter.</para>
1129     </section>
1130     <section>
1131       <title id="OpenAFS_binaries_digital_signatures">3.25. OpenAFS binaries are digitally signed</title>
1132       <indexterm significance="normal">
1133         <primary>digital signatures</primary>
1134       </indexterm>
1135       <indexterm significance="normal">
1136         <primary>Your File System Inc.</primary>
1137       </indexterm>
1138       <indexterm significance="normal">
1139         <primary>Secure Endpoints Inc.</primary>
1140       </indexterm>
1141       <indexterm significance="normal">
1142         <primary>VerifyServiceSignature</primary>
1143       </indexterm>
1144       <para>The OpenAFS Client Service and related binaries distributed by OpenAFS.org are digitally signed by "Secure Endpoints Inc." or "Your File System Inc.". The OpenAFS Client Service will perform a run-time verification check to ensure that all OpenAFS related DLLs loaded by the service match the same file version number and were signed by the same entity. This check has been added to prevent the stability problems caused when more than one AFS installation is present on a machine simultaneously. Many hours of support time have been wasted tracking down problems caused by the mixture of files from different releases. </para>
1145       <para>
1146         <link linkend="appendix_a">Appendix A</link> documents the "
1147         <link linkend="Value_VerifyServiceSignature">VerifyServiceSignature</link>" registry value which can be used to disable the signature check. The file version check cannot be disabled.
1148       </para>
1149     </section>
1150     <section>
1151       <title id="Maximum_Cache_Size">3.26. Maximum Size of the AFSCache File</title>
1152       <indexterm significance="normal">
1153         <primary>cache size</primary>
1154       </indexterm>
1155       <para>The maximum cache size on 32-bit Windows is approximately 1.2GB. This is the largest contiguous block of memory in the 2GB process address space which can be used for constructing a memory mapped file. Due to fragmentation of the process space caused by the loading of libraries required by the digital signature verification code, any attempt to specify a cache size greater then 700MB will result in the automatic disabling of the signature check.  Significantly larger cache sizes can be used on 64-bit Windows.</para>
1156       <para>On 32-bit systems that have Apple Bonjour 1.0.6 installed, the maximum cache size is further constrained due design flaw in the Apple mdnsNSP.dll which is injected into all processes that use network services.  On these systems the maximum is approximately 512MB.</para>
1157     </section>
1158     <section>
1159       <title id="Filename_Character_Sets">3.27. Filename Character Sets</title>
1160       <indexterm significance="normal">
1161         <primary>character sets</primary>
1162       </indexterm>
1163       <indexterm significance="normal">
1164         <primary>StoreAnsiFilenames</primary>
1165       </indexterm>
1166       <para><emphasis>This section describes functionality and concerns related to pre-1.5.50 releases of OpenAFS for Windows.   This release stores all file names on the file servers as Unicode encoded using UTF-8.</emphasis></para>
1167       <para>OpenAFS for Windows implements an SMB server which is used as a gateway to the AFS filesystem. Because of limitations of the SMB implementation in pre-1.5.50 releases, Windows stored all files into AFS using OEM code pages such as CP437 (United States) or CP850 (Western Europe). These code pages are incompatible with the ISO Latin-1 or Unicode (UTF-8) character sets typically used as the default on UNIX systems in both the United States and Western Europe. Filenames stored by OpenAFS for Windows were therefore unreadable on UNIX systems if they include any of the following characters:</para>
1168       <informaltable frame="all">
1169         <tgroup rowsep="1" align="left" colsep="1" cols="1">
1170           <colspec colwidth="442pt" colname="c1" />
1171           <tbody>
1172             <row>
1173               <entry>
1174                 <para> [Ç] 128 08/00 200 80 C cedilla</para>
1175                 <para> [ü] 129 08/01 201 81 u diaeresis</para>
1176                 <para> [é] 130 08/02 202 82 e acute</para>
1177                 <para> [â] 131 08/03 203 83 a circumflex</para>
1178                 <para> [ä] 132 08/04 204 84 a diaeresis</para>
1179                 <para> [à] 133 08/05 205 85 a grave</para>
1180                 <para> [å] 134 08/06 206 86 a ring</para>
1181                 <para> [ç] 135 08/07 207 87 c cedilla</para>
1182                 <para> [ê] 136 08/08 210 88 e circumflex</para>
1183                 <para> [ë] 137 08/09 211 89 e diaeresis</para>
1184                 <para> [è] 138 08/10 212 8A e grave</para>
1185                 <para> [ï] 139 08/11 213 8B i diaeresis</para>
1186                 <para> [î] 140 08/12 214 8C i circumflex</para>
1187                 <para> [ì] 141 08/13 215 8D i grave</para>
1188                 <para> [Ä] 142 08/14 216 8E A diaeresis</para>
1189                 <para> [Å] 143 08/15 217 8F A ring</para>
1190                 <para> [É] 144 09/00 220 90 E acute</para>
1191                 <para> [æ] 145 09/01 221 91 ae diphthong</para>
1192                 <para> [Æ] 146 09/02 222 92 AE diphthong</para>
1193                 <para> [ô] 147 09/03 223 93 o circumflex</para>
1194                 <para> [ö] 148 09/04 224 94 o diaeresis</para>
1195                 <para> [ò] 149 09/05 225 95 o grave</para>
1196                 <para> [û] 150 09/06 226 96 u circumflex</para>
1197                 <para> [ù] 151 09/07 227 97 u grave</para>
1198                 <para> [ÿ] 152 09/08 230 98 y diaeresis</para>
1199                 <para> [Ö] 153 09/09 231 99 O diaeresis</para>
1200                 <para> [Ü] 154 09/10 232 9A U diaeresis</para>
1201                 <para> [ø] 155 09/11 233 9B o slash</para>
1202                 <para> [£] 156 09/12 234 9C Pound sterling sign</para>
1203                 <para> [Ø] 157 09/13 235 9D O slash</para>
1204                 <para> [×] 158 09/14 236 9E Multiplication sign</para>
1205                 <para> [ƒ] 159 09/15 237 9F Florin sign</para>
1206               </entry>
1207             </row>
1208           </tbody>
1209         </tgroup>
1210       </informaltable>
1211       <para>The pre-1.5.50 OpenAFS Client provided an optional registry value,
1212         <link linkend="Value_StoreAnsiFilenames">StoreAnsiFilenames</link>, that could be set to instruct OpenAFS to store filenames using the ANSI Code Page instead of the OEM Code Page. The ANSI Code Page is a compatible superset of Latin-1. This setting is not the default setting because making this change would prevent OpenAFS for Windows from being able to access filenames containing the above characters which were created without this setting.
1213       </para>
1214       <para>All versions of OpenAFS for Windows 1.5.50 and above exchange file names with Microsoft Windows using the Unicode character set. All file names are read from and stored to AFS file servers using the UTF-8 encoding of Unicode. As a result the
1215         <link linkend="Value_StoreAnsiFilenames">StoreAnsiFilenames</link> option is no longer supported.
1216       </para>
1217     </section>
1218     <section>
1219       <title id="Character_Set_Issues_Roaming_Profiles">3.28. Character Set Issues with Roaming Profiles</title>
1220       <indexterm significance="normal">
1221         <primary>character sets</primary>
1222       </indexterm>
1223       <indexterm significance="normal">
1224         <primary>roaming profiles</primary>
1225       </indexterm>
1226       <para><emphasis>This section describes functionality and concerns related to pre-1.5.50 releases of OpenAFS for Windows.   This release stores all file names on the file servers as Unicode encoded using UTF-8.</emphasis></para>
1227       <para>There is a known issue with storing Windows Roaming Profiles when the profile contains either directories or files with names which cannot be represented in the local OEM character set. In this case, attempts to write the profile back to AFS will fail during the character set conversion. The pre-1.5.50 OpenAFS Client's CIFS gateway did not support UNICODE. To avoid this problem some sites run custom logoff scripts (assigned by group policy) which rename all files to use only the supported characters for the locale.</para>
1228       <para>Versions of OpenAFS for Windows 1.5.50 and above do not suffer from these issues.</para>
1229     </section>
1230     <section>
1231       <title id="AFSCache_File">3.29. The AFSCache File</title>
1232       <indexterm significance="normal">
1233         <primary>AFSCache</primary>
1234       </indexterm>
1235       <indexterm significance="normal">
1236         <primary>cache file</primary>
1237       </indexterm>
1238       <indexterm significance="normal">
1239         <primary>SysInternals</primary>
1240       </indexterm>
1241       <para>The AFS Cache file is stored by default at %TEMP%\AFSCache in a persistent file marked with the Hidden and System attributes. The persistent nature of the data stored in the cache file improves the performance of OpenAFS by reducing the number of times data must be read from the AFS file servers. </para>
1242       <para>The performance of the AFS Client Service is significantly affected by the access times associated with the AFSCache paging file. When given the choice, the AFSCache file should be placed on a fast disk, preferably formatted NTFS and using a Solid State Disk, the file should not be compressed and should consist of as few fragments as possible. Significant performance gains can be achieved by defragmenting the AFSCache file with SysInternal's Contig utility while the AFS Client Service is stopped.</para>
1243     </section>
1244     <section>
1245       <title id="Restricting_OpenAFS_Service_Start_and_Stop">3.30. Restricting OpenAFS Client Service Start and Stop</title>
1246       <indexterm significance="normal">
1247         <primary>service start restrictions</primary>
1248       </indexterm>
1249       <indexterm significance="normal">
1250         <primary>TransarcAFSDaemon</primary>
1251       </indexterm>
1252       <indexterm significance="normal">
1253         <primary>afsdacl.exe</primary>
1254       </indexterm>
1255       <para>A command line tool, afsdacl.exe, can be used to restrict the ability to start and stop the OpenAFS Client Service.</para>
1256       <para>
1257         <programlisting format="linespecific">
1258     afsdacl : Set or reset the DACL to allow starting or stopping
1259               the afsd service by any ordinary user.
1260
1261     Usage: afsdacl [-set | -reset] [-show]
1262            -set   : Sets the DACL
1263            -reset : Reset the DACL
1264            -show  : Show current DACL (SDSF)
1265     </programlisting>
1266       </para>
1267     </section>
1268     <section>
1269       <title id="SysName_List">3.31. The @sys Name List</title>
1270       <indexterm significance="normal">
1271         <primary>@sys</primary>
1272       </indexterm>
1273       <indexterm significance="normal">
1274         <primary>fs sysname</primary>
1275       </indexterm>
1276       <indexterm significance="normal">
1277         <primary>SysName</primary>
1278       </indexterm>
1279       <para>The default @sys name list in the OpenAFS Client is set to "x86_win32 i386_w2k i386_nt40" for 32-bit x86 systems. The default is "amd64_win64" for amd 64-bit versions of Windows.</para>
1280       <para>The IFS redirector driver is aware of the process type. On 64-bit systems, there are two
1281         @sys name lists "SysName" which is used for the WOW64 environment and "SysName64" which is
1282         used for the 64-bit environment.  If "SysName64" is not provided, "SysName" is used for all
1283         processes.</para>
1284     </section>
1285     <section>
1286       <title id="Symlinks_to_AFS_UNC_Paths">3.32. Symlinks to AFS UNC Paths</title>
1287       <indexterm significance="normal">
1288         <primary>UNC paths</primary>
1289       </indexterm>
1290       <indexterm significance="normal">
1291         <primary>symlinks</primary>
1292       </indexterm>
1293       <indexterm significance="normal">
1294         <primary>path separators</primary>
1295       </indexterm>
1296       <indexterm significance="normal">
1297         <primary>symlink.exe</primary>
1298       </indexterm>
1299       <indexterm significance="normal">
1300         <primary>symlink make</primary>
1301       </indexterm>
1302       <para>In OpenAFS, symlinks to AFS UNC paths, \\AFS[\all]\..., are treated the same as symlinks to /afs/... However, please use /afs/... as the Windows UNC form will not work on UNIX client.</para>
1303       <para>The <emphasis>symlink make</emphasis> command will automatically translate \\AFS\... to /afs/... for you.</para>
1304     </section>
1305     <section>
1306       <title id="Cache_Manager_Debugging">3.33. Cache Manager Debugging</title>
1307       <indexterm significance="normal">
1308         <primary>debugging the cache manager</primary>
1309       </indexterm>
1310       <indexterm significance="normal">
1311         <primary>cmdebug.exe</primary>
1312       </indexterm>
1313       <para>The OpenAFS Client implements the Cache Manager Debugging RPC Interface. The CM debugger can be queried with <ulink url="http://docs.openafs.org/Reference/1/cmdebug.html">cmdebug.exe</ulink>.  </para>
1314       <para>
1315         <programlisting format="linespecific">
1316     Usage: cmdebug -servers &lt;server machine&gt; [-port &lt;IP port&gt;] [-long] [-refcounts]
1317                     [-callbacks] [-ctime] [-addrs] [-cache] [-cellservdb] [-help]
1318     Where: -long        print all info
1319            -refcounts   print only cache entries with positive reference counts
1320            -callbacks   print only cache entries with callbacks
1321            -ctime       print human readable expiration time
1322            -addrs       print only host interfaces
1323            -cache       print only cache configuration
1324            -cellservdb  print only cellservdb info
1325     </programlisting>
1326       </para>
1327     </section>
1328     <section>
1329       <title id="Windows_Logon_Caching_vs_Kerberos_Logons">3.34. Windows Logon Caching vs. Kerberos Logons</title>
1330       <indexterm significance="normal">
1331         <primary>windows logon caching</primary>
1332       </indexterm>
1333       <indexterm significance="normal">
1334         <primary>kerberos</primary>
1335       </indexterm>
1336       <para>If you are a site which utilizes MIT/Heimdal Kerberos principals to logon to Windows via a cross-realm relationship with a multi-domain Windows forest, you must enable Windows logon caching unless the workstation is Windows Vista or Windows 7.</para>
1337     </section>
1338     <section>
1339       <title id="Initial_Server_Preferences">3.35. Initial Server Preferences</title>
1340       <indexterm significance="normal">
1341         <primary>server preferences</primary>
1342       </indexterm>
1343       <indexterm significance="normal">
1344         <primary>fs setserverprefs</primary>
1345       </indexterm>
1346       <indexterm significance="normal">
1347         <primary>setting server preferences</primary>
1348       </indexterm>
1349       <para>VLDB and File Server Preferences can now be provided initial values using registry keys. This is useful for managed machines in a Windows domain which are centrally located (e.g., in a computing lab.) See
1350         <link linkend="appendix_a">Appendix A</link> for details on the "
1351         <link linkend="Regkey_HKLM_SOFTWARE_OpenAFS_Client_ServerPreferences_VLDB">Server Preferences</link>" keys.
1352       </para>
1353     </section>
1354     <section>
1355       <title id="File_Timestamps_and_DST">3.36. File Timestamps and Daylight Saving Time</title>
1356       <indexterm significance="normal">
1357         <primary>timestamps</primary>
1358       </indexterm>
1359       <indexterm significance="normal">
1360         <primary>DST</primary>
1361       </indexterm>
1362       <indexterm significance="normal">
1363         <primary>UTC</primary>
1364       </indexterm>
1365       <para>The OpenAFS Client reports timestamps on files stored in AFS in UTC all year round. In locales with daylight savings time, previous versions of AFS for Windows reported the time when DST is active as UTC+1. This was done to preserve the relative local time for the user. A file stored at 11:00am EST in January would be reported as having been stored at 11:00am EDT in June. Unfortunately, this has the negative side effect of changing the reported timestamp from 16:00UTC to 15:00UTC. Since Windows treats all file times in UTC, data synchronization applications which rely on the timestamp would believe that all files stored in AFS had changed.</para>
1366       <para>It should be noted that UNIX based operating systems (such as Solaris) do not appear to report file times to applications in UTC. They do preserve the relative local time. This may confuse some users who are used to being able to compare the timestamp in an UNIX shell with the timestamp from the Windows explorer. During DST, these two times will no longer agree even though they are in fact representing the same moment in time.</para>
1367     </section>
1368     <section>
1369       <title id="Windows_RPC_client_support">3.37. Windows RPC client support must be installed </title>
1370       <indexterm significance="normal">
1371         <primary>RPC client support</primary>
1372       </indexterm>
1373       <para>If the installer refuses to install and complains about an RPC configuration error, check to ensure that the following registry entries are present and that they refer to the dll "rpcrt4.dll":</para>
1374       <para> HKLM "SOFTWARE\Microsoft\RPC\ClientProtocols" "ncacn_np"</para>
1375       <para> HKLM "SOFTWARE\Microsoft\RPC\ClientProtocols" "ncacn_ip_tcp"</para>
1376       <para> HKLM "SOFTWARE\Microsoft\RPC\ClientProtocols" "ncadg_ip_udp"</para>
1377       <para> HKLM "SOFTWARE\Microsoft\RPC\ClientProtocols" "ncacn_http"</para>
1378     </section>
1379     <section>
1380       <title id="Generating_Minidumps">3.38. Generating Minidumps of the OpenAFS Client Service</title>
1381       <indexterm significance="normal">
1382         <primary>minidumps</primary>
1383       </indexterm>
1384       <indexterm significance="normal">
1385         <primary>fs minidump</primary>
1386       </indexterm>
1387       <para>OpenAFS 1.4 added a new command, "fs minidump". This command can be used at any time to generate a mini dump file containing the current stack of the afsd_service.exe process. This output can be very helpful when debugging the AFS Client Service when it is unresponsive to SMB/CIFS requests.</para>
1388     </section>
1389     <section>
1390       <title id="AFS_UUIDs_vs_System_Cloning">3.39. AFS Client Universally Unique Identifiers (UUIDs) vs. System Cloning or Virtual Machine Cloning</title>
1391       <indexterm significance="normal">
1392         <primary>UUIDs</primary>
1393       </indexterm>
1394       <indexterm significance="normal">
1395         <primary>system cloning</primary>
1396       </indexterm>
1397       <indexterm significance="normal">
1398         <primary>vm cloning</primary>
1399       </indexterm>
1400       <indexterm significance="normal">
1401         <primary>NonPersistentCaching</primary>
1402       </indexterm>
1403       <indexterm significance="normal">
1404         <primary>instloop.exe</primary>
1405       </indexterm>
1406       <indexterm significance="normal">
1407         <primary>msiexec.exe</primary>
1408       </indexterm>
1409       <para>The OpenAFS Client implements Universally Unique Identifiers (UUIDs). They are used to provide the AFS file server with a method of identifying the client that is independent of IP address. This permits the AFS file server to track mobile clients or those behind Network Address Translators when they move from address to address or port to port. Tracking the client improves client performance by permitting callback state to be maintained across location changes. The UUID is generated when the AFSCache file is created and is maintained as long as the contents of the AFSCache file are valid. The UUID is stored in the AFSCache file.</para>
1410       <para>When cloning machines that have Windows AFS client installed it is necessary to generate a new UUID for each client. This will be done automatically if the Windows Machine SID is re-generated using Microsoft SysPrep. If the SID is not being re-generated either the AFSCache file should be deleted or the command
1411         <emphasis>fs uuid -generate</emphasis> must be executed after the the clone is created.
1412         <emphasis role="bold">Multiple AFS clients reporting the same UUID will not only result in horrible AFS client performance and cache inconsistencies, but they will also put a tremendous strain on the AFS file servers.</emphasis></para>
1413       <para>For lab environments that wish to erase all cached data on each restart, the
1414         <link linkend="Value_NonPersistentCaching">NonPersistentCaching</link> option will disable the use of the persistent cache file. As a side effect, a new UUID will be generated for the AFS client service on each restart.
1415       </para>
1416       <para><emphasis role="italic">[SMB only]</emphasis> When a Windows system is cloned, the
1417         Microsoft Loopback Adapter will be disabled in the cloned system. Administrators must
1418         re-install the Microsoft Loopback Adapter within the cloned environment. This can be
1419         automated by using the OpenAFS " <emphasis>instloop.exe</emphasis> – <emphasis>i</emphasis>"
1420         command. Instloop.exe can be extracted from the MSI installer by performing an
1421         administrative install via <emphasis>msiexec.exe /a</emphasis>. </para>
1422     </section>
1423     <section>
1424       <title id="Delayed_Write_Errors">3.40. Delayed Write Errors with Microsoft Office Applications</title>
1425       <indexterm significance="normal">
1426         <primary>delayed write errors</primary>
1427       </indexterm>
1428       <indexterm significance="normal">
1429         <primary>ConnDeadTimeout</primary>
1430       </indexterm>
1431       <indexterm significance="normal">
1432         <primary>SMBAsyncStoreSize</primary>
1433       </indexterm>
1434       <indexterm significance="normal">
1435         <primary>EnableSMBAsyncStore</primary>
1436       </indexterm>
1437       <indexterm significance="normal">
1438         <primary>SMB timeouts</primary>
1439       </indexterm>
1440       <para><emphasis>This section does not apply unless the OpenAFS Service is manually configured as an SMB Gateway.</emphasis></para>
1441       <para>Microsoft Office makes heavy use of asynchronous input/output methods for reading and writing to file streams. This can result in hundreds of requests being simultaneously queued for service by the CIFS client with a fixed timeout period. As the AFS CIFS server is local to the machine the Windows CIFS client believes that it can respond almost instantaneously to write requests as the actual writing to the AFS file server is performed by a background daemon thread. When the actual network bandwidth to the AFS file server is slow and the file size is large it is possible for the CIFS client to time out the connection. When this happens a "delayed write error" will be reported to the user and the application may crash. The only workaround at the current time is to save first to a local disk and subsequently copy the file to AFS as copying a file with the explorer shell does not use asynchronous i/o. </para>
1442       <para>The CIFS session timeout defaults to 45 seconds and can be increased by modifying the
1443         <link linkend="Value_ConnDeadTimeout">ConnDeadTimeout registry value</link>.
1444       </para>
1445       <para>Beginning with the 1.5.33 release, the performance characteristics of SMB Write Data operations can be adjusted.  In prior releases all writes were performed using a restricted asynchronous store model in which only one asynchronous store operation per file can be performed at a time.  The reason for this restriction is limit the amount of data the cache manager will accept without it having been written to the file server.  If too much unwritten data is accepted, the file close operation will block until all of the unwritten data is output and this could trigger a CIFS client disconnect.  </para>
1446       <para>Prior to 1.5.33 the size of the asynchronous store was always equal to the chunk size which was often too large for low bandwidth connections.  The asynchronous store size now defaults to 32KB and is configurable using the
1447         <link linkend="Value_SMBAsyncStoreSize">SMBAsyncStoreSize</link> registry value.  Asynchronous store operations can also be disabled using the
1448         <link linkend="Value_EnableSMBAsyncStore">EnableSMBAsyncStore</link> registry value in which case all writes received by the cache manager block until the Rx StoreData operation completes.
1449       </para>
1450       <para>During the first quarter of 2009 Microsoft added new functionality to the SMB Redirector which permits an extended timeout period to be used
1451             for an enumerated list of Netbios server names.  This functionality was distributed in Service Pack 2 for Vista and 2008 and is incorporated
1452             into the RTM releases of Windows 7 and Server 2008 R2.  Updates to Windows XP (KB916204), XP64 (KB969289), and Server 2003 (KB969289) were
1453             made available as hot fixes.  When this support is available, the OpenAFS for Windows client 1.5.61 and above will raise the timeout period
1454             from 45 seconds to 10 minutes.</para>
1455     </section>
1456     <section>
1457       <title id="Global_Drives">3.41. Global Drives (aka Service Drive Letters) are no longer supported by Microsoft</title>
1458       <indexterm significance="normal">
1459         <primary>global drives</primary>
1460       </indexterm>
1461       <indexterm significance="normal">
1462         <primary>service drive letters</primary>
1463       </indexterm>
1464       <indexterm significance="normal">
1465         <primary>path ioctl failures</primary>
1466       </indexterm>
1467       <para>The Global Drive auto-mount feature has been deprecated due to the following Microsoft
1468         KB article.</para>
1469       <para>
1470         <ulink url="http://msdn.microsoft.com/library/en-us/dllproc/base/services_and_redirected_drives.asp">http://msdn.microsoft.com/library/en-us/dllproc/base/services_and_redirected_drives.asp</ulink>
1471       </para>
1472       <para>The article says that services mounting drive letters are no longer supported by Microsoft and may act unpredictably.
1473             The experience other users have had is that if the connection to the OpenAFS CIFS/SMB server is terminated by the
1474             Windows CIFS client, the drive mapping may not be re-established until the machine is rebooted.</para>
1475       <para>OpenAFS supports UNC paths and whenever possible applications should be modified to use UNC form
1476             \\AFS\&lt;cellname&gt;\&lt;path&gt; instead of drive letters.</para>
1477       <para>Another problem with service mounted drive letters is that the drives are reported as local disk devices
1478             and cannot be resolved as being mapped to the \\AFS name space.  As a result, AFS path ioctl operations will
1479             fail.  The fs.exe and symlink.exe command line tools and the AFS Explorer Shell extension will not operate
1480             on service mounted drive letters.</para>
1481     </section>
1482     <section>
1483       <title id="SixtyFour-bit_Windows">3.42. 64-bit Microsoft Windows Installations</title>
1484       <indexterm significance="normal">
1485         <primary>64-bit Windows</primary>
1486       </indexterm>
1487       <para>Although 64-bit Windows platforms support both 64-bit and 32-bit applications, the OpenAFS Service installed on the machine must be 64-bit. The 64-bit installer contains only 64-bit executables. In order to support 32-bit applications it is required that a separate 32-bit OpenAFS Tools set be installed.  This is especially true when the IFS redirector is in use as the 32-bit Network Provider DLL must be installed in order for 32-bit applications to access drive letters mapped to \\AFS.</para>
1488       <para>OpenAFS on 64-bit Windows benefits from the lifting of the 2GB process memory restriction that is present in 32-bit Windows. Without this restriction the AFS Cache File can become arbitrarily large limited only by available disk space.</para>
1489     </section>
1490     <section>
1491       <title id="Windows_Vista_Known_Issues">3.43. Known Issues with Microsoft Windows Vista, Windows 7, and Server 2008 [R2]</title>
1492       <indexterm significance="normal">
1493         <primary>windows vista</primary>
1494       </indexterm>
1495       <indexterm significance="normal">
1496         <primary>windows 2008</primary>
1497       </indexterm>
1498       <indexterm significance="normal">
1499         <primary>windows 7</primary>
1500       </indexterm>
1501       <para>Windows Vista, Windows 7, and Server 2008 [R2] implement
1502         <ulink url="http://www.microsoft.com/technet/windowsvista/library/0d75f774-8514-4c9e-ac08-4c21f5c6c2d9.mspx">User Account Control</ulink> (UAC), a new security feature that implements least user privilege.  With UAC, applications only run with the minimum required privileges.  Even Administrator accounts run applications without the "Administrator" access control credentials.  One side effect of this is that existing applications that mix user and system configuration capabilities must be re-written to separate those functions that require "Administrator" privileges into a separate process space.  Future updates to OpenAFS will incorporate the necessary privilege separation, until that time some functions such as the Start and Stop Service features of the AFS Authentication Tool and the AFS Control Panel will not work unless they are "Run as Administrator".  When a Vista user account that is a member of the "Administrators" group is used to access the AFS Control Panel (afs_config.exe), the process must be "Run as Administrator".   Otherwise, attempts to modify the OpenAFS configuration will appear to succeed but in reality will have failed due to Vista's system file and registry virtualization feature.
1503       </para>
1504       <para>The help files provided with OpenAFS are in .HLP format. <ulink
1505           url="http://support.microsoft.com/kb/917607">Windows Vista, Windows 7, and Server 2008
1506           [R2] do not include a help engine for this format.</ulink>
1507       </para>
1508       <para><emphasis>The following items only apply when the OpenAFS Service is manually configured as an SMB Gateway.</emphasis></para>
1509       <para>OpenAFS for Windows works with Microsoft Windows Vista, Windows 7 and Server 2008 [R2] from both the command prompt and the Explorer Shell.
1510             When performing an upgrade from earlier versions of Microsoft Windows the Microsoft Loopback Adapter (MSLA) will be uninstalled.
1511             OpenAFS should be re-installed after the Windows Upgrade installation to restore the MSLA configuration.</para>
1512       <para>Due to a feature change in Windows Vista's Plug-n-Play network stack, during a standby/hibernate operation the
1513             MSLA is disabled just as any other hardware device would be.  This causes the OpenAFS Client's network binding to be lost.
1514             As a result, it takes anywhere from 30 to 90 seconds after the operating system is resumed for access to the OpenAFS Client
1515             and the AFS file name space to be restored.  Until the network bindings have been re-established, ticket managers and other
1516             tools will report that the "AFS Client Service may not have been started".</para>
1517     </section>
1518     <section>
1519       <title id="AFS_Share_Direct_Access_to_Volumes">3.44. AFS Share Name Syntax Provides Direct Access to Volumes</title>
1520       <indexterm significance="normal">
1521         <primary>share names</primary>
1522       </indexterm>
1523       <indexterm significance="normal">
1524         <primary>afs volumes - direct access</primary>
1525       </indexterm>
1526       <para>Starting with the 1.5.21 release of OpenAFS for Windows, the following syntax can be used to access any volume in any cell without requiring the creation of a mount point.</para>
1527       <para>\\AFS\&lt;cell&gt;&lt;mount point type&gt;&lt;volume&gt;\</para>
1528       <para>Where &lt;cell&gt; can be either a full cell name or an unambiguous prefix, the &lt;mount point type&gt; is '#' for a normal mount point or '%' to force the use of a read-write volume, and &lt;volume&gt; is either a volume name or its ID number.</para>
1529       <para>Examples include:</para>
1530       <para>    \\AFS\athena.mit.edu#user.jaltman\</para>
1531       <para>    \\AFS\athena%user.jaltman\</para>
1532       <para>    \\AFS\athena.mit.edu# 537235559\</para>
1533     </section>
1534     <section>
1535       <title id="Differences_between_Windows_and_Unix">3.45. Differences between Windows and UNIX <emphasis>fs examine</emphasis></title>
1536       <indexterm significance="normal">
1537         <primary>fs examine</primary>
1538       </indexterm>
1539       <indexterm significance="normal">
1540         <primary>fs chown</primary>
1541       </indexterm>
1542       <indexterm significance="normal">
1543         <primary>fs chgrp</primary>
1544       </indexterm>
1545       <indexterm significance="normal">
1546         <primary>fs chmod</primary>
1547       </indexterm>
1548       <indexterm significance="normal">
1549         <primary>owner information</primary>
1550       </indexterm>
1551       <indexterm significance="normal">
1552         <primary>group information</primary>
1553       </indexterm>
1554       <para>The OpenAFS for Windows version of "fs examine" provide two additional lines of output when compared to the
1555         UNIX implementation.  These lines include the owner and group information for the file as well as the volume status.
1556         The Windows output will also indicate the type of object {File, Directory, Mountpoint, Symlink, ...} that was examined.</para>
1557       <para>[C:\]fs examine \\afs\athena#user.jaltman</para>
1558       <para>Directory \\afs\athena#user.jaltman (537235559.1.1) contained in cell athena.mit.edu</para>
1559       <para>
1560         <emphasis role="bold">Owner jaltman (28180) Group jaltman (28180)</emphasis>
1561       </para>
1562       <para>Volume status for vid = 537235559 named user.jaltman is</para>
1563       <para>Current disk quota is 1500000</para>
1564       <para>Current blocks used are 1244184</para>
1565       <para>The partition has 151945877 blocks available out of 511163724</para>
1566       <para>
1567         <emphasis role="bold">Volume is online</emphasis>
1568       </para>
1569       <para>
1570       </para>
1571       <para>The object owner and group and UNIX mode information is not available on Microsoft Windows via any other method.</para>
1572       <para>To set the owner use <emphasis>fs chown -owner &lt;user name or id&gt; [-path &lt;dir/file path&gt;+] [-literal]</emphasis></para>
1573       <para>To set the group use <emphasis>fs chgrp -group &lt;user name or id&gt; [-path &lt;dir/file path&gt;+] [-literal]</emphasis></para>
1574       <para>To set the UNIX mode use <emphasis>fs chmod -mode &lt;UNIX mode bits&gt; [-path &lt;dir/file path&gt;+] [-literal]</emphasis></para>
1575     </section>
1576     <section>
1577       <title id="fs_Command_Literal_Option">3.46. Literal evaluation of AFS Symlink and MountPoint objects via fs commands</title>
1578       <indexterm significance="normal">
1579         <primary>-literal</primary>
1580       </indexterm>
1581       <indexterm significance="normal">
1582         <primary>fs examine</primary>
1583       </indexterm>
1584       <indexterm significance="normal">
1585         <primary>fs flush</primary>
1586       </indexterm>
1587       <indexterm significance="normal">
1588         <primary>fs whereis</primary>
1589       </indexterm>
1590       <indexterm significance="normal">
1591         <primary>fs whichcell</primary>
1592       </indexterm>
1593       <para>Beginning with the 1.5.31 release, the fs commands
1594         <emphasis>examine</emphasis>,
1595         <emphasis>flush</emphasis>,
1596         <emphasis>whereis</emphasis>, and
1597         <emphasis>whichcell</emphasis> provide a new command-line parameter,
1598         <emphasis>-literal</emphasis>.  When specified, if the evaluated object is a symlink or a mountpoint the resulting output will describe the specified object and not the target of the symlink or mountpoint.
1599       </para>
1600     </section>
1601     <section>
1602       <title id="Out_of_Quota_Errors">3.47. Out of Quota errors</title>
1603       <indexterm significance="normal">
1604         <primary>out of quota</primary>
1605       </indexterm>
1606       <indexterm significance="normal">
1607         <primary>quotas</primary>
1608       </indexterm>
1609       <para>Prior to the 1.5.31 release, out of quota errors were reported to the calling application as an out of space error.  As of 1.5.31, an out of space error will indicate that the partition on which the volume is located is in fact out of space.  Whereas an out of quota error indicates that the user does not have permission to allocate additional space.</para>
1610     </section>
1611     <section id="Linked_Cells">
1612       <title>3.48. Linked Cells</title>
1613       <indexterm significance="normal">
1614         <primary>linked cells</primary>
1615       </indexterm>
1616       <indexterm significance="normal">
1617         <primary>cell renaming</primary>
1618       </indexterm>
1619       <indexterm significance="normal">
1620         <primary>cell splitting</primary>
1621       </indexterm>
1622       <indexterm significance="normal">
1623         <primary>cell merging</primary>
1624       </indexterm>
1625       <indexterm significance="normal">
1626         <primary>CellServDB</primary>
1627       </indexterm>
1628       <para>The 1.5.55 release adds support for linked cells as implemented in the Unix OpenAFS client.  When two cells are linked, a volume lookup in one cell that fails is retried in the linked cell.  This functionality can be used to implement:</para>
1629       <itemizedlist mark="bullet">
1630         <listitem>
1631           <para>a test cell which provides substitutes for a subset of the volumes in the linked production cell</para>
1632         </listitem>
1633         <listitem>
1634           <para>a cell renaming</para>
1635         </listitem>
1636         <listitem>
1637           <para>a cell splitting</para>
1638         </listitem>
1639         <listitem>
1640           <para>a cell merger</para>
1641         </listitem>
1642       </itemizedlist>
1643       <para>Two cells are linked in the CellServDB file:</para>
1644       <para>
1645         <programlisting format="linespecific">
1646        &gt;cell-one     cell-two        #Description
1647        ...
1648        &gt;cell-two     cell-one        #Description
1649        ...
1650        </programlisting>
1651       </para>
1652       <para>aklog and Network Identity Manager will automatically obtain tokens for the linked cell when tokens for the other cell is specified.
1653       </para>
1654     </section>
1655     <section id="Registry_VLDB_Configuration">
1656       <title>3.49 Registry Alternative to CellServDB File</title>
1657       <indexterm significance="normal">
1658         <primary>vldb server locations</primary>
1659       </indexterm>
1660       <indexterm significance="normal">
1661         <primary>CellServDB</primary>
1662       </indexterm>
1663       <para>Beginning with the 1.5.60 release, the <link linkend="Regkey_HKLM_SOFTWARE_OpenAFS_Client_CellServDB">[HKLM\SOFTWARE\OpenAFS\Client\CellServDB]</link>
1664     registry key can be used to distribute Volume Database Server location information either as a supplement to the <emphasis>CellServDB file</emphasis> or
1665     as a substitute for it.  The precedence order for lookups is: Registry, File, and then DNS.</para>
1666     </section>
1667     <section>
1668       <title id="HTMLHelp_Documentation">3.50 Release Notes Converted to Windows HTML Help</title>
1669       <indexterm significance="normal">
1670         <primary>HTMLHelp</primary>
1671       </indexterm>
1672       <para>Starting with the 1.5.60 release, this document, the OpenAFS Administrator Guide and the OpenAFS User Guide are provided in HTML Help format instead
1673     of raw HTML pages.</para>
1674     </section>
1675     <section>
1676       <title id="MSRPC_Services">3.51. Support for Microsoft RPC Services: WKSSVC and SRVSVC</title>
1677       <indexterm significance="normal">
1678         <primary>Explorer Shell</primary>
1679       </indexterm>
1680       <indexterm significance="normal">
1681         <primary>Microsoft Office</primary>
1682       </indexterm>
1683       <para>Beginning with the 1.5.62 release, the OpenAFS client supports named pipes and the
1684         Microsoft RPC Services WKSSVC and SRVSVC. This permits a significantly improved Netbios
1685         Server browsing experience with both the <emphasis>NET VIEW \\AFS</emphasis> command and the
1686         Explorer Shell. No longer will Windows display truncated cell names as available network
1687         shares. The network share properties will also include the object type and and the target of
1688         symlinks and mount points.</para>
1689     </section>
1690     <section>
1691       <title id="fs_newcell_differences">3.52. Differences between Windows and UNIX <emphasis>fs newcell</emphasis></title>
1692       <indexterm significance="normal">
1693         <primary>fs newcell</primary>
1694       </indexterm>
1695       <para>
1696         The OpenAFS for Windows version of "fs newcell" prior to 1.5.74 behaved quite differently than its UNIX counterpart.
1697         Instead of adding cell server information for a new cell, the command simply caused the cache manager to destroy all of its
1698         cell server information and then reload it the next time the server list for a cell is needed.  The UNIX version explicitly
1699         replaces the server list for a cell with a new list.
1700       </para>
1701       <para>
1702         Beginning with the 1.5.75 release, the Windows version will continue to behave as prior versions did when no parameters
1703         are specified but will accept an extended UNIX command-line syntax as well.  In addition to the UNIX parameters,
1704         the Windows "fs newcell" command accepts four new ones:
1705       </para>
1706       <itemizedlist>
1707         <listitem>
1708           <para>[-fsport &lt;cell's fileserver port&gt;]</para>
1709           <para>Specifies an alternate port number at which the cell's file servers are listening</para>
1710         </listitem>
1711         <listitem>
1712           <para>[-vlport &lt;cell's vldb server port&gt;]</para>
1713           <para>Specifies an alternate port number at which the cell's volume location database servers are listening</para>
1714         </listitem>
1715         <listitem>
1716           <para>[-registry]</para>
1717           <para>Instructs the cache manager to save the cell server information to the registry database</para>
1718         </listitem>
1719         <listitem>
1720           <para>[-dns]</para>
1721           <para>Indicates that the cell server information should be obtained via DNS SRV or DNS AFSDB records</para>
1722         </listitem>
1723       </itemizedlist>
1724     </section>
1725
1726     <section>
1727       <title id="openafs_reparse_points">3.53. AFS Mount Points and Symlinks are Reparse Points</title>
1728       <indexterm significance="normal">
1729         <primary>reparse points</primary>
1730       </indexterm>
1731       <indexterm significance="normal">
1732         <primary>mount points</primary>
1733       </indexterm>
1734       <indexterm significance="normal">
1735         <primary>symlinks</primary>
1736       </indexterm>
1737       <para>
1738                 The IFS redirector driver represents all AFS mount points and AFS symlinks as reparse points within the file system name space
1739                 using a Microsoft assigned tag value. Tools that are OpenAFS reparse point aware can create, query
1740                 and remove AFS symlinks and mount points without requiring knowledge
1741                 of AFS pioctls.  The explorer shell will be able to delete a mount
1742                 point or symlink as part of a recursive directory tree removal without
1743                 crossing into the reparse point target.
1744       </para>
1745       <para>The Explorer Shell displays Symlinks and Mount Points using overlay icons.</para>
1746       <para><inlinegraphic fileref="relnotes03.jpg" align="center" arch=""/></para>
1747     </section>
1748
1749     <section>
1750       <title id="authentication_groups">3.54. AFS Authentication Groups</title>
1751       <indexterm significance="normal">
1752         <primary>authentication groups</primary>
1753       </indexterm>
1754       <indexterm significance="normal">
1755         <primary>PAG</primary>
1756       </indexterm>
1757       <indexterm significance="normal">
1758         <primary>tokens</primary>
1759       </indexterm>
1760       <para>
1761                 When the OpenAFS Service is configured as an SMB Gateway, all AFS Tokens are associated with Windows user names.
1762                 With the IFS redirector driver, tokens are associated with Authentication Groups.
1763                 By default, an authentication group is allocated for each User SID
1764                 and Logon Session Id combination.  In addition, it is possible for
1765                 processes to create additional Authentication Groups.  Each thread in
1766                 a process can select an Authentication Group within the process as the
1767                 active Authentication Group.
1768                 </para>
1769           <para>
1770                 One of the significant benefits of Authentication Groups within the
1771                 Windows environment is that Windows services (svchost.exe, csrss.exe,
1772                 etc.) which impersonate user processes will seamlessly gain access
1773                 to the user's AFS credentials for the lifetime of the impersonation.
1774       </para>
1775     </section>
1776
1777     <section>
1778       <title id="ifs_known_issues">3.55. Known IFS redirector driver limitations</title>
1779       <indexterm significance="normal">
1780         <primary>IFS redirector</primary>
1781       </indexterm>
1782       <indexterm significance="normal">
1783         <primary>known issues</primary>
1784       </indexterm>
1785       <para>
1786       The following is a list of known issues when using the IFS redirector driver:
1787       <itemizedlist>
1788       <listitem>
1789                 <para>It is not possible to execute an application out of AFS under
1790    the following conditions:
1791       <itemizedlist>
1792       <listitem><para>The path is a drive letter mapping</para></listitem>
1793       <listitem><para>The application requires elevated privileges</para></listitem>
1794       </itemizedlist>
1795    Workaround: use SUBST instead of NET USE to assign drive
1796    letters to UNC paths.
1797       </para>
1798       </listitem>
1799       <listitem>
1800       <para>The Windows File System <ulink url="http://msdn.microsoft.com/en-us/library/ff549293%28v=vs.85%29.aspx">Volume Query Quota Interface</ulink> is not implemented.  As a result, AFS quota information is not available to application processes or end users via Windows dialogs.</para>
1801       </listitem>
1802       <listitem>
1803       <para>The Windows <ulink url="https://secure.wikimedia.org/wikipedia/en/wiki/Shadow_Copy">Volume Shadow Copy Service</ulink> is not implemented.  As a result, AFS backup volumes are not accessible via the Explorer Shell.</para>
1804       </listitem>
1805       <listitem>
1806       <para>
1807       There is no support for storing DOS attributes such as Hidden, System, or Archive.
1808       </para>
1809       </listitem>
1810       <listitem>
1811       <para>
1812       There is no support for Alternate Data Streams as required by Windows User Account Control to store Zone Identity data.
1813       </para>
1814       </listitem>
1815       <listitem>
1816       <para>
1817       There is no support for Extended Attributes.
1818       </para>
1819       </listitem>
1820       <listitem>
1821       <para>
1822       There is no support for <ulink url="https://blogs.technet.com/b/hugofe/archive/2010/06/21/windows-2008-access-based-enumeration-abe.aspx">Access Based Enumeration</ulink>.
1823       </para>
1824       </listitem>
1825       <listitem>
1826       <para>
1827       There is no support for <ulink url="https://secure.wikimedia.org/wikipedia/en/wiki/Windows_Management_Instrumentation">Windows Management Instrumentation</ulink>
1828       </para>
1829       </listitem>
1830       <listitem>
1831       <para>
1832       There is no support for <ulink url="http://msdn.microsoft.com/en-us/library/aa363997%28v=vs.85%29.aspx">Distributed Link Tracking and Object Identifiers</ulink>
1833       </para>
1834       </listitem>
1835       <listitem>
1836       <para>
1837       There is no support for storing <ulink url="http://msdn.microsoft.com/en-us/magazine/cc982153.aspx">Windows Access Control Lists</ulink>.  Only the AFS ACLs are enforced.
1838       </para>
1839       </listitem>
1840       </itemizedlist>
1841       </para>
1842     </section>
1843     <section>
1844       <title id="windows8_changes">3.56. Changes for Windows 8 and Server 2012</title>
1845       <indexterm significance="normal">
1846         <primary>Windows 8</primary>
1847       </indexterm>
1848       <indexterm significance="normal">
1849         <primary>Server 2012</primary>
1850       </indexterm>
1851       <para>
1852       In Windows 8 and Server 2012 Microsoft has introduced a new file system, ReFS, and has begun the process of transitioning away from several legacy file system properties including 8.3 compatible short names for all file system objects.
1853       The OpenAFS file system has followed suit and is disabling automatic generation of 8.3 compatible names on Windows 8 and Server 2012.
1854       </para>
1855     </section>
1856
1857   </chapter>
1858   <chapter id="chap_4">
1859     <title id="How_to_Debug_Problems">How to Troubleshoot Problems with OpenAFS for Windows</title>
1860     <para>
1861     <indexterm significance="normal">
1862       <primary>debugging</primary>
1863     </indexterm>
1864     <indexterm significance="normal">
1865       <primary>troubleshooting</primary>
1866     </indexterm>
1867     OpenAFS for Windows provides a wide range of tools to assist you in debugging problems. The techniques available to you are varied because of the wide range of issues that have been discovered over the years.</para>
1868     <section>
1869       <title id="pioctl_debugging">4.1. pioctl debugging (
1870         <link linkend="Value_IoctlDebug">IoctlDebug</link> registry key)
1871       </title>
1872       <indexterm significance="normal">
1873         <primary>IoctlDebug</primary>
1874       </indexterm>
1875       <indexterm significance="normal">
1876         <primary>tokens.exe</primary>
1877       </indexterm>
1878       <indexterm significance="normal">
1879         <primary>aklog.exe</primary>
1880       </indexterm>
1881       <indexterm significance="normal">
1882         <primary>afscreds.exe</primary>
1883       </indexterm>
1884       <para>pioctl (path-based ioctl) calls are used by various tools to communicate with the AFS Client Service. Some of the operations performed include:</para>
1885       <itemizedlist>
1886         <listitem>
1887           <para>setting/querying tokens (tokens.exe, aklog.exe, afscreds.exe)</para>
1888         </listitem>
1889         <listitem>
1890           <para>setting/querying ACLs </para>
1891         </listitem>
1892         <listitem>
1893           <para>setting/querying cache parameters</para>
1894         </listitem>
1895         <listitem>
1896           <para>flushing files or volumes</para>
1897         </listitem>
1898         <listitem>
1899           <para>setting/querying server preferences</para>
1900         </listitem>
1901         <listitem>
1902           <para>querying path location</para>
1903         </listitem>
1904         <listitem>
1905           <para>checking the status of servers and volumes</para>
1906         </listitem>
1907         <listitem>
1908           <para>setting/querying the sysname list</para>
1909         </listitem>
1910       </itemizedlist>
1911       <para>pioctl calls are implemented by writing to a special UNC path that is processed by the AFS Client Service. If there is a failure to communicate with the AFS Client Service via SMB/CIFS, it will be impossible to perform any of the above operations. </para>
1912       <para>To assist in debugging these problems, the registry value:</para>
1913       <para> [HKLM\SOFTWARE\OpenAFS\Client]</para>
1914       <para> REG_DWORD: IoctlDebug = 0x01</para>
1915       <para>should be set. Then any of the commands that perform pioctl calls should be executed from the command prompt. With this key set the pioctl library will generate debugging output to stderr. The output will contain the Win32 API calls executed along with their most important parameters and their return code. The MSDN Library and the Microsoft KnowledgeBase can be used as a reference to help you determine the configuration probem with your system.</para>
1916     </section>
1917     <section>
1918       <title id="afsd_service_init_log">4.2. afsd_service initialization log (%WinDir%\TEMP\afsd_init.log)</title>
1919       <indexterm significance="normal">
1920         <primary>afsd_init.log</primary>
1921       </indexterm>
1922       <indexterm significance="normal">
1923         <primary>MaxLogSize</primary>
1924       </indexterm>
1925       <para>Every time the AFS Client Service starts it appends data about its progress and configuration to a file. This file provides information crucial to determining why the service cannot start when there are problems. When the process terminates due to a panic condition it will write to this file the source code file and line number of the error. In many cases the panic condition is due to a misconfiguration of the machine. In other cases it might be due to a programming error in the software. A quick review of the location in the source code will quickly reveal the reason for the termination.</para>
1926       <para>The
1927         <link linkend="Value_MaxLogSize">MaxLogSize</link> registry value determines the maximum size of the %WINDIR%\TEMP\afsd_init.log file. If the file is larger than this value when OpenAFS Client Service starts, the file will be reset to 0 bytes. If value is set to 0, the file will be allowed to grow indefinitely.
1928       </para>
1929     </section>
1930     <section>
1931       <title id="afsd_service_debug_log">4.3. afsd_service debug logs (fs trace {-on, -off, -dump} -&gt;%WinDir%\TEMP\afsd.log)</title>
1932       <indexterm significance="normal">
1933         <primary>afsd.log</primary>
1934       </indexterm>
1935       <indexterm significance="normal">
1936         <primary>fs trace</primary>
1937       </indexterm>
1938       <indexterm significance="normal">
1939         <primary>TraceBufferSize</primary>
1940       </indexterm>
1941       <para>When attempting to debug the behavior of the SMB/CIFS Server and the Cache Manager it is often useful to examine a log of the operations being performed. While running the AFS Client Service keeps an in memory log of many of its actions. The default number of actions preserved at any one time is 5000. This can be adjusted with the
1942         <link linkend="Value_TraceBufferSize">TraceBufferSize registry value</link>:
1943       </para>
1944       <para> [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
1945       <para> REG_DWORD TraceBufferSize </para>
1946       <para>A restart of the service is necessary when adjusting this value. Execute "fs trace -on -reset" to begin the logging and "fs trace -dump" to output the contents of the log to the file.</para>
1947     </section>
1948     <section>
1949       <title id="Using_Sysinternals_Tools">4.4. Using SysInternal's Debug Viewer, Process Monitor,
1950         Process Explorer and Process Dump Tools</title>
1951       <indexterm significance="normal">
1952         <primary>SysInternals</primary>
1953       </indexterm>
1954       <indexterm significance="normal">
1955         <primary>dbgview.exe</primary>
1956       </indexterm>
1957       <indexterm significance="normal">
1958         <primary>procmon.exe</primary>
1959       </indexterm>
1960       <indexterm significance="normal">
1961         <primary>TraceOption</primary>
1962       </indexterm>
1963       <para>An alternatve option to the use of "fs trace -dump" to capture internal OpenAFS Client Service events is to use a tool such as Sysinternal's
1964         <ulink url="http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx">Debug Viewer</ulink> to capture real-time debugging output. When the OpenAFS Client Service starts and Bit 2 of the
1965         <link linkend="Value_TraceOption">TraceOption</link> value in the registry is set, all trace log events are output using the Windows Debug Monitor interface (OutputDebugString).
1966       </para>
1967       <para> [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
1968       <para>REG_DWORD TraceOption = 0x04</para>
1969       <para>Use "fs trace –on" and "fs trace –off" to toggle the generation of log messages. </para>
1970       <para>Sysinternal's
1971         <ulink url="http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx">Process Monitor</ulink> can be use to monitor the file operations requested by applications and their success or failure.
1972       </para>
1973       <para>In Process Monitor, set a filter to include only events on file paths that refer to the AFS name space. Be sure to include both the UNC path as well as any drive letters mapped to AFS. </para>
1974       <para>Turn on the
1975         <emphasis>Clock Time</emphasis> and
1976         <emphasis>Show Milliseconds</emphasis> options in both tools to make it easier to synchronize the application requests and the resulting OpenAFS Client Service operations. The captured data can be stored to files for inclusion in
1977         <link linkend="Reporting_Bugs">bug reports</link>.
1978       </para>
1979       <para>Sysinternal's
1980         <ulink url="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx">Process Explorer</ulink> is a replacement for the Windows Task Manager and so much more. Process Explorer can be configured to use the DbgHelp.dll from "
1981         <ulink url="http://www.microsoft.com/whdc/devtools/debugging/default.mspx">Microsoft Debugging Tools for Windows</ulink>" as well as the debug symbols shipped as an optional component of the OpenAFS for Windows installer. (Options-&gt;Configure Symbols) Once configured the "Threads" tab of the process properties dialog will permit the viewing of a fully documented stack for each displayed thread. Hint: If there is a deadlock in the cache manager, two or more of the threads will be stuck in a call to osi_TWait().
1982       </para>
1983     </section>
1984     <section>
1985       <title id="Creating_Microsoft_Minidumps">4.5. Creating Microsoft MiniDumps
1986 (fs minidump -&gt; %WinDir%\TEMP\afsd.dmp)</title>
1987       <indexterm significance="normal">
1988         <primary>minidumps</primary>
1989       </indexterm>
1990       <indexterm significance="normal">
1991         <primary>fs minidump</primary>
1992       </indexterm>
1993       <indexterm significance="normal">
1994         <primary>MiniDumpType</primary>
1995       </indexterm>
1996       <indexterm significance="normal">
1997         <primary>afsd.dmp</primary>
1998       </indexterm>
1999       <para>If the AFS Client Service become unresponsive to any form of communication there may be a serious error that can only be debugged by someone with access to the source code and a debugger. The "fs minidump" command can be used to force the generation of a MiniDump file containing the state of all of the threads in the AFS Client Service process. The most accurate MiniDump files will be produced after installing "
2000         <ulink url="http://www.microsoft.com/whdc/devtools/debugging/default.mspx">Microsoft Debugging Tools for Windows</ulink>".
2001       </para>
2002       <para>The
2003         <link linkend="Value_MiniDumpType">MiniDumpType</link> registry value can be used to adjust the scope of the process information included within the dump file. By default the MiniDump only contains the stacks of all threads and the values of all global variables. A much more useful MiniDump is one that contains the contents of the heap. Be warned, a MiniDump with heap will be as large as the cache file. In addition, it will include all of the data stored within the cache. If there are privacy concerns, do not produce a MiniDump with heap.
2004       </para>
2005     </section>
2006     <section>
2007       <title id="Integrated_Logon_Debugging">4.6. Single Sign-on (Integrated Logon) debugging</title>
2008       <indexterm significance="normal">
2009         <primary>integrated logon</primary>
2010       </indexterm>
2011       <indexterm significance="normal">
2012         <primary>TraceOption</primary>
2013       </indexterm>
2014       <para>If you are having trouble with the Integrated Logon operations it is often useful to be
2015         able to obtain a log of what it is attempting to do. Setting the <link
2016           linkend="Value_AFSLogon_Debug">Debug</link> registry value: </para>
2017       <para> [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider]</para>
2018       <para> REG_DWORD Debug = 0x01</para>
2019       <para>will instruct the Integrated Logon Network Provider and Event Handlers to log information to the Windows Event Log: Application under the name "AFS Logon".</para>
2020     </section>
2021     <section>
2022       <title id="rxdebug_usage">4.7. RX (AFS RPC) debugging (rxdebug)</title>
2023       <indexterm significance="normal">
2024         <primary>rxdebug.exe</primary>
2025       </indexterm>
2026       <para>The rxdebug.exe tool can be used to query a variety of information about the AFS services installed on a given machine. The port for the AFS Cache Manager is 7001. </para>
2027       <para>
2028         <programlisting format="linespecific">
2029     Usage: rxdebug -servers &lt;server machine&gt; [-port &lt;IP port&gt;] [-nodally]
2030            [-allconnections] [-rxstats] [-onlyserver] [-onlyclient]
2031            [-onlyport &lt;show only &lt;port&gt;&gt;]
2032            [-onlyhost &lt;show only &lt;host&gt;&gt;]
2033            [-onlyauth &lt;show only &lt;auth level&gt;&gt;] [-version]
2034            [-noconns] [-peers] [-help]
2035     Where: -nodally         don't show dallying conns
2036            -allconnections  don't filter out uninteresting connections
2037            -rxstats         show Rx statistics
2038            -onlyserver      only show server conns
2039            -onlyclient      only show client conns
2040            -version         show AFS version id
2041            -noconns         show no connections
2042            -peers           show peers
2043       </programlisting>
2044       </para>
2045     </section>
2046     <section>
2047       <title id="cmdebug_usage">4.8. Cache Manager RPC debugging (cmdebug)</title>
2048       <indexterm significance="normal">
2049         <primary>cmdebug.exe</primary>
2050       </indexterm>
2051       <para>The cmdebug.exe tool can be used to query the state of the AFS Cache Manager over the network.</para>
2052       <para>
2053         <programlisting format="linespecific">
2054     Usage: cmdebug -servers &lt;server machine&gt; [-port &lt;IP port&gt;] [-long] [-refcounts]
2055            [-callbacks] [-ctime] [-addrs] [-cache] [-cellservdb] [-help]
2056     Where: -long        print all info
2057            -refcounts   print only cache entries with positive reference counts
2058            -callbacks   print only cache entries with callbacks
2059            -ctime       print human readable expiration time
2060            -addrs       print only host interfaces
2061            -cache       print only cache configuration
2062            -cellservdb  print only cellservdb info
2063       </programlisting>
2064       </para>
2065     </section>
2066     <section>
2067       <title id="Persistent_Cache_Consistency_Check">4.9. Persistent Cache consistency check</title>
2068       <indexterm significance="normal">
2069         <primary>AFSCache</primary>
2070       </indexterm>
2071       <indexterm significance="normal">
2072         <primary>validate cache file</primary>
2073       </indexterm>
2074       <para>The persistent cache is stored in a Hidden System file at %WinDir%\TEMP\AFSCache. If there is a problem with the persistent cache that prevent the AFS Client Service from being able to start a validation check on the file can be performed.</para>
2075       <para> afsd_service.exe --validate-cache &lt;cache-path&gt;</para>
2076     </section>
2077     <section>
2078       <title id="Token_Acquisition_Debugging">4.10. Token Acquisition Debugging</title>
2079       <indexterm significance="normal">
2080         <primary>tokens</primary>
2081       </indexterm>
2082       <indexterm significance="normal">
2083         <primary>klog.exe</primary>
2084       </indexterm>
2085       <indexterm significance="normal">
2086         <primary>kinit.exe</primary>
2087       </indexterm>
2088       <indexterm significance="normal">
2089         <primary>aklog.exe</primary>
2090       </indexterm>
2091       <para>If you are having trouble obtaining tokens with the Network Identity Manager AFS credential provider, it is recommended that you verify your ability to obtain tokens using the command-line tools
2092         <emphasis>klog.exe</emphasis> (if you are using kaserver) or
2093         <emphasis>kinit.exe</emphasis> and
2094         <emphasis>aklog.exe</emphasis> (if you are using Kerberos v5.)  The aklog.exe
2095         <emphasis>–d</emphasis> option will be quite helpful in diagnosing Kerberos v5 related problems.
2096       </para>
2097     </section>
2098   </chapter>
2099   <chapter id="Reporting_Bugs">
2100     <title>Reporting Bugs</title>
2101     <para>
2102     <indexterm significance="normal">
2103       <primary>bug reports</primary>
2104     </indexterm>
2105     Bug reports should be sent to
2106       <ulink url="mailto:openafs-bugs@openafs.org?subject=Bug%20Report">openafs-bugs@openafs.org</ulink>. Please include as much information as possible about the issue. If you are reporting a crash, please install the debugging symbols by re-running the installer. If a dump file is available for the problem, %WINDIR%\TEMP\afsd.dmp, include it along with the AFS Client Trace file %WINDIR%\TEMP\afsd.log. The AFS Client startup log is %WINDIR%\TEMP\afsd_init.log. Send the last continuous block of log information from this file.
2107     </para>
2108     <para>Configuring DrWatson to generate dump files for crashes:</para>
2109     <orderedlist inheritnum="ignore" continuation="restarts">
2110       <listitem>
2111         <para>Run drwtsn32.exe to configure or to identify where the log and the crash dump files are created: </para>
2112       </listitem>
2113       <listitem>
2114         <para>click Start &gt; Run... </para>
2115       </listitem>
2116       <listitem>
2117         <para>type drwtsn32 &lt;enter&gt;. </para>
2118       </listitem>
2119       <listitem>
2120         <para>Select either a Crash Dump Type: Mini or Full. </para>
2121       </listitem>
2122       <listitem>
2123         <para>Clear Dump Symbol Table</para>
2124       </listitem>
2125       <listitem>
2126         <para>Clear Append to Existing Log file. </para>
2127       </listitem>
2128       <listitem>
2129         <para>Check Dump All Thread Contexts.</para>
2130       </listitem>
2131       <listitem>
2132         <para>Check Create Crash Dump File</para>
2133       </listitem>
2134       <listitem>
2135         <para>Next run the monitoring module of Dr. Watson: </para>
2136       </listitem>
2137       <listitem>
2138         <para>click Start &gt; Run...</para>
2139       </listitem>
2140       <listitem>
2141         <para>type drwatson &lt;enter&gt;. </para>
2142       </listitem>
2143       <listitem>
2144         <para>Once a crash happens, Dr. Watson generates a dump file and a report in the log file, including the address of the crash and the stack dump.</para>
2145       </listitem>
2146     </orderedlist>
2147     <para>Once you have the Dr. Watson's logfile and minidump, zip them and attach them to your e-mail.</para>
2148     <para>When reporting a error, please be sure to include the version of OpenAFS.
2149     </para>
2150   </chapter>
2151   <chapter id="chap_6">
2152     <title id="Contributing_to_OpenAFS">How to Contribute to the Development of OpenAFS for Windows</title>
2153     <para>
2154     <indexterm significance="normal">
2155       <primary>contributing to OpenAFS</primary>
2156     </indexterm>
2157     Contributions to the development of OpenAFS for Windows are continuously needed. Contributions may take many forms including cash donations, support contracts, donated developer time, and even donated tech writer time.</para>
2158     <section>
2159       <title id="USENIX_OpenAFS_Fund">6.1. The USENIX OpenAFS Fund </title>
2160       <para>
2161       <indexterm significance="normal">
2162         <primary>USENIX OpenAFS Fund</primary>
2163       </indexterm>
2164         <ulink url="http://www.usenix.org/">USENIX</ulink>, a 501c3 non-profit corporation, has formed the USENIX OpenAFS Fund in order to accept tax deductible donations on behalf of the OpenAFS Elders. The donated funds will be allocated by the OpenAFS Elders to fund OpenAFS development, documentation, project management, and maintaining openafs.org.
2165       </para>
2166       <informaltable frame="none">
2167         <tgroup rowsep="1" align="left" colsep="1" cols="1">
2168           <colspec colwidth="405pt" colname="c1" />
2169           <tbody>
2170             <row>
2171               <entry>
2172                 <para>
2173                   <programlisting format="linespecific">
2174     USENIX OpenAFS Fund
2175     USENIX Association
2176     2560 Ninth St., Suite 215
2177     Berkeley, CA 94710
2178                   </programlisting>
2179                 </para>
2180               </entry>
2181             </row>
2182           </tbody>
2183         </tgroup>
2184       </informaltable>
2185       <para>Donations can be made by sending a check, drawn on a U.S. bank, made out to the USENIX OpenAFS Fund or by making a
2186         <ulink url="https://db.usenix.org/cgi-bin/openafs/openafs.cgi">donation online</ulink>.
2187       </para>
2188     </section>
2189     <section>
2190       <title id="Secure_Endpoints_Inc">6.2. Secure Endpoints Inc. </title>
2191       <para>
2192       <indexterm significance="normal">
2193         <primary>Secure Endpoints Inc.</primary>
2194       </indexterm>
2195         <ulink url="http://www.secure-endpoints.com/">Secure Endpoints Inc.</ulink> provides development and support services for OpenAFS for Windows and
2196         <ulink url="http://web.mit.edu/kerberos/">MIT Kerberos for Windows</ulink>. Donations provided to Secure Endpoints Inc. for the development of OpenAFS are used to cover the OpenAFS gatekeeper responsibilities; providing support to the OpenAFS community via the OpenAFS mailing lists; and furthering development of desired features that are either too small to be financed by development contracts.
2197       </para>
2198       <para>Secure Endpoints Inc. accepts software development agreements from organizations who wish to fund a well-defined set of bug fixes or new features. </para>
2199       <para>Secure Endpoints Inc. provides contract based support for the OpenAFS for Windows and the
2200         <ulink url="http://web.mit.edu/kerberos/">MIT Kerberos for Windows</ulink> products.
2201       </para>
2202     </section>
2203     <section>
2204       <title id="Your_File_System_Inc">6.3. Your File System Inc. </title>
2205       <para>
2206       <indexterm significance="normal">
2207         <primary>Your File System Inc.</primary>
2208       </indexterm>
2209         <ulink url="http://www.your-file-system.com/">Your File System Inc.</ulink> provides development and support services for OpenAFS for Windows.
2210         Donations provided to Your File System Inc. for the development of OpenAFS are used to cover the OpenAFS gatekeeper responsibilities;
2211         providing support to the OpenAFS community via the OpenAFS mailing lists;
2212         and furthering development of desired features that are either too small to be financed by development contracts.
2213       </para>
2214       <para>Your File System Inc. accepts software development agreements from organizations who wish to fund a well-defined set of bug fixes or new features. </para>
2215       <para>Your File System Inc. provides contract based support for OpenAFS on all platforms.
2216       </para>
2217     </section>
2218     <section>
2219       <title id="Direct_Code_Contributions">6.4. Direct contributions of code and/or documentation </title>
2220       <para>Organizations that use OpenAFS in house and have development staffs are encouraged to contribute any code modifications they make to OpenAFS.org via openafs-bugs@openafs.org. Contributions of documentation are highly desired. </para>
2221     </section>
2222     <section>
2223       <title id="OAFW_Mailing_Lists">6.5. OpenAFS for Windows Mailing Lists</title>
2224       <indexterm significance="normal">
2225         <primary>mailing lists</primary>
2226       </indexterm>
2227       <indexterm significance="normal">
2228         <primary>openafs-win32-devel</primary>
2229       </indexterm>
2230       <indexterm significance="normal">
2231         <primary>openafs-info</primary>
2232       </indexterm>
2233       <para>If you wish to participate in OpenAFS for Windows development please join the
2234         <ulink url="mailto:openafs-win32-devel@openafs.org?subject=OpenAFS%20for%20Windows%20Development%20Contribution">openafs-win32-devel@openafs.org</ulink> mailing list.
2235       </para>
2236       <para>
2237         <emphasis role="bold">https://lists.openafs.org/mailman/listinfo/openafs-win32-devel</emphasis>
2238       </para>
2239       <para>User questions should be sent to the
2240         <ulink url="mailto:openafs-info@openafs.org?subject=OpenAFS%20for%20Windows%20User%20Question">openafs-info@openafs.org</ulink> mailing list.
2241       </para>
2242       <para>
2243         <emphasis role="bold">https://lists.openafs.org/mailman/listinfo/openafs-info</emphasis>
2244       </para>
2245       <para>You must join the mailing lists if you wish to post to the list without incurring a moderation delay.</para>
2246     </section>
2247   </chapter>
2248   <chapter id="chap_7">
2249     <title id="MSI_Deployment_Guide">MSI Deployment Guide</title>
2250     <section>
2251       <title>7.1. Introduction</title>
2252       <indexterm significance="normal">
2253         <primary>msi deployment</primary>
2254       </indexterm>
2255       <indexterm significance="normal">
2256         <primary>msi transforms</primary>
2257       </indexterm>
2258       <para id="Introduction_to_MSI_Deployment">A MSI installer option is available for those who wish to use Windows Installer for installing OpenAFS and for organizations that wish to deploy OpenAFS through Group Policy. The first version of OpenAFS for Windows available as an MSI was 1.3.65.</para>
2259       <para>This document provides a guide for authoring transforms used to customize the MSI package for a particular organization. Although many settings can be deployed via transforms, in an Active Directory environment it is advisable to deploy registry settings and configuration files through group policy and/or startup scripts so that machines where OpenAFS for Windows is already installed will pick up these customizations.</para>
2260       <section>
2261         <title id="MSI_Deployment_Requirements">7.1.1 Requirements</title>
2262         <para>The information in this document applies to MSI packages distributed with OpenAFS for Windows releases from 1.3.65 and onwards or MSI packages built from corresponding source releases. Not all releases support all the configuration options documented here.</para>
2263         <para>Authoring a "Windows Installer" transform requires additional software for editing the MSI database tables and generating the transform from the modified MSI package. ORCA.EXE and MSITRAN.EXE which are included in the Windows Platform SDK ("Windows Installer" SDK) can be used for this purpose.</para>
2264         <para>For reference, the schema for the MSI package is based on SCHEMA.MSI distributed with the Platform SDK.</para>
2265         <para>For general information about "Windows Installer", refer to:</para>
2266         <para>
2267           <ulink url="http://msdn.microsoft.com/library/en-us/msi/setup/windows_installer_start_page.asp">http://msdn.microsoft.com/library/en-us/msi/setup/windows_installer_start_page.asp</ulink></para>
2268         <para>For general information about authoring MSI transforms, refer to:</para>
2269         <para>
2270           <ulink url="http://msdn.microsoft.com/library/en-us/msi/setup/transforms.asp">http://msdn.microsoft.com/library/en-us/msi/setup/transforms.asp</ulink></para>
2271         <para>The remainder of this document assumes some familiarity with authoring transforms. While the MSDN documentation for Windows Installer is a bit dense, the guide on MSI transforms found at the second link above is recommended reading. MSDN also includes a step-by-step example for creating a transform at:</para>
2272         <para>
2273           <ulink url="http://msdn.microsoft.com/library/en-us/msi/setup/a_customization_transform_example.asp">http://msdn.microsoft.com/library/en-us/msi/setup/a_customization_transform_example.asp</ulink></para>
2274       </section>
2275       <section>
2276         <title id="MSI_Authoring_Transforms">7.1.2 Authoring a Transform</title>
2277         <para>Transforms describe a set of modifications to be performed on an existing MSI for the purpose of customizing it. This is ordinarily done by making a copy of the MSI to be customized, modifying the copy and then using the old and the new MSI to generate a transform. For example:</para>
2278         <orderedlist inheritnum="ignore" continuation="restarts">
2279           <listitem>
2280             <para>copy openafs.msi openafs-modified.msi</para>
2281           </listitem>
2282           <listitem>
2283             <para>(edit the openafs-modified.msi to include the necessary changes)</para>
2284           </listitem>
2285           <listitem>
2286             <para>msitran -g openafs.msi openafs-modified.msi openafs-transform.mst</para>
2287           </listitem>
2288           <listitem>
2289             <para>(generates openafs-transform.mst, which is the transform)</para>
2290           </listitem>
2291         </orderedlist>
2292         <para>Transforms have an extension of .mst. 'msitran' is a tool distributed as part of the "Windows Installer" SDK (part of the Windows Platform SDK).</para>
2293         <para>You can test a transform by:</para>
2294         <orderedlist inheritnum="ignore" continuation="restarts">
2295           <listitem>
2296             <para>copy openafs.msi openafs-test.msi</para>
2297           </listitem>
2298           <listitem>
2299             <para>msitran -a openafs-transform.mst openafs-test.msi</para>
2300           </listitem>
2301         </orderedlist>
2302         <para>and then checking the resulting openafs-test.msi to see if all changes you have made above to openafs-modified.msi is present in openafs-test.msi. 'msitran' will complain if some modification in the transform can not be successfully applied.</para>
2303         <para>As mentioned above, you can use a tool like ORCA.EXE to edit the MSI databases directly when editing openafs-modified.msi. More details are given below.</para>
2304       </section>
2305     </section>
2306     <section>
2307       <title id="MSI_Configuration_Options">7.2. Configuration Options</title>
2308       <para>The logic necessary to implement many of the settings described in
2309         <link linkend="appendix_a">Appendix A</link> are present in the MSI. Most of these can be controlled by setting the corresponding properties to the desired value. Some settings may require modifying existing registry entries (though not recommended) or adding new resources (like files or registry keys). Instructions for performing these tasks are below.
2310       </para>
2311       <section>
2312         <title id="MSI_Configurable_Properties">7.2.1 Configurable Properties</title>
2313         <para>Most configurable properties correspond to registry keys or values. Due to the logic invoked based on the existence of these registry keys or values, they are only set if the associated property is defined to have a non null value. If the associated property is not defined in the MSI, the registry key or value will not be touched. By default, the MSI does not contain these properties and hence will not set the registry keys. You will need to add properties as needed to the MSI.</para>
2314         <para>When one of the configurable properties is set, the installer will use the property value to set the corresponding setting in the HKEY_LOCAL_MACHINE registry hive. The HKEY_CURRENT_USER hive is not touched by the installer.</para>
2315         <para>For each property, the associated registry setting is referenced by the same text used in
2316           <link linkend="appendix_a">Appendix A</link>.
2317         </para>
2318         <para>Strings are quoted using single quotes (e.g. 'a string'). An empty string is denoted as ''. Note that you can't author null values into the 'Property' table.</para>
2319         <para>Numeric values should be authored as decimal strings.</para>
2320         <section>
2321           <title id="MSI_Setting_Properties">7.2.1.1 Setting Properties</title>
2322           <para>In order to set a property,</para>
2323           <orderedlist inheritnum="ignore" continuation="restarts">
2324             <listitem>
2325               <para>Open the MSI in ORCA.EXE</para>
2326             </listitem>
2327             <listitem>
2328               <para>Select the 'Property' table from the list of tables on the left.</para>
2329             </listitem>
2330             <listitem>
2331               <para>Find the property in the list of properties on the right, double click the value and type the new value.</para>
2332             </listitem>
2333             <listitem>
2334               <para>If the property does not exist in the property list, right click the list and select 'Add Row', type the property name and the desired value.</para>
2335             </listitem>
2336           </orderedlist>
2337         </section>
2338         <section>
2339           <title id="MSI_OAFW_Properties">7.2.1.2 OpenAFS for Windows Properties</title>
2340           <informaltable frame="all">
2341             <tgroup rowsep="1" align="left" colsep="1" cols="1">
2342               <colspec colwidth="447pt" colname="c1" />
2343               <tbody>
2344                 <row>
2345                   <entry>
2346                     <para>
2347                       <emphasis>(Service parameters):</emphasis>
2348                     </para>
2349                     <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
2350                   </entry>
2351                 </row>
2352                 <row>
2353                   <entry>
2354                     <para>
2355                       <emphasis>(Network provider):</emphasis>
2356                     </para>
2357                     <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider]</para>
2358                   </entry>
2359                 </row>
2360                 <row>
2361                   <entry>
2362                     <para>
2363                       <emphasis>(OpenAFS Client):</emphasis>
2364                     </para>
2365                     <para>[HKLM\SOFTWARE\OpenAFS\Client]</para>
2366                   </entry>
2367                 </row>
2368               </tbody>
2369             </tgroup>
2370           </informaltable>
2371           <section>
2372             <title id="MSI_OAFW_Registry_Properties">7.2.1.2.1 Registry Properties</title>
2373             <para>These properties are used to set the values of registry entries associated with OpenAFS for Windows.</para>
2374             <informaltable frame="all">
2375               <tgroup rowsep="1" align="left" colsep="1" cols="1">
2376                 <colspec colwidth="447pt" colname="c1" />
2377                 <tbody>
2378                   <row>
2379                     <entry>
2380                       <para>
2381                         <emphasis role="bold">AFSCACHEPATH</emphasis>
2382                       </para>
2383                       <para>Registry key :
2384                         <link linkend="Service_Parameters">(Service Parameters)</link></para>
2385                       <para>Registry value :
2386                         <link linkend="Value_CachePath">CachePath</link></para>
2387                       <para>Valid values : string .</para>
2388                     </entry>
2389                   </row>
2390                   <row>
2391                     <entry>
2392                       <para>
2393                         <emphasis role="bold">AFSCACHESIZE</emphasis>
2394                       </para>
2395                       <para>Registry key :
2396                         <link linkend="Service_Parameters">(Service Parameters)</link></para>
2397                       <para>Registry value :
2398                         <link linkend="Value_CacheSize">CacheSize</link></para>
2399                       <para>Valid values : numeric</para>
2400                     </entry>
2401                   </row>
2402                   <row>
2403                     <entry>
2404                       <para>
2405                         <emphasis role="bold">AFSCELLNAME</emphasis>
2406                       </para>
2407                       <para>Registry key :
2408                         <link linkend="Service_Parameters">(Service Parameters)</link></para>
2409                       <para>Registry value :
2410                         <link linkend="Value_Cell">Cell</link></para>
2411                       <para>Valid values : string</para>
2412                     </entry>
2413                   </row>
2414                   <row>
2415                     <entry>
2416                       <para>
2417                         <emphasis role="bold">FREELANCEMODE</emphasis>
2418                       </para>
2419                       <para>Registry key :
2420                         <link linkend="Service_Parameters">(Service Parameters)</link></para>
2421                       <para>Registry value :
2422                         <link linkend="Value_FreelanceClient">FreelanceClient</link></para>
2423                       <para>Valid values : '1' or '0'</para>
2424                     </entry>
2425                   </row>
2426                   <row>
2427                     <entry>
2428                       <para>
2429                         <emphasis role="bold">HIDEDOTFILES</emphasis>
2430                       </para>
2431                       <para>Registry key :
2432                         <link linkend="Service_Parameters">(Service Parameters)</link></para>
2433                       <para>Registry value :
2434                         <link linkend="Value_HideDotFiles">HideDotFiles</link></para>
2435                       <para>Valid values : '1' or '0'</para>
2436                     </entry>
2437                   </row>
2438                   <row>
2439                     <entry>
2440                       <para>
2441                         <emphasis role="bold">LOGONOPTIONS</emphasis>
2442                       </para>
2443                       <para>Registry key :
2444                         <link linkend="Domain_Specific_Regkeys">(Network Provider)</link></para>
2445                       <para>Registry value :
2446                         <link linkend="Value_LogonOptions">LogonOptions</link></para>
2447                       <para>Valid values : '0', '1' or '3'</para>
2448                       <para>See
2449                         <link linkend="appendix_a">Appendix A</link><link linkend="Domain_Specific_Configuration">section 2.1 (Domain Specific Configuration keys for Network Provider)</link> for more details.
2450
2451
2452
2453                       </para>
2454                     </entry>
2455                   </row>
2456                   <row>
2457                     <entry>
2458                       <para>
2459                         <emphasis role="bold">MOUNTROOT</emphasis>
2460                       </para>
2461                       <para>Registry key :
2462                         <link linkend="Service_Parameters">(Service Parameters)</link></para>
2463                       <para>Registry value :
2464                         <link linkend="Value_Mountroot">Mountroot</link></para>
2465                       <para>Valid values : string</para>
2466                     </entry>
2467                   </row>
2468                   <row>
2469                     <entry>
2470                       <para>
2471                         <emphasis role="bold">NETBIOSNAME</emphasis>
2472                       </para>
2473                       <para>Registry key :
2474                         <link linkend="Service_Parameters">(Service Parameters)</link></para>
2475                       <para>Registry value :
2476                         <link linkend="Value_NetbiosName">NetbiosName</link></para>
2477                       <para>Valid values : string (at most 15 characters)</para>
2478                     </entry>
2479                   </row>
2480                   <row>
2481                     <entry>
2482                       <para>
2483                         <emphasis role="bold">NOFINDLANABYNAME</emphasis>
2484                       </para>
2485                       <para>Registry key :
2486                         <link linkend="Service_Parameters">(Service Parameters)</link></para>
2487                       <para>Registry value :
2488                         <link linkend="Value_NoFindLanaByName">NoFindLanaByName</link></para>
2489                       <para>Valid values : '1' or '0'</para>
2490                     </entry>
2491                   </row>
2492                   <row>
2493                     <entry>
2494                       <para>
2495                         <emphasis role="bold">RXMAXMTU</emphasis>
2496                       </para>
2497                       <para>Registry key :
2498                         <link linkend="Service_Parameters">(Service Parameters)</link></para>
2499                       <para>Registry value :
2500                         <link linkend="Value_RxMaxMTU">RxMaxMTU</link></para>
2501                       <para>Valid values : numeric</para>
2502                     </entry>
2503                   </row>
2504                   <row>
2505                     <entry>
2506                       <para>
2507                         <emphasis role="bold">SECURITYLEVEL</emphasis>
2508                       </para>
2509                       <para>Registry key :
2510                         <link linkend="Service_Parameters">(Service Parameters)</link></para>
2511                       <para>Registry value :
2512                         <link linkend="Value_SecurityLevel">SecurityLevel</link></para>
2513                       <para>Valid values : '1' or '0'</para>
2514                     </entry>
2515                   </row>
2516                   <row>
2517                     <entry>
2518                       <para>
2519                         <emphasis role="bold">SMBAUTHTYPE</emphasis>
2520                       </para>
2521                       <para>Registry key :
2522                         <link linkend="Service_Parameters">(Service Parameters)</link></para>
2523                       <para>Registry value :
2524                         <link linkend="Value_smbAuthType">SMBAuthType</link></para>
2525                       <para>Valid values : '0','1' or '2'</para>
2526                     </entry>
2527                   </row>
2528                   <row>
2529                     <entry>
2530                       <para>
2531                         <emphasis role="bold">STOREANSIFILENAMES</emphasis>
2532                       </para>
2533                       <para>Registry key :
2534                         <link linkend="Regkey_HKLM_SOFTWARE_OpenAFS_Client">(OpenAFS Client)</link></para>
2535                       <para>Registry value :
2536                         <link linkend="Value_StoreAnsiFilenames">StoreAnsiFilenames</link></para>
2537                       <para>Valid values : '0' or '1'</para>
2538                       <para>This option is no longer supported as of 1.5.50 now that all file names are stored to AFS file servers using the UTF-8 encoding of Unicode.</para>
2539                     </entry>
2540                   </row>
2541                   <row>
2542                     <entry>
2543                       <para>
2544                         <emphasis role="bold">USEDNS</emphasis>
2545                       </para>
2546                       <para>Registry key :
2547                         <link linkend="Service_Parameters">(Service Parameters)</link></para>
2548                       <para>Registry value :
2549                         <link linkend="Value_UseDNS">UseDNS</link></para>
2550                       <para>Valid values : '1' or '0'</para>
2551                     </entry>
2552                   </row>
2553                 </tbody>
2554               </tgroup>
2555             </informaltable>
2556           </section>
2557           <section>
2558             <title id="MSI_OAFW_AFSCreds_Properties">
2559                7.2.1.2.2 AFSCreds.exe Properties
2560             </title>
2561             <para>These properties are combined to add a command line option to the shortcut that will be created in the Start:Programs:OpenAFS and Start:Programs:Startup folders (see CREDSSTARTUP). The method of specifying the option was chosen for easy integration with the Windows Installer user interface. Although other methods can be used to specify options to AFSCREDS.EXE, it is advised that they be avoided as transforms including such options may not apply to future releases of OpenAFS.</para>
2562             <informaltable frame="all">
2563               <tgroup rowsep="1" align="left" colsep="1" cols="1">
2564                 <colspec colwidth="447pt" colname="c1" />
2565                 <tbody>
2566                   <row>
2567                     <entry>
2568                       <para>
2569                         <emphasis role="bold">CREDSSTARTUP</emphasis>
2570                       </para>
2571                       <para>Valid values : '1' or '0'</para>
2572                       <para>Controls whether AFSCreds.exe starts up automatically when the user logs on. When CREDSSTARTUP is '1' a shortcut is added to the 'Startup' folder in the 'Program menu' which starts AFSCREDS.EXE with the options that are determined by the other CREDS* properties.</para>
2573                     </entry>
2574                   </row>
2575                   <row>
2576                     <entry>
2577                       <para>
2578                         <emphasis role="bold">CREDSAUTOINIT</emphasis>
2579                       </para>
2580                       <para>Valid values : '-a' or ''</para>
2581                       <para>Enables automatic initialization.</para>
2582                     </entry>
2583                   </row>
2584                   <row>
2585                     <entry>
2586                       <para>
2587                         <emphasis role="bold">CREDSIPCHDET</emphasis>
2588                       </para>
2589                       <para>Valid values : '-n' or ''</para>
2590                       <para>Enables IP address change detection.</para>
2591                     </entry>
2592                   </row>
2593                   <row>
2594                     <entry>
2595                       <para>
2596                         <emphasis role="bold">CREDSQUIET</emphasis>
2597                       </para>
2598                       <para>Valid values : '-q' or ''</para>
2599                       <para>Enables quiet mode.</para>
2600                     </entry>
2601                   </row>
2602                   <row>
2603                     <entry>
2604                       <para>
2605                         <emphasis role="bold">CREDSRENEWDRMAP</emphasis>
2606                       </para>
2607                       <para>Valid values : '-m' or ''</para>
2608                       <para>Enables renewing drive map at startup.</para>
2609                     </entry>
2610                   </row>
2611                   <row>
2612                     <entry>
2613                       <para>
2614                         <emphasis role="bold">CREDSSHOW</emphasis>
2615                       </para>
2616                       <para>Valid values : '-s' or ''</para>
2617                       <para>Enables displaying the credential manager window when AFSCREDS starts up.</para>
2618                     </entry>
2619                   </row>
2620                 </tbody>
2621               </tgroup>
2622             </informaltable>
2623           </section>
2624         </section>
2625       </section>
2626       <section>
2627         <title id="MSI_Existing_Registry_Entries">7.2.2 Existing Registry Entries</title>
2628         <para>You can change existing registry values subject to the restrictions mentioned in the Windows Platform SDK. Pay special attention to component key paths and try to only change the 'Value' column in the 'Registry' table. If you want to add additional registry keys please refer to section 3 (Additional resources).</para>
2629       </section>
2630       <section>
2631         <title id="MSI_Replacing_Configuration_Files">7.2.3 Replacing Configuration Files</title>
2632         <para>The OpenAFS configuration files (CellServDB) can be replaced by your own configuration files. These files are contained in separate MSI components so that you can disable them individually.</para>
2633         <para>The recommended method for replacing these files is to first disable the components containing the configuration files that you want to replace, and then add new components for the replacement files. This is outlined below (assuming you are using ORCA.EXE to author the transform).</para>
2634         <para>Note that transforms are not a good way to add a new file as an embedded stream. The method outlined here places the file in the same directory as the MSI for deployment.</para>
2635         <para>The walkthrough below is to add a custom 'CellServDB' file.</para>
2636         <orderedlist inheritnum="ignore" continuation="restarts">
2637           <listitem>
2638             <para>Disable the component that contains the configuration file that you want to replace.</para>
2639             <orderedlist inheritnum="ignore" continuation="restarts">
2640               <listitem>
2641                 <para>Locate and select the 'Component' table in the 'Tables' list.</para>
2642               </listitem>
2643               <listitem>
2644                 <para>In the Component table, locate the component you need to change ( Ctrl-F invokes the 'Find' dialog). The component names are listed below in section
2645                   <link linkend="MSI_Configuration_File_Components">7.2.3.1</link>. For this example, the component name is 'elf_CellServDB'.
2646                 </para>
2647               </listitem>
2648               <listitem>
2649                 <para>Go to the 'Condition' column of the component.</para>
2650               </listitem>
2651               <listitem>
2652                 <para>Enter a condition that evaluates to false. I.e. 'DONOTINSTALL'. (Note that an undefined property always evaluates to false).</para>
2653                 <para>Note that you can also use this step to disable other configuration files without providing replacements.</para>
2654               </listitem>
2655             </orderedlist>
2656           </listitem>
2657           <listitem>
2658             <para>Add a new component containing the new configuration file.</para>
2659             <orderedlist inheritnum="ignore" continuation="restarts">
2660               <listitem>
2661                 <para>Select the 'Component' table in the 'Tables' list.</para>
2662               </listitem>
2663               <listitem>
2664                 <para>Select 'Tables'-&gt;'Add Row' (Ctrl-R).</para>
2665               </listitem>
2666               <listitem>
2667                 <para>Enter the following :</para>
2668                 <informaltable frame="all">
2669                   <tgroup rowsep="1" align="left" colsep="1" cols="2">
2670                     <colspec colwidth="84pt" colname="c1" />
2671                     <colspec colwidth="318pt" colname="c2" />
2672                     <tbody>
2673                       <row>
2674                         <entry>
2675                           <para>Component</para>
2676                         </entry>
2677                         <entry>
2678                           <para>cmf_my_CellServDB</para>
2679                         </entry>
2680                       </row>
2681                       <row>
2682                         <entry>
2683                           <para>ComponentID</para>
2684                         </entry>
2685                         <entry>
2686                           <para>{7019836F-BB2C-4AF6-9463-0D6EC9035CF1}</para>
2687                         </entry>
2688                       </row>
2689                       <row>
2690                         <entry>
2691                           <para>Directory_</para>
2692                         </entry>
2693                         <entry>
2694                           <para>dirClient</para>
2695                         </entry>
2696                       </row>
2697                       <row>
2698                         <entry>
2699                           <para>Attributes</para>
2700                         </entry>
2701                         <entry>
2702                           <para>144</para>
2703                         </entry>
2704                       </row>
2705                       <row>
2706                         <entry>
2707                           <para>Condition</para>
2708                         </entry>
2709                         <entry>
2710                           <para></para>
2711                         </entry>
2712                       </row>
2713                       <row>
2714                         <entry>
2715                           <para>KeyPath</para>
2716                         </entry>
2717                         <entry>
2718                           <para>fil_my_CellServDB</para>
2719                         </entry>
2720                       </row>
2721                     </tbody>
2722                   </tgroup>
2723                 </informaltable>
2724                 <para>Note that the ComponentId is an uppercase GUID. You can generate one using GUIDGEN.EXE or UUIDGEN.EXE, both of which are included in the Platform SDK.</para>
2725                 <para>The Attributes value of 144 is a sum of msidbComponentAttributesPermanent (16) and msidbComponentAttributesNeverOverwrite (128). This ensures that local modifications are not overwritten or lost during an installation or uninstallation. These are the same settings used on the default configuration files.</para>
2726                 <para> 'fil_my_CellServDB' is a key into the 'File' table which we will fill later.</para>
2727               </listitem>
2728             </orderedlist>
2729           </listitem>
2730           <listitem>
2731             <para>Add a new feature to hold the new component.</para>
2732             <orderedlist inheritnum="ignore" continuation="restarts">
2733               <listitem>
2734                 <para>Select the 'Feature' table.</para>
2735               </listitem>
2736               <listitem>
2737                 <para>Add a new row (Ctrl-R or 'Tables'-&gt;'Add Row') with the following values:</para>
2738                 <informaltable frame="all">
2739                   <tgroup rowsep="1" align="left" colsep="1" cols="2">
2740                     <colspec colwidth="94pt" colname="c1" />
2741                     <colspec colwidth="307pt" colname="c2" />
2742                     <tbody>
2743                       <row>
2744                         <entry>
2745                           <para>Feature</para>
2746                         </entry>
2747                         <entry>
2748                           <para>fea_my_CellServDB</para>
2749                         </entry>
2750                       </row>
2751                       <row>
2752                         <entry>
2753                           <para>Feature_Parent</para>
2754                         </entry>
2755                         <entry>
2756                           <para>feaClient</para>
2757                         </entry>
2758                       </row>
2759                       <row>
2760                         <entry>
2761                           <para>Title</para>
2762                         </entry>
2763                         <entry>
2764                           <para></para>
2765                         </entry>
2766                       </row>
2767                       <row>
2768                         <entry>
2769                           <para>Description</para>
2770                         </entry>
2771                         <entry>
2772                           <para></para>
2773                         </entry>
2774                       </row>
2775                       <row>
2776                         <entry>
2777                           <para>Display</para>
2778                         </entry>
2779                         <entry>
2780                           <para>0</para>
2781                         </entry>
2782                       </row>
2783                       <row>
2784                         <entry>
2785                           <para>Level</para>
2786                         </entry>
2787                         <entry>
2788                           <para>30</para>
2789                         </entry>
2790                       </row>
2791                       <row>
2792                         <entry>
2793                           <para>Directory_</para>
2794                         </entry>
2795                         <entry>
2796                           <para></para>
2797                         </entry>
2798                       </row>
2799                       <row>
2800                         <entry>
2801                           <para>Attributes</para>
2802                         </entry>
2803                         <entry>
2804                           <para>8</para>
2805                         </entry>
2806                       </row>
2807                     </tbody>
2808                   </tgroup>
2809                 </informaltable>
2810                 <para>It is important to create the new feature under the 'feaClient' feature, which will ensure that the configuration file will be installed when the client binaries are installed.</para>
2811                 <para>Setting 'Display' to 0 will hide this feature from the feature selection dialog during an interactive installation. A value of 30 for 'Level' allows this feature to be installed by default (on a 'Typical' installation).</para>
2812                 <para>The 'Attributes' value is msidbFeatureAttributesDisallowAdvertise (8), which is set on all features in the OpenAFS MSI. The OpenAFS MSI is not designed for an advertised installation.</para>
2813               </listitem>
2814             </orderedlist>
2815           </listitem>
2816           <listitem>
2817             <para>Join the component and the feature.</para>
2818             <orderedlist inheritnum="ignore" continuation="restarts">
2819               <listitem>
2820                 <para>Select the 'FeatureComponents' table.</para>
2821               </listitem>
2822               <listitem>
2823                 <para>Add a new row with the following values:</para>
2824                 <informaltable frame="all">
2825                   <tgroup rowsep="1" align="left" colsep="1" cols="2">
2826                     <colspec colwidth="90pt" colname="c1" />
2827                     <colspec colwidth="312pt" colname="c2" />
2828                     <tbody>
2829                       <row>
2830                         <entry>
2831                           <para>Feature</para>
2832                         </entry>
2833                         <entry>
2834                           <para>fea_my_CellServDB</para>
2835                         </entry>
2836                       </row>
2837                       <row>
2838                         <entry>
2839                           <para>Component</para>
2840                         </entry>
2841                         <entry>
2842                           <para>cmf_my_CellServDB</para>
2843                         </entry>
2844                       </row>
2845                     </tbody>
2846                   </tgroup>
2847                 </informaltable>
2848               </listitem>
2849             </orderedlist>
2850           </listitem>
2851           <listitem>
2852             <para>Add an entry to the 'File' table.</para>
2853             <orderedlist inheritnum="ignore" continuation="restarts">
2854               <listitem>
2855                 <para>Select the 'File' table.</para>
2856               </listitem>
2857               <listitem>
2858                 <para>Add a new row with the following values:</para>
2859                 <informaltable frame="all">
2860                   <tgroup rowsep="1" align="left" colsep="1" cols="2">
2861                     <colspec colwidth="91pt" colname="c1" />
2862                     <colspec colwidth="311pt" colname="c2" />
2863                     <tbody>
2864                       <row>
2865                         <entry>
2866                           <para>File</para>
2867                         </entry>
2868                         <entry>
2869                           <para>fil_my_CellServDB</para>
2870                         </entry>
2871                       </row>
2872                       <row>
2873                         <entry>
2874                           <para>Component_</para>
2875                         </entry>
2876                         <entry>
2877                           <para>cmf_my_CellServDB</para>
2878                         </entry>
2879                       </row>
2880                       <row>
2881                         <entry>
2882                           <para>FileName</para>
2883                         </entry>
2884                         <entry>
2885                           <para>CellServDB</para>
2886                         </entry>
2887                       </row>
2888                       <row>
2889                         <entry>
2890                           <para>FileSize</para>
2891                         </entry>
2892                         <entry>
2893                           <para>(enter file size here)</para>
2894                         </entry>
2895                       </row>
2896                       <row>
2897                         <entry>
2898                           <para>Attributes</para>
2899                         </entry>
2900                         <entry>
2901                           <para>8192</para>
2902                         </entry>
2903                       </row>
2904                       <row>
2905                         <entry>
2906                           <para>Sequence</para>
2907                         </entry>
2908                         <entry>
2909                           <para>1000</para>
2910                         </entry>
2911                       </row>
2912                     </tbody>
2913                   </tgroup>
2914                 </informaltable>
2915                 <para>  (leave other fields blank)</para>
2916                 <para>The 'Attributes' value is msidbFileAttributesNonCompressed (8192). This is because we will be placing this file in the same directory as the MSI instead of embedding the file in it. Transforms do not support updating compressed sources or adding new cabinet streams.</para>
2917                 <para>Finally, the 'Sequence' value of 1000 will be used later to distinguish the file as being in a separate source location than the other files in the MSI.</para>
2918               </listitem>
2919             </orderedlist>
2920           </listitem>
2921           <listitem>
2922             <para>Set a media source for the file.</para>
2923             <orderedlist inheritnum="ignore" continuation="restarts">
2924               <listitem>
2925                 <para>Select the 'Media' table.</para>
2926               </listitem>
2927               <listitem>
2928                 <para>Add a row with the following values :</para>
2929                 <informaltable frame="all">
2930                   <tgroup rowsep="1" align="left" colsep="1" cols="2">
2931                     <colspec colwidth="93pt" colname="c1" />
2932                     <colspec colwidth="309pt" colname="c2" />
2933                     <tbody>
2934                       <row>
2935                         <entry>
2936                           <para>DiskId</para>
2937                         </entry>
2938                         <entry>
2939                           <para>2</para>
2940                         </entry>
2941                       </row>
2942                       <row>
2943                         <entry>
2944                           <para>LastSequence</para>
2945                         </entry>
2946                         <entry>
2947                           <para>1000</para>
2948                         </entry>
2949                       </row>
2950                     </tbody>
2951                   </tgroup>
2952                 </informaltable>
2953                 <para>  (leave other fields blank)</para>
2954                 <para>The sequence number of 1000 designates this as the media source for the newly added file.
2955         </para>
2956               </listitem>
2957             </orderedlist>
2958           </listitem>
2959         </orderedlist>
2960         <section id="MSI_Configuration_File_Components">
2961           <title>7.2.3.1 Components for Configuration Files</title>
2962           <para>CellServDB: 'cpf_CellServDB' (ID {D5BA4C15-DBEC-4292-91FC-B54C30F24F2A})</para>
2963         </section>
2964       </section>
2965       <section>
2966         <title id="MSI_Adding_Domain_Specific_Registry_Keys">7.2.4 Adding Domain Specific Registry Keys</title>
2967         <para>Following is an example for adding domain specific registry keys.</para>
2968         <para> Refer to
2969           <link linkend="appendix_a">Appendix A</link> section 2.1 for more information.
2970
2971
2972
2973         </para>
2974         <para> Columns that are unspecified should be left empty.</para>
2975         <para> We create a new feature and component to hold the new registry keys.</para>
2976         <informaltable frame="all">
2977           <tgroup rowsep="1" align="left" colsep="1" cols="1">
2978             <colspec colwidth="448pt" colname="c1" />
2979             <tbody>
2980               <row>
2981                 <entry>
2982                   <para> 'Feature' table:</para>
2983                 </entry>
2984               </row>
2985               <row>
2986                 <entry>
2987                   <para>  (new row)
2988  Feature : 'feaDomainKeys'
2989  Feature Parent : 'feaClient'
2990  Display : 0
2991  Level : 30
2992  Attributes : 10</para>
2993                 </entry>
2994               </row>
2995               <row>
2996                 <entry>
2997                   <para> 'Component' table:</para>
2998                 </entry>
2999               </row>
3000               <row>
3001                 <entry>
3002                   <para>  (new row)
3003   Component : 'rcm_DomainKeys'
3004  ComponentId : '{4E3FCBF4-8BE7-40B2-A108-C47CF743C627}'
3005  Directory : 'TARGETDIR'
3006  Attributes : 4
3007  KeyPath : 'reg_domkey0'</para>
3008                 </entry>
3009               </row>
3010               <row>
3011                 <entry>
3012                   <para> 'FeatureComponents' table:</para>
3013                 </entry>
3014               </row>
3015               <row>
3016                 <entry>
3017                   <para>  (new row)
3018  Feature : 'feaDomainKeys'
3019  Component : 'rcm_DomainKeys'</para>
3020                 </entry>
3021               </row>
3022               <row>
3023                 <entry>
3024                   <para> 'Registry' table:</para>
3025                 </entry>
3026               </row>
3027               <row>
3028                 <entry>
3029                   <para> (new row)
3030  Registry : 'reg_domkey0'
3031  Root : 2
3032  Key : 'SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain'
3033  Component : 'rcm_DomainKeys'</para>
3034                 </entry>
3035               </row>
3036               <row>
3037                 <entry>
3038                   <para> (new row)
3039  Registry : 'reg_domkey1'
3040  Root : 2
3041  Key : 'SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain'
3042  Name : '*'
3043  Component : 'rcm_DomainKeys'</para>
3044                 </entry>
3045               </row>
3046               <row>
3047                 <entry>
3048                   <para> (new row)
3049  Registry : 'reg_domkey2'
3050  Root : 2
3051  Key : 'SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\ATHENA.MIT.EDU'
3052  Name : '*'
3053  Component : 'rcm_DomainKeys'</para>
3054                 </entry>
3055               </row>
3056               <row>
3057                 <entry>
3058                   <para> (new row)
3059  Registry : 'reg_domkey3'
3060  Root : 2
3061  Key : 'SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\ATHENA.MIT.EDU'
3062  Name : 'LogonOptions'
3063  Value : 1
3064  Component : 'rcm_DomainKeys'</para>
3065                 </entry>
3066               </row>
3067               <row>
3068                 <entry>
3069                   <para> (new row)
3070  Registry : 'reg_domkey4'
3071  Root : 2
3072  Key : SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST'
3073  Name : '*'
3074  Component : 'rcm_DomainKeys'</para>
3075                 </entry>
3076               </row>
3077               <row>
3078                 <entry>
3079                   <para> (new row)
3080  Registry : 'reg_domkey5'
3081  Root : 2
3082  Key : 'SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST'
3083  Name : 'LogonOptions'
3084  Value : 0
3085  Component : 'rcm_DomainKeys'</para>
3086                 </entry>
3087               </row>
3088               <row>
3089                 <entry>
3090                   <para> (new row)
3091  Registry : 'reg_domkey6'
3092  Root : 2
3093  Key : 'SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST'
3094  Name : 'FailLoginsSilently'
3095  Value : 1
3096  Component : 'rcm_DomainKeys'</para>
3097                 </entry>
3098               </row>
3099             </tbody>
3100           </tgroup>
3101         </informaltable>
3102         <para>The example adds domain specific keys for 'ATHENA.MIT.EDU' (enable integrated logon) and 'LOCALHOST' (disable integrated logon and fail logins silently).</para>
3103       </section>
3104       <section>
3105         <title id="MSI_Adding_Site_Specific_Freelance_Registry_Keys">7.2.5 Adding Site Specific Freelance Registry Keys</title>
3106         <para>Following is an example for adding site specific Freelance registry keys to pre-populate the Mountpoints and Symlinks in the fake root.afs volume.</para>
3107         <para> Columns that are unspecified should be left empty.</para>
3108         <para> We create a new feature and component to hold the new registry keys.</para>
3109         <informaltable frame="all">
3110           <tgroup rowsep="1" align="left" colsep="1" cols="1">
3111             <colspec colwidth="447pt" colname="c1" />
3112             <tbody>
3113               <row>
3114                 <entry>
3115                   <para> 'Feature' table:</para>
3116                 </entry>
3117               </row>
3118               <row>
3119                 <entry>
3120                   <para>  (new row)
3121  Feature : 'feaFreelanceKeys'
3122  Feature Parent : 'feaClient'
3123  Display : 0
3124  Level : 30
3125  Attributes : 10</para>
3126                 </entry>
3127               </row>
3128               <row>
3129                 <entry>
3130                   <para> 'Component' table:</para>
3131                 </entry>
3132               </row>
3133               <row>
3134                 <entry>
3135                   <para>  (new row)
3136   Component : 'rcm_FreelanceKeys'
3137  ComponentId : '{4E3B3CBF4-9AE7-40C3-7B09-C48CF842C583}'
3138  Directory : 'TARGETDIR'
3139  Attributes : 4
3140  KeyPath : 'reg_freekey0'</para>
3141                 </entry>
3142               </row>
3143               <row>
3144                 <entry>
3145                   <para> 'FeatureComponents' table:</para>
3146                 </entry>
3147               </row>
3148               <row>
3149                 <entry>
3150                   <para>  (new row)
3151  Feature : 'feaFreelanceKeys'
3152  Component : 'rcm_FreelanceKeys'</para>
3153                 </entry>
3154               </row>
3155               <row>
3156                 <entry>
3157                   <para> 'Registry' table:</para>
3158                 </entry>
3159               </row>
3160               <row>
3161                 <entry>
3162                   <para> (new row)
3163  Registry : 'reg_freekey0'
3164  Root : 2
3165  Key : 'SOFTWARE\OpenAFS\Client\Freelance'
3166  Component : 'rcm_FreelanceKeys'</para>
3167                 </entry>
3168               </row>
3169               <row>
3170                 <entry>
3171                   <para> (new row)
3172  Registry : 'reg_freekey1'
3173  Root : 2
3174  Key : 'SOFTWARE\OpenAFS\Client\Freelance'
3175  Name : '0'
3176   Value  : 'athena.mit.edu#athena.mit.edu:root.cell.'
3177  Component : 'rcm_FreelanceKeys'</para>
3178                 </entry>
3179               </row>
3180               <row>
3181                 <entry>
3182                   <para> (new row)
3183  Registry : 'reg_freekey2'
3184  Root : 2
3185  Key : 'SOFTWARE\OpenAFS\Client\Freelance'
3186  Name : '1'
3187   Value  : '.athena.mit.edu%athena.mit.edu:root.cell.'
3188  Component : 'rcm_FreelanceKeys'</para>
3189                 </entry>
3190               </row>
3191               <row>
3192                 <entry>
3193                   <para> (new row)
3194  Registry : 'reg_freekey3'
3195  Root : 2
3196  Key : 'SOFTWARE\OpenAFS\Client\Freelance\Symlinks'
3197  Component : 'rcm_FreelanceKeys'</para>
3198                 </entry>
3199               </row>
3200               <row>
3201                 <entry>
3202                   <para> (new row)
3203  Registry : 'reg_freekey4'
3204  Root : 2
3205  Key : 'SOFTWARE\OpenAFS\Client\Freelance\Symlinks'
3206  Name : '0'
3207  Value  : 'athena:athena.mit.edu.'
3208  Component : 'rcm_FreelanceKeys'</para>
3209                 </entry>
3210               </row>
3211               <row>
3212                 <entry>
3213                   <para> (new row)
3214  Registry : 'reg_freekey5'
3215  Root : 2
3216  Key : 'SOFTWARE\OpenAFS\Client\Freelance\Symlinks'
3217  Name : '1'
3218   Value  : '.athena:.athena.mit.edu.'
3219  Component : 'rcm_FreelanceKeys'</para>
3220                 </entry>
3221               </row>
3222             </tbody>
3223           </tgroup>
3224         </informaltable>
3225         <para>The example adds a read-only mountpoint to the athena.mit.edu cell's root.afs volume as well as a read-write mountpoint. Aliases are also provided using symlinks.
3226         </para>
3227       </section>
3228     </section>
3229     <section>
3230       <title id="Additional_Resources">7.3 Additional Resources</title>
3231       <para>If you want to add registry keys or files you need to create new components and features for those. Refer to the Windows Platform SDK for details.</para>
3232       <para>It is beyond the scope of this document to provide a comprehensive overview of how to add new resources through a transform. Please refer to the "Windows Installer" documentation for details. The relevant section is at :</para>
3233       <para>http://msdn.microsoft.com/library/en-us/msi/setup/using_transforms_to_add_resources.asp</para>
3234       <para>A sample walkthrough of adding a new configuration file is in section 2.3.</para>
3235       <para>Add new features under the 'feaClient' or 'feaServer' as appropriate and set the 'Level' column for those features to equal the 'Level' for their parent features for consistency. Note that none of the features in the OpenAFS for Windows MSI package are designed to be installed to run from 'source' or 'advertised'. It is recommended that you set 'msidbFeatureAttributesFavorLocal' (0), 'msidbFeatureAttributesFollowParent' (2) and 'msidbFeatureAttributesDisallowAdvertise' (8) attributes for new features.</para>
3236       <para>If you are creating new components, retain the same component GUID when creating new transforms against new releases of the OpenAFS MSI package.</para>
3237       <para>After making the adjustments to the MSI database using ORCA.EXE you can generate a transform with MSITRAN.EXE as follows :</para>
3238       <para>(Modified MSI package is 'openafs-en_US_new.msi' and the original MSI package is 'openafs-en_US.msi'. Generates transform 'openafs-transform.mst')</para>
3239       <para> &gt; msitran.exe -g openafs-en_US.msi openafs-en_US_new.msi openafs-transform.mst</para>
3240       <para>See the Platform SDK documentation for information on command line options for MSITRAN.EXE.</para>
3241     </section>
3242     <section>
3243       <title id="Upgrades">7.4. Upgrades</title>
3244       <para>The MSI package is designed to uninstall previous versions of OpenAFS for Windows during installation. Note that it doesn't directly upgrade an existing installation. This is intentional and ensures that development releases which do not have strictly increasing version numbers are properly upgraded.</para>
3245       <para>Versions of OpenAFS that are upgraded by the MSI package are:</para>
3246       <orderedlist inheritnum="ignore" continuation="restarts">
3247         <listitem>
3248           <para>OpenAFS MSI package</para>
3249           <para>Upgrade code {6823EEDD-84FC-4204-ABB3-A80D25779833}</para>
3250           <para>Up to current release</para>
3251         </listitem>
3252         <listitem>
3253           <para>MIT's Transarc AFS MSI package</para>
3254           <para>Upgrade code {5332B94F-DE38-4927-9EAB-51F4A64193A7}</para>
3255           <para>Up to version 3.6.2</para>
3256         </listitem>
3257         <listitem>
3258           <para>OpenAFS NSIS package</para>
3259           <para>All versions</para>
3260         </listitem>
3261       </orderedlist>
3262       <para>Note that versions of the OpenAFS NSIS package prior to 1.3.65 had a bug where it couldn't be uninstalled properly in unattended mode. Therefore the MSI package will not try to uninstall an OpenAFS NSIS package if running unattended. This means that group policy based deployments will fail on machines that have the OpenAFS NSIS package installed.</para>
3263       <para>If you have used a different MSI package to install OpenAFS and wish to upgrade it you can author rows into the 'Upgrade' table as described in the Platform SDK.</para>
3264       <para>When performing an upgrade with msiexec.exe execute the MSI with the repair options "vomus".</para>
3265     </section>
3266   </chapter>
3267   <chapter id="appendix_a" label="Appendix A">
3268     <title id="Registry_Values">Registry Values</title>
3269     <section id="Service_Parameters">
3270       <title>A.1. Service parameters</title>
3271       <para>The service parameters primarily affect the behavior of the AFS client service (afsd_service.exe).</para>
3272       <section>
3273         <title id="Regkey_TransarcAFSDaemon_Parameters">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</title>
3274         <section>
3275           <title id="Regkey_TransarcAFSDaemon_Parameters_LanAdapter">Value: LanAdapter</title>
3276           <indexterm significance="normal">
3277             <primary>LANadapter</primary>
3278           </indexterm>
3279           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3280           <para>Type: DWORD</para>
3281           <para>Default: -1</para>
3282           <para>Variable: LANadapter</para>
3283           <para>LAN adapter number to use. This is the lana number of the LAN adapter that the SMB server should bind to. If unspecified or set to -1, a LAN adapter with named 'AFS' or a loopback adapter will be selected. If neither are present, then all available adapters will be bound to. When binding to a non-loopback adapter, the NetBIOS name hostname%-AFS' will be used (where %hostname% is the NetBIOS name of the host truncated to 11 characters). Otherwise, the NetBIOS name will be 'AFS'.</para>
3284           <para>[This parameter is ignored unless SMB mode is active.]</para>
3285         </section>
3286         <section>
3287           <title id="Regkey_TransarcAFSDaemon_Parameters_CacheSize">Value: CacheSize</title>
3288           <indexterm significance="normal">
3289             <primary>CacheSize</primary>
3290           </indexterm>
3291           <para id="Value_CacheSize">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3292           <para>Type: DWORD</para>
3293           <para>Default: 98304 (CM_CONFIGDEFAULT_CACHESIZE)</para>
3294           <para>Variable: cm_initParams.cacheSize</para>
3295           <para>Size of the AFS cache in 1k blocks.</para>
3296         </section>
3297         <section>
3298           <title id="Regkey_TransarcAFSDaemon_Parameters_ChunkSize">Value: ChunkSize</title>
3299           <indexterm significance="normal">
3300             <primary>ChunkSize</primary>
3301           </indexterm>
3302           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3303           <para>Type: DWORD</para>
3304           <para>Default: 20 (CM_CONFIGDEFAULT_CHUNKSIZE)</para>
3305           <para>Variable: cm_logChunkSize (cm_chunkSize = 1 &lt;&lt; cm_logChunkSize)</para>
3306           <para>Size of chunk for reading and writing. Actual chunk size is 2^cm_logChunkSize. The default chunk size is therefore 1 MB.</para>
3307         </section>
3308         <section>
3309           <title id="Regkey_TransarcAFSDaemon_Parameters_BlockSize">Value: BlockSize</title>
3310           <indexterm>
3311             <primary>BlockSize</primary>
3312           </indexterm>
3313           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3314           <para>Type: DWORD</para>
3315           <para>Default: 4096 (CM_CONFIGDEFAULT_BLOCKSIZE)</para>
3316           <para>Size of buffer allocation.  Must be an even multiple of 1024 and (2^cm_logChuckSize
3317             mod BlockSize) must equal zero.</para>
3318         </section>
3319         <section>
3320           <title id="Regkey_TransarcAFSDaemon_Parameters_Daemons">Value: Daemons</title>
3321           <para>
3322             <emphasis>Value: Daemons</emphasis>
3323           </para>
3324           <para>Type: DWORD</para>
3325           <para>Default: 16 (CM_CONFIGDEFAULT_DAEMONS)</para>
3326           <para>Variable: numBkgD</para>
3327           <para>Number of background daemons (number of threads of cm_BkgDaemon). (see cm_BkgDaemon in cm_daemon.c)</para>
3328         </section>
3329         <section>
3330           <title id="Regkey_TransarcAFSDaemon_Parameters_ServerThreads">Value: ServerThreads</title>
3331           <indexterm significance="normal">
3332             <primary>ServerThreads</primary>
3333           </indexterm>
3334           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3335           <para>Type: DWORD</para>
3336           <para>Default: 25 (CM_CONFIGDEFAULT_SVTHREADS)</para>
3337           <para>Variable: numSvThreads</para>
3338           <para>Number of SMB server threads (number of threads of smb_Server). (see smb_Server in smb.c).</para>
3339         </section>
3340         <section>
3341           <title id="Regkey_TransarcAFSDaemon_Parameters_Stats">Value: Stats</title>
3342           <indexterm significance="normal">
3343             <primary>Stats</primary>
3344           </indexterm>
3345           <para id="Value_Stats">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3346           <para>Type: DWORD</para>
3347           <para>Default: 10000 (CM_CONFIGDEFAULT_STATS)</para>
3348           <para>Variable: cm_initParams.nStatCaches</para>
3349           <para>Cache configuration.</para>
3350         </section>
3351         <section>
3352           <title id="Regkey_TransarcAFSDaemon_Parameters_Volumes">Value: Volumes</title>
3353           <indexterm significance="normal">
3354             <primary>Volumes</primary>
3355           </indexterm>
3356           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3357           <para>Type: DWORD</para>
3358           <para>
3359 Default:  3333 (CM_CONFIGDEFAULT_STATS/3)
3360           </para>
3361           <para>
3362 Variable: cm_initParams.nVolumes</para>
3363           <para>
3364             <emphasis>Cache configuration.</emphasis>
3365           </para>
3366         </section>
3367         <section>
3368           <title id="Regkey_TransarcAFSDaemon_Parameters_Cells">Value: Cells</title>
3369           <indexterm significance="normal">
3370             <primary>Cells</primary>
3371           </indexterm>
3372           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3373           <para>Type: DWORD</para>
3374           <para>
3375 Default: 1024 (CM_CONFIGDEFAULT_CELLS)
3376           </para>
3377           <para>
3378 Variable: cm_initParams.nCells</para>
3379           <para>
3380             <emphasis>Cache configuration.</emphasis>
3381           </para>
3382         </section>
3383         <section>
3384           <title id="Regkey_TransarcAFSDaemon_Parameters_LogoffPreserveTokens">Value: LogoffPreserveTokens</title>
3385           <indexterm significance="normal">
3386             <primary>LogoffPreserveTokens</primary>
3387           </indexterm>
3388           <para id="Value_LogoffPreserveTokens">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3389           <para>Type: DWORD {1,0}
3390                   </para>
3391           <para>
3392 Default : 0</para>
3393           <para>If enabled (set to 1), the Logoff Event handler will not attempt to delete the user's tokens if the user's profile is stored outside of AFS.</para>
3394         </section>
3395         <section>
3396           <title id="Regkey_TransarcAFSDaemon_Parameters_RootVolume">Value: RootVolume</title>
3397           <indexterm significance="normal">
3398             <primary>RootVolume</primary>
3399           </indexterm>
3400           <indexterm significance="normal">
3401             <primary>root.afs</primary>
3402           </indexterm>
3403           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3404           <para>Type: REG_SZ
3405                   </para>
3406           <para>
3407 Default: "root.afs"
3408                   </para>
3409           <para>
3410 Variable: cm_rootVolumeName</para>
3411           <para>Root volume name.</para>
3412         </section>
3413         <section>
3414           <title id="Regkey_TransarcAFSDaemon_Parameters_MountRoot">Value: MountRoot</title>
3415           <indexterm significance="normal">
3416             <primary>MountRoot</primary>
3417           </indexterm>
3418           <indexterm significance="normal">
3419             <primary>/afs</primary>
3420           </indexterm>
3421           <para id="Value_Mountroot">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3422           <para>Type: REG_SZ
3423                   </para>
3424           <para>
3425 Default: "/afs"
3426                   </para>
3427           <para>
3428 Variable: cm_mountRoot</para>
3429           <para>Name of root mount point. In symlinks, if a path starts with cm_mountRoot, it is assumed that the path is absolute (as opposed to relative) and is adjusted accordingly. Eg: if a path is specified as /afs/athena.mit.edu/foo/bar/baz and cm_mountRoot is "/afs", then the path is interpreted as \\afs\all\athena.mit.edu\foo\bar\baz. If a path does not start with with cm_mountRoot, the path is assumed to be relative and suffixed to the reference directory (i.e. directory where the symlink exists)</para>
3430         </section>
3431         <section>
3432           <title id="Regkey_TransarcAFSDaemon_Parameters_CachePath">Value: CachePath</title>
3433           <indexterm significance="normal">
3434             <primary>CachePath</primary>
3435           </indexterm>
3436           <indexterm significance="normal">
3437             <primary>AFSCache</primary>
3438           </indexterm>
3439           <para id="Value_CachePath">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3440           <para>Type: REG_SZ or REG_EXPAND_SZ
3441                   </para>
3442           <para>
3443 Default: "%TEMP%\AFSCache"
3444                   </para>
3445           <para>
3446 Variable: cm_CachePath</para>
3447           <para>Location of on-disk cache file. The default is the SYSTEM account's TEMP directory. The attributes assigned to the file are HIDDEN and SYSTEM.</para>
3448         </section>
3449         <section>
3450           <title id="Regkey_TransarcAFSDaemon_Parameters_NonPersistentCaching">Value: NonPersistentCaching</title>
3451           <indexterm significance="normal">
3452             <primary>NonPersistentCaching</primary>
3453           </indexterm>
3454           <para id="Value_NonPersistentCaching">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3455           <para>Type: DWORD [0..1]
3456                   </para>
3457           <para>
3458 Default: 0
3459                   </para>
3460           <para>
3461 Variable: buf_CacheType</para>
3462           <para>When this registry value is set to a non-zero value, the CachePath value is ignored and the cache data is stored in the windows paging file. This disables the use of persistent caching and the ability to maintain a single UUID for the AFS client service across restarts.</para>
3463         </section>
3464         <section>
3465           <title id="Regkey_TransarcAFSDaemon_Parameters_ValidateCache">Value: ValidateCache</title>
3466           <indexterm significance="normal">
3467             <primary>ValidateCache</primary>
3468           </indexterm>
3469           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3470           <para>Type: DWORD [0..2]
3471                   </para>
3472           <para>
3473 Default: 1
3474                   </para>
3475           <para>
3476 Variable: buf_CacheType</para>
3477           <para>This value determines if and when persistent cache validation is performed.</para>
3478           <para>
3479             <simplelist type="vert">
3480               <member>0 - Validation is disabled</member>
3481               <member>1 - Validation is performed at startup</member>
3482               <member>2 - Validation is performed at shutdown</member>
3483             </simplelist>
3484           </para>
3485         </section>
3486         <section>
3487           <title id="Regkey_TransarcAFSDaemon_Parameters_TrapOnPanic">Value: TrapOnPanic</title>
3488           <indexterm significance="normal">
3489             <primary>TrapOnPanic</primary>
3490           </indexterm>
3491           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3492           <para>Type: DWORD {1,0}
3493                   </para>
3494           <para>
3495 Default: 0
3496                   </para>
3497           <para>
3498 Variable: traceOnPanic</para>
3499           <para>Issues a breakpoint in the event of a panic. (breakpoint: _asm int 3).</para>
3500         </section>
3501         <section>
3502           <title id="Regkey_TransarcAFSDaemon_Parameters_NetbiosName">Value: NetbiosName</title>
3503           <indexterm significance="normal">
3504             <primary>NetbiosName</primary>
3505           </indexterm>
3506           <indexterm significance="normal">
3507             <primary>SMB Server Name</primary>
3508           </indexterm>
3509           <indexterm significance="normal">
3510             <primary>\\AFS</primary>
3511           </indexterm>
3512           <para id="Value_NetbiosName">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3513           <para>Type: REG_EXPAND_SZ
3514                   </para>
3515           <para>
3516 Default: "AFS"
3517                   </para>
3518           <para>
3519 Variable: cm_NetbiosName</para>
3520           <para>Specifies the NetBIOS name (or SMB Server Name) to be used when binding to a Loopback adapter. To provide the old behavior specify a value of "%COMPUTERNAME%-AFS".</para>
3521         </section>
3522         <section>
3523           <title id="Regkey_TransarcAFSDaemon_Parameters_IsGateway">Value: IsGateway</title>
3524           <indexterm significance="normal">
3525             <primary>IsGateway</primary>
3526           </indexterm>
3527           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3528           <para>Type: DWORD {1,0}
3529                   </para>
3530           <para>
3531 Default: 0
3532                   </para>
3533           <para>
3534 Variable: isGateway</para>
3535           <para>Select whether or not this AFS client should act as a gateway. If set and the NetBIOS name hostname-AFS is bound to a physical NIC, other machines in the subnet can access AFS via SMB connections to hostname-AFS.</para>
3536           <para>When IsGateway is non-zero, the LAN adapter detection code will avoid binding to a loopback adapter. This will ensure that the NetBIOS name will be of the form hostname-AFS instead of the value set by the "NetbiosName" registry value.</para>
3537         </section>
3538         <section>
3539           <title id="Regkey_TransarcAFSDaemon_Parameters_ReportSessionStartups">Value: ReportSessionStartups</title>
3540           <indexterm significance="normal">
3541             <primary>ReportSessionStartups</primary>
3542           </indexterm>
3543           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3544           <para>Type: DWORD {1,0}
3545                   </para>
3546           <para>
3547 Default: 0
3548                   </para>
3549           <para>
3550 Variable: reportSessionStartups</para>
3551           <para>If enabled, all SMB sessions created are recorded in the Application event log. This also enables other events such as drive mappings or various error types to be logged.</para>
3552         </section>
3553         <section>
3554           <title id="Regkey_TransarcAFSDaemon_Parameters_TraceBufferSize">Value: TraceBufferSize</title>
3555           <indexterm significance="normal">
3556             <primary>TraceBufferSize</primary>
3557           </indexterm>
3558           <para id="Value_TraceBufferSize">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3559           <para>Type: DWORD
3560                   </para>
3561           <para>
3562 Default: 10000 (CM_CONFIGDEFAULT_TRACEBUFSIZE)
3563                   </para>
3564           <para>
3565 Variable: traceBufSize</para>
3566           <para>Number of entries to store in trace log.</para>
3567         </section>
3568         <section>
3569           <title id="Regkey_TransarcAFSDaemon_Parameters_SysName">Value: SysName</title>
3570           <indexterm significance="normal">
3571             <primary>SysName</primary>
3572           </indexterm>
3573           <para id="Value_SysName">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3574           <para>Type: REG_SZ
3575                   </para>
3576           <para>
3577 Default: "x86_win32 i386_w2k i386_nt40" (X86)
3578                   </para>
3579           <para>
3580 "amd64_win64 x86_win32 i386_w2k" (AMD64)
3581                   </para>
3582           <para>
3583 Variable: cm_sysName</para>
3584           <para>Provides an initial value for "fs sysname". The string can contain one or more replacement values for @sys in order of preference separated by whitespace.</para>
3585         </section>
3586         <section>
3587           <title id="Regkey_TransarcAFSDaemon_Parameters_SecurityLevel">Value: SecurityLevel</title>
3588           <indexterm significance="normal">
3589             <primary>SecurityLevel</primary>
3590           </indexterm>
3591           <indexterm significance="normal">
3592             <primary>fs setcrypt</primary>
3593           </indexterm>
3594           <para id="Value_SecurityLevel">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3595           <para>Type: DWORD {1,0}
3596                   </para>
3597           <para>
3598 Default: 0
3599                   </para>
3600           <para>
3601 Variable: cryptall</para>
3602           <para>Enables encryption on RX calls.</para>
3603         </section>
3604         <section>
3605           <title id="Regkey_TransarcAFSDaemon_Parameters_UseDNS">Value: UseDNS</title>
3606           <indexterm significance="normal">
3607             <primary>UseDNS</primary>
3608           </indexterm>
3609           <indexterm significance="normal">
3610             <primary>AFSDB DNS records</primary>
3611           </indexterm>
3612           <indexterm significance="normal">
3613             <primary>SRV DNS records</primary>
3614           </indexterm>
3615           <para id="Value_UseDNS">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3616           <para>Type: DWORD {1,0}
3617                   </para>
3618           <para>
3619 Default: 1
3620                   </para>
3621           <para>
3622 Variable: cm_dnsEnabled</para>
3623           <para>Enables resolving volservers using AFSDB DNS and SRV DNS queries.</para>
3624         </section>
3625         <section>
3626           <title id="Regkey_TransarcAFSDaemon_Parameters_FreelanceClient">Value: FreelanceClient</title>
3627           <indexterm significance="normal">
3628             <primary>FreelanceClient</primary>
3629           </indexterm>
3630           <indexterm significance="normal">
3631             <primary>dynroot</primary>
3632           </indexterm>
3633           <para id="Value_FreelanceClient">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3634           <para>Type: DWORD {1,0}
3635                   </para>
3636           <para>
3637 Default: 0
3638                   </para>
3639           <para>
3640 Variable: cm_freelanceEnabled</para>
3641           <para>Enables freelance client.</para>
3642         </section>
3643         <section>
3644           <title id="Regkey_TransarcAFSDaemon_Parameters_FreelanceImportCellServDB">Value: FreelanceImportCellServDB</title>
3645           <indexterm significance="normal">
3646             <primary>FreelanceImportCellServDB</primary>
3647           </indexterm>
3648           <indexterm significance="normal">
3649             <primary>dynroot</primary>
3650           </indexterm>
3651           <para id="Value_FreelanceImportCellServDB">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3652           <para>Type: DWORD {1,0}
3653           </para>
3654           <para>
3655             Default: 0
3656           </para>
3657           <para>
3658             Variable: cm_freelanceImportCellServDB</para>
3659           <para>Creates Freelance Mount Points for each cell listed in the CellServDB during startup.</para>
3660         </section>
3661         <section>
3662           <title id="Regkey_TransarcAFSDaemon_Parameters_FreelanceDiscovery">Value: FreelanceDiscovery</title>
3663           <indexterm significance="normal">
3664             <primary>FreelanceDiscovery</primary>
3665           </indexterm>
3666           <indexterm significance="normal">
3667             <primary>dynroot</primary>
3668           </indexterm>
3669           <para id="Value_FreelanceDiscovery">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3670           <para>Type: DWORD {1,0}
3671           </para>
3672           <para>
3673             Default: 1
3674           </para>
3675           <para>
3676             Variable: cm_freelanceDiscovery</para>
3677           <para>Enables automatic discovery of cell mount points within the Freelance root.</para>
3678         </section>
3679         <section>
3680           <title id="Regkey_TransarcAFSDaemon_Parameters_HideDotFiles">Value: HideDotFiles</title>
3681           <indexterm significance="normal">
3682             <primary>HideDotFiles</primary>
3683           </indexterm>
3684           <para id="Value_HideDotFiles">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3685           <para>Type: DWORD {1,0}
3686                   </para>
3687           <para>
3688 Default: 1
3689                   </para>
3690           <para>
3691 Variable: smb_hideDotFiles</para>
3692           <para>Enables marking dotfiles with the hidden attribute. Dot files are files whose name starts with a period (excluding "." and "..").</para>
3693         </section>
3694         <section>
3695           <title id="Regkey_TransarcAFSDaemon_Parameters_MaxMpxRequests">Value: MaxMpxRequests</title>
3696           <indexterm significance="normal">
3697             <primary>MaxMpxRequests</primary>
3698           </indexterm>
3699           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3700           <para>Type: DWORD
3701                   </para>
3702           <para>
3703 Default: 50
3704                   </para>
3705           <para>
3706 Variable: smb_maxMpxRequests</para>
3707           <para>Maximum number of multiplexed SMB requests that can be made.</para>
3708         </section>
3709         <section>
3710           <title id="Regkey_TransarcAFSDaemon_Parameters_MaxVCPerServer">Value: MaxVCPerServer</title>
3711           <indexterm significance="normal">
3712             <primary>MaxVCPerServer</primary>
3713           </indexterm>
3714           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3715           <para>Type: DWORD
3716                   </para>
3717           <para>
3718 Default: 100
3719                   </para>
3720           <para>
3721 Variable: smb_maxVCPerServer</para>
3722           <para>Maximum number of SMB virtual circuits.</para>
3723         </section>
3724         <section>
3725           <title id="Regkey_TransarcAFSDaemon_Parameters_Cell">Value: Cell</title>
3726           <indexterm significance="normal">
3727             <primary>Cell</primary>
3728           </indexterm>
3729           <indexterm significance="normal">
3730             <primary>workstation cell name</primary>
3731           </indexterm>
3732           <para id="Value_Cell">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3733           <para>Type: REG_SZ
3734                   </para>
3735           <para>
3736 Default: &lt;none&gt;
3737                   </para>
3738           <para>
3739 Variable: rootCellName</para>
3740           <para>Name of root cell (the cell from which the RootVolume, root.afs, should be mounted in \\afs\all).</para>
3741         </section>
3742         <section>
3743           <title id="Regkey_TransarcAFSDaemon_Parameters_RxEnablePeerStats">Value: RxEnablePeerStats</title>
3744           <indexterm significance="normal">
3745             <primary>RxEnablePeerStats</primary>
3746           </indexterm>
3747           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3748           <para>Type: DWORD {0, 1}
3749                   </para>
3750           <para>
3751 Default: 1
3752                   </para>
3753           <para>
3754 Variable: rx_enable_peer_stats</para>
3755           <para>When set to 1, the Rx library collects peer statistics.</para>
3756           <para></para>
3757         </section>
3758         <section>
3759           <title id="Regkey_TransarcAFSDaemon_Parameters_RxEnableProcessStats">Value: RxEnableProcessStats</title>
3760           <indexterm significance="normal">
3761             <primary>RxEnableProcessStats</primary>
3762           </indexterm>
3763           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3764           <para>Type: DWORD {0, 1}
3765                   </para>
3766           <para>
3767 Default: 1
3768                   </para>
3769           <para>
3770 Variable: rx_extra_process_stats</para>
3771           <para>When set to 1, the Rx library collects process statistics.</para>
3772           <para></para>
3773         </section>
3774         <section>
3775           <title id="Regkey_TransarcAFSDaemon_Parameters_RxExtraPackets">Value: RxExtraPackets</title>
3776           <indexterm significance="normal">
3777             <primary>RxExtraPackets</primary>
3778           </indexterm>
3779           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3780           <para>Type: DWORD
3781                   </para>
3782           <para>
3783 Default: 120
3784                   </para>
3785           <para>
3786 Variable: rx_extraPackets</para>
3787           <para>When set, this number of extra Rx packets are allocated at startup.</para>
3788         </section>
3789         <section>
3790           <title id="Regkey_TransarcAFSDaemon_Parameters_RxMaxMTU">Value: RxMaxMTU</title>
3791           <indexterm significance="normal">
3792             <primary>RxMaxMTU</primary>
3793           </indexterm>
3794           <para id="Value_RxMaxMTU">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3795           <para>Type: DWORD
3796                   </para>
3797           <para>
3798 Default: 0
3799                   </para>
3800           <para>
3801 Variable: rx_mtu</para>
3802           <para>If set to anything other than 0, that value is used as the maximum send and receive MTU supported by the RX interface.</para>
3803           <para>In order to enable OpenAFS to operate across releases of the Cisco IPSec VPN client prior than 5.0, this value must be set to 1264 or smaller.</para>
3804         </section>
3805         <section>
3806           <title id="Regkey_TransarcAFSDaemon_Parameters_RxNoJumbo">Value: RxNoJumbo</title>
3807           <indexterm significance="normal">
3808             <primary>RxNoJumbo</primary>
3809           </indexterm>
3810           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3811           <para>Type: DWORD {0,1}
3812                   </para>
3813           <para>
3814 Default: 0
3815                   </para>
3816           <para>
3817 Variable: rx_nojumbo</para>
3818           <para>If enabled, does not send or indicate that we are able to send or receive RX jumbograms.</para>
3819         </section>
3820         <section>
3821           <title id="Regkey_TransarcAFSDaemon_Parameters_ConnDeadTimeout">Value: ConnDeadTimeout</title>
3822           <indexterm significance="normal">
3823             <primary>ConnDeadTimeout</primary>
3824           </indexterm>
3825           <para id="Value_ConnDeadTimeout">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3826           <para>
3827                      Type: DWORD
3828                   </para>
3829           <para>
3830                      Default: 0 (seconds)
3831                   </para>
3832           <para>
3833                      Variable: ConnDeadtimeout</para>
3834           <para>When the value is 0, this setting is configured to be one-half the HardDeadTimeout value.</para>
3835         </section>
3836         <section>
3837           <title id="Regkey_TransarcAFSDaemon_Parameters_HardDeadTimeout">Value: HardDeadTimeout</title>
3838           <indexterm significance="normal">
3839             <primary>HardDeadTimeout</primary>
3840           </indexterm>
3841           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3842           <para>
3843                      Type: DWORD
3844                   </para>
3845           <para>
3846                      Default: 0 (seconds)
3847                   </para>
3848           <para>
3849                      Variable: HardDeadtimeout</para>
3850           <para>The Hard Dead Time is enforced to be at least double the ConnDeadTimeout. The provides an opportunity for at least one retry. </para>
3851           <para>The value 0 seconds means that the real timeout should be set to be equal to the minimum SMB timeout which can be configured in the registry at: </para>
3852           <para>
3853           </para>
3854           <para>  [HKLM\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters]</para>
3855           <para>    SessTimeout</para>
3856           <para>
3857           </para>
3858           <para>If the minimum SMB timeout is not specified the value is 45 seconds. See
3859                     <ulink url="http://support.microsoft.com/support/kb/articles/Q102/0/67.asp">http://support.microsoft.com:80/support/kb/articles/Q102/0/67.asp</ulink></para>
3860         </section>
3861         <section>
3862           <title id="Regkey_TransarcAFSDaemon_Parameters_IdleDeadTimeout">Value: IdleDeadTimeout</title>
3863           <indexterm significance="normal">
3864             <primary>IdleDeadTimeout</primary>
3865           </indexterm>
3866           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3867           <para>Type: DWORD </para>
3868           <para>Default: 1200 (seconds) </para>
3869           <para>Variable: IdleDeadtimeout </para>
3870           <para>The Idle Dead Time determines how long the cache manager will wait for an RPC on a
3871             non-replicated volume to complete when the service is responding only with keep alive
3872             messages.  When there is no replica available there is no other file server to try.  An
3873             idle dead timeout in this case is fatal.  This option is intended to protect a client
3874             against a file server that never responds.  This value must be larger that the file
3875             server hard dead timeout of 120 seconds.</para>
3876         </section>
3877         <section>
3878           <title>Value: ReplicaIdleDeadTimeout</title>
3879           <indexterm>
3880             <primary>ReplicaIdleDeadTimeout</primary>
3881           </indexterm>
3882           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3883           <para>Type: DWORD</para>
3884           <para>Default: 180 (seconds)</para>
3885           <para>Variable: ReplicaIdleDeadtimeout</para>
3886           <para>The Replica Idle Dead Time determines how long the cache manager will wait for an
3887             RPC on a replicated volume to complete when the service is responding only with keep
3888             alive messages.  When a volume is replicated the cache manager can choose to retry the
3889             request against a file server hosting one of the replicas.  This value must be larger
3890             that the file server hard dead timeout of 120 seconds.</para>
3891         </section>
3892         <section>
3893           <title id="Regkey_TransarcAFSDaemon_Parameters_NATPingInterval">Value: NATPingInterval</title>
3894           <indexterm significance="normal">
3895             <primary>NATPingInterval</primary>
3896           </indexterm>
3897           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3898           <para>
3899                      Type: DWORD
3900                   </para>
3901           <para>
3902                         Default: 0 (seconds)
3903                   </para>
3904           <para>
3905                         Variable: NatPingInterval
3906                   </para>
3907           <para>
3908                      The NAT Ping Interval determines how frequently a low-level Rx ping packet is sent to
3909                      every file server using an anonymous connection.  The value 0 seconds disables the
3910                      functionality.  A non-zero value activates the NAT ping behavior.  This option can be
3911                      enabled on clients that access AFS file servers from behind a NAT or port mapping
3912                      firewall that maintains a short timeout on UDP port mappings.  In this case the AFS
3913                      cache manager may not receive AFS callbacks from the file server.  This registry value
3914                      should be set to a number of seconds shorter than the port mapping timeout period.
3915                      When there is no other information to go on, a value of 20 seconds can be used.
3916                   </para>
3917         </section>
3918         <section>
3919           <title id="Regkey_TransarcAFSDaemon_Parameters_TraceOption">Value: TraceOption</title>
3920           <indexterm significance="normal">
3921             <primary>TraceOption</primary>
3922           </indexterm>
3923           <para id="Value_TraceOption">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3924           <para>Type: DWORD {0-15}
3925                   </para>
3926           <para>
3927 Default: 0</para>
3928           <para>Enables logging of debug output to the Windows Event Log.</para>
3929           <para>Bit 0 enables logging of "Logon Events" processed by the Network Provider and Winlogon Event Notification Handler. </para>
3930           <para>Bit 1 enables logging of events captured by the AFS Client Service.</para>
3931           <para>Bit 2 enables real-time viewing of "fs trace" logging with DbgView or similar tools.</para>
3932           <para>Bit 3 enables "fs trace" logging on startup.</para>
3933         </section>
3934         <section>
3935           <title id="Regkey_TransarcAFSDaemon_Parameters_AllSubmount">Value: AllSubmount</title>
3936           <indexterm significance="normal">
3937             <primary>AllSubmount</primary>
3938           </indexterm>
3939           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3940           <para>Type: DWORD {0, 1}
3941                   </para>
3942           <para>
3943 Default: 1</para>
3944           <para>Variable: allSubmount (smb.c)</para>
3945           <para>By setting this value to 0, the "\\NetbiosName\all" mount point will not be created. This allows the read-write versions of root.afs to be hidden.</para>
3946         </section>
3947         <section>
3948           <title id="Regkey_TransarcAFSDaemon_Parameters_NoFindLanaByName">Value: NoFindLanaByName</title>
3949           <indexterm significance="normal">
3950             <primary>NoFindLanaByName</primary>
3951           </indexterm>
3952           <para id="Value_NoFindLanaByName">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3953           <para>Type: DWORD {0, 1}
3954                   </para>
3955           <para>
3956 Default: 0</para>
3957           <para>Disables the attempt to identity the network adapter to use by looking for an adapter with a display name of "AFS".</para>
3958         </section>
3959         <section>
3960           <title id="Regkey_TransarcAFSDaemon_Parameters_MaxCPUs">Value: MaxCPUs</title>
3961           <indexterm significance="normal">
3962             <primary>MaxCPUs</primary>
3963           </indexterm>
3964           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3965           <para>Type: DWORD {1..32} or {1..64} depending on the architecture
3966                   </para>
3967           <para> Default: 2</para>
3968           <para>If this value is specified, afsd_service.exe will restrict itself to executing on
3969             the specified number of CPUs if there are a greater number installed in the machine.
3970             Performance profiling shows that overall system performance degrades when the
3971             afsd_service.exe is permitted to execute on more than two cores.</para>
3972         </section>
3973         <section>
3974           <title id="Regkey_TransarcAFSDaemon_Parameters_SmbAuthType">Value: SmbAuthType</title>
3975           <indexterm significance="normal">
3976             <primary>SMBAuthType</primary>
3977           </indexterm>
3978           <para id="Value_smbAuthType">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
3979           <para>Type: DWORD {0..2}
3980                   </para>
3981           <para>
3982 Default: 2</para>
3983           <para>If this value is specified, it defines the type of SMB authentication which must be present in order for the Windows SMB client to connect to the AFS Client Service's SMB server. The values are:</para>
3984           <para>0 = No authentication required
3985                   </para>
3986           <para>
3987             <simplelist type="vert">
3988               <member>
3989 1 = NTLM authentication required
3990 </member>
3991               <member>
3992 2 = Extended (GSS SPNEGO) authentication required
3993 </member>
3994             </simplelist>
3995           </para>
3996           <para>
3997 The default is Extended authentication</para>
3998         </section>
3999         <section>
4000           <title id="Regkey_TransarcAFSDaemon_Parameters_MaxLogSize">Value: MaxLogSize</title>
4001           <indexterm significance="normal">
4002             <primary>MaxLogSize</primary>
4003           </indexterm>
4004           <para id="Value_MaxLogSize">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4005           <para>Type: DWORD {0 .. MAXDWORD}
4006                   </para>
4007           <para>
4008 Default: 100K</para>
4009           <para>This entry determines the maximum size of the %WINDIR%\TEMP\afsd_init.log file. If the file is larger than this value when afsd_service.exe starts the file will be reset to 0 bytes. If this value is 0, it means the file should be allowed to grow indefinitely.</para>
4010         </section>
4011         <section>
4012           <title id="Regkey_TransarcAFSDaemon_Parameters_FlushOnHibernate">Value: FlushOnHibernate</title>
4013           <indexterm significance="normal">
4014             <primary>FlushOnHibernate</primary>
4015           </indexterm>
4016           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4017           <para>Type: DWORD {0,1}
4018                   </para>
4019           <para>
4020 Default: 1</para>
4021           <para>If set, flushes all volumes before the machine goes on hibernate or stand-by.</para>
4022         </section>
4023         <section>
4024           <title id="Regkey_TransarcAFSDaemon_Parameters_DaemonCheckDownInterval">Value: DaemonCheckDownInterval</title>
4025           <indexterm significance="normal">
4026             <primary>DaemonCheckDownInterval</primary>
4027           </indexterm>
4028           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4029           <para>Type: DWORD (seconds)
4030                   </para>
4031           <para>
4032 Default: 180</para>
4033           <para>This value controls how frequently the AFS cache manager probes servers that are marked as "down".</para>
4034         </section>
4035         <section>
4036           <title id="Regkey_TransarcAFSDaemon_Parameters_DaemonCheckUpInterval">Value: DaemonCheckUpInterval</title>
4037           <indexterm significance="normal">
4038             <primary>DaemonCheckUpInterval</primary>
4039           </indexterm>
4040           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4041           <para>Type: DWORD (seconds)
4042                   </para>
4043           <para>
4044 Default: 600</para>
4045           <para>This value controls how frequently the AFS cache manager probes servers that are marked as "up".</para>
4046         </section>
4047         <section>
4048           <title id="Regkey_TransarcAFSDaemon_Parameters_DaemonCheckVolInterval">Value: DaemonCheckVolInterval</title>
4049           <indexterm significance="normal">
4050             <primary>DaemonCheckVolInterval</primary>
4051           </indexterm>
4052           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4053           <para>Type: DWORD (seconds)
4054                   </para>
4055           <para>
4056 Default: 3600</para>
4057           <para>This value controls how frequently the AFS cache manager forces a reset on the existing volume database information.</para>
4058         </section>
4059         <section>
4060           <title id="Regkey_TransarcAFSDaemon_Parameters_DaemonCheckCBInterval">Value: DaemonCheckCBInterval</title>
4061           <indexterm significance="normal">
4062             <primary>DaemonCheckCBInterval</primary>
4063           </indexterm>
4064           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4065           <para>Type: DWORD (seconds)
4066                   </para>
4067           <para>
4068 Default: 60</para>
4069           <para>This value controls how frequently the AFS cache manager checks for callback invalidation.</para>
4070         </section>
4071         <section>
4072           <title id="Regkey_TransarcAFSDaemon_Parameters_DaemonCheckLockInterval">Value: DaemonCheckLockInterval</title>
4073           <indexterm significance="normal">
4074             <primary>DaemonCheckLockInterval</primary>
4075           </indexterm>
4076           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4077           <para>Type: DWORD (seconds)
4078                   </para>
4079           <para>
4080 Default: 60</para>
4081           <para>This value controls how frequently the AFS cache manager checks for invalid file locks.</para>
4082         </section>
4083         <section>
4084           <title id="Regkey_TransarcAFSDaemon_Parameters_DaemonCheckTokenInterval">Value: DaemonCheckTokenInterval</title>
4085           <indexterm significance="normal">
4086             <primary>DaemonCheckTokenInterval</primary>
4087           </indexterm>
4088           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4089           <para>Type: DWORD (seconds)
4090                   </para>
4091           <para>
4092 Default: 180</para>
4093           <para>This value controls how frequently the AFS cache manager checks for expired tokens.</para>
4094         </section>
4095         <section>
4096           <title id="Regkey_TransarcAFSDaemon_Parameters_DaemonCheckOfflineVolInterval">Value: DaemonCheckOfflineVolInterval</title>
4097           <indexterm significance="normal">
4098             <primary>DaemonCheckOfflineVolInterval</primary>
4099           </indexterm>
4100           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4101           <para>Type: DWORD (seconds)
4102                   </para>
4103           <para>
4104 Default: 600</para>
4105           <para>This value controls how frequently the AFS cache manager checks offline volumes to see if they have come back online.  At the same time volumes which were determined to be busy have their state reset to online.</para>
4106         </section>
4107         <section>
4108           <title id="Regkey_TransarcAFSDaemon_Parameters_CallBackPort">Value: CallBackPort</title>
4109           <indexterm significance="normal">
4110             <primary>CallBackPort</primary>
4111           </indexterm>
4112           <indexterm significance="normal">
4113             <primary>port 7001/udp</primary>
4114           </indexterm>
4115           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4116           <para>Type: DWORD
4117                   </para>
4118           <para>
4119 Default: 7001</para>
4120           <para>This value specifies which port number should be used for receiving callbacks from the file server.  The standard AFS Callback port is 7001.  Alternative values can be useful if the client is behind a NAT and a permanent port mapping for the client is being configured.</para>
4121         </section>
4122         <section>
4123           <title id="Regkey_TransarcAFSDaemon_Parameters_EnableServerLocks">Value: EnableServerLocks</title>
4124           <indexterm significance="normal">
4125             <primary>EnableServerLocks</primary>
4126           </indexterm>
4127           <para id="Value_EnableServerLocks">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4128           <para>Type: DWORD {0, 1, 2}
4129                   </para>
4130           <para>
4131 Default: 1</para>
4132           <para>Determines whether or not the AFS file server is contacted for </para>
4133           <para>0: never obtain server locks</para>
4134           <para>1: obtain server locks unless the file server says not to</para>
4135           <para>2: always obtain server locks</para>
4136         </section>
4137         <section>
4138           <title id="Regkey_TransarcAFSDaemon_Parameters_DeleteReadOnly">Value: DeleteReadOnly</title>
4139           <indexterm significance="normal">
4140             <primary>DeleteReadOnly</primary>
4141           </indexterm>
4142           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4143           <para>Type: DWORD {0, 1}
4144                   </para>
4145           <para>
4146 Default: 0</para>
4147           <para>Determines whether or not the AFS Cache Manager will permit files marked with the "Read Only" DOS attribute to be deleted or not.  For compatibility with Explorer, the default is ‘no'.</para>
4148           <para>0: do not permit "Read Only" files to be deleted.</para>
4149           <para>1: delete files that have the "Read Only" attribute set without complaint.</para>
4150         </section>
4151         <section>
4152           <title id="Regkey_TransarcAFSDaemon_Parameters_BPlusTrees">Value: BPlusTrees</title>
4153           <indexterm significance="normal">
4154             <primary>BPlusTrees</primary>
4155           </indexterm>
4156           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4157           <para>Type: DWORD {0, 1}
4158                   </para>
4159           <para>
4160 Default: 1</para>
4161           <para>Determines whether or not the AFS Cache Manager uses locally constructed B+ Trees to speed up the performance of directory searches.  </para>
4162           <para>0: do not use B+ Trees for directory lookups</para>
4163           <para>1: use B+ Trees for directory lookups</para>
4164         </section>
4165         <section>
4166           <title id="Regkey_TransarcAFSDaemon_Parameters_PrefetchExecutableExtensions">Value: PrefetchExecutableExtensions</title>
4167           <indexterm significance="normal">
4168             <primary>PrefetchExecutableExtensions</primary>
4169           </indexterm>
4170           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4171           <para>Type: MULTI_SZ
4172                   </para>
4173           <para>
4174 Default: none specified</para>
4175           <para>The AFS Cache Manager will pre-fetch the entire contents of any file whose name matches ends with one of the specified extensions.  This option is intended for use primarily with executables and dynamic link libraries that should be fully cached prior to a machine losing its connection with the file server.</para>
4176         </section>
4177         <section>
4178           <title id="Regkey_TransarcAFSDaemon_Parameters_OfflineReadOnlyIsValid">Value: OfflineReadOnlyIsValid</title>
4179           <indexterm significance="normal">
4180             <primary>OfflineReadOnlyIsValid</primary>
4181           </indexterm>
4182           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4183           <para>Type: DWORD {0, 1}
4184                   </para>
4185           <para>
4186 Default: 0</para>
4187           <para>Determines whether or not cached data from .readonly volumes is considered valid even if a callback cannot be registered with a file server.  This option is meant to be used by organizations for whom .readonly volume content very rarely changes (if ever.)</para>
4188           <para>0: do not treat offline .readonly content as valid</para>
4189           <para>1: treat offline .readonly content as valid</para>
4190         </section>
4191         <section>
4192           <title id="Regkey_TransarcAFSDaemon_Parameters_GiveUpAllCallBacks">Value: GiveUpAllCallBacks</title>
4193           <indexterm significance="normal">
4194             <primary>GiveUpAllCallBacks</primary>
4195           </indexterm>
4196           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4197           <para>Type: DWORD {0, 1}
4198                   </para>
4199           <para> Default: 1</para>
4200           <para>Determines whether or not the AFS Cache Manager will give up all callbacks prior to the service being suspended or shutdown.  Doing so will have significant performance benefits for the file servers.  However, file servers older than 1.4.6 can become unstable if the GiveUpAllCallBacks RPC is executed.</para>
4201           <para>0: do not perform GiveUpAllCallBacks RPCs</para>
4202           <para>1: perform GiveUpAllCallBacks RPCs </para>
4203         </section>
4204         <section>
4205           <title id="Regkey_TransarcAFSDaemon_Parameters_ReadOnlyVolumeVersioning">Value: ReadOnlyVolumeVersioning</title>
4206           <indexterm significance="normal">
4207             <primary>ReadOnlyVolumeVersioning</primary>
4208           </indexterm>
4209           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4210           <para>Type: DWORD {0, 1}
4211                   </para>
4212           <para>Default: 0</para>
4213           <para>Determines whether or not the AFS Cache Manager will will make use of the volume
4214             version information reported by the file server as part of the AFSVolSync data
4215             structure. Use of volume version information can significantly reduce the number of
4216             FetchStatus RPCs issued on objects stored in read-only volumes. This functionality is
4217             disabled by default because all OpenAFS file servers older than OpenAFS 1.4.10 failed to
4218             include valid volume version information as part of the BulkStatus and InlineBulkStatus
4219             RPCs. </para>
4220           <para>0: do not make use of volume version information</para>
4221           <para>1: make use of volume version information</para>
4222         </section>
4223         <section>
4224           <title id="Regkey_TransarcAFSDaemon_Parameters_FollowBackupPath">Value: FollowBackupPath</title>
4225           <indexterm significance="normal">
4226             <primary>FollowBackupPath</primary>
4227           </indexterm>
4228           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4229           <para>Type: DWORD {0, 1}
4230                   </para>
4231           <para>Default: 0</para>
4232           <para>Determines whether or not the AFS Cache Manager will give preference to .backup volumes when following mount points that originate in a .backup volume.</para>
4233           <para>0: do not prefer .backup volumes when the mount point originates in a .backup volume.</para>
4234           <para>1: prefer .backup volumes when the mount point originates in a .backup volume.</para>
4235         </section>
4236         <section>
4237           <title id="Regkey_TransarcAFSDaemon_Parameters_RxUdpBufSize">Value: RxUdpBufSize</title>
4238           <indexterm significance="normal">
4239             <primary>RxUdpBufSize</primary>
4240           </indexterm>
4241           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4242           <para>Type: DWORD {bytes}
4243                   </para>
4244           <para>Default: 262144</para>
4245           <para>Specifies the UDP socket receive and send buffer sizes..</para>
4246         </section>
4247         <section>
4248           <title>Value: VerifyData</title>
4249           <indexterm>
4250             <primary>VerifyData</primary>
4251           </indexterm>
4252           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4253           <para>Type: DWORD {0, 1}</para>
4254           <para>Default: 0</para>
4255           <para>1: after every RXAFS_StoreData RPC immediately perform an RXAFS_FetchData RPC and
4256             verify that the data was correctly stored on the file server.  If the data does not
4257             match, retry the store operation until it does.</para>
4258           <para>The "fs getverify" and "fs setverify {on, off}" commands can be used to query and
4259             set this value at runtime.</para>
4260         </section>
4261         <section>
4262           <title id="Regkey_TransarcAFSDaemon_Parameters_ShortNames">Value: ShortNames</title>
4263           <indexterm significance="normal">
4264             <primary>ShortNames</primary>
4265           </indexterm>
4266           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4267           <para>Type: DWORD {0, 1}
4268           </para>
4269           <para>
4270             Default: 0 on Windows 8 and Server 2012, 1 otherwise</para>
4271           <para>Determines whether or not the AFS Cache Manager will generate 8.3 compatible shortnames for all objects stored in AFS.  Short names are disabled by default on Windows 8 and Server 2012.  All prior operating systems enable short names by default.</para>
4272           <para>0: do not generate 8.3 compatible short names.</para>
4273           <para>1: generate 8.3 compatible short names.</para>
4274         </section>
4275       </section>
4276       <section>
4277         <title id="Regkey_TransarcAFSDaemon_Parameters_GlobalAutoMapper">Regkey:
4278 [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters\GlobalAutoMapper]</title>
4279         <indexterm significance="normal">
4280           <primary>GlobalAutoMapper</primary>
4281         </indexterm>
4282         <section>
4283           <title id="Regkey_TransarcAFSDaemon_Parameters_GlobalAutoMapper_DriveLetter">Value: &lt;DriveLetter&gt;</title>
4284           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters\GlobalAutoMapper]</para>
4285           <para>Type: REG_SZ</para>
4286           <para>Specifies the submount name to be mapped by afsd_service.exe at startup to the provided drive letter.</para>
4287           <para>
4288             <emphasis>This option is deprecated.</emphasis>
4289           </para>
4290         </section>
4291       </section>
4292       <section id="Regkey_HKLM_SOFTWARE_OpenAFS_Client">
4293         <title>Regkey: [HKLM\SOFTWARE\OpenAFS\Client]</title>
4294         <section>
4295           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_CellServDBDir">Value: CellServDBDir</title>
4296           <indexterm significance="normal">
4297             <primary>CellServDB</primary>
4298           </indexterm>
4299           <indexterm significance="normal">
4300             <primary>CellServDBDir</primary>
4301           </indexterm>
4302           <para id="Value_CellServDBDir">Regkey: [HKLM\SOFTWARE\OpenAFS\Client]</para>
4303           <para>Type: REG_SZ
4304                   </para>
4305           <para>
4306 Default: &lt;not defined&gt;</para>
4307           <para>Specifies the directory containing the CellServDB file. When this value is not specified, the ProgramData directory is searched and if the CellServDB file is not found, the AFS Client install directory is used.</para>
4308         </section>
4309         <section>
4310           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_VerifyServiceSignature">Value: VerifyServiceSignature</title>
4311           <indexterm significance="normal">
4312             <primary>VerifyServiceSignature</primary>
4313           </indexterm>
4314           <para id="Value_VerifyServiceSignature">Regkey: [HKLM\SOFTWARE\OpenAFS\Client]</para>
4315           <para>Type: REG_DWORD
4316                   </para>
4317           <para>
4318 Default: 0x1</para>
4319           <para>This value can be used to disable the runtime verification of the digital signatures applied to afsd_service.exe and the OpenAFS DLLs it loads. This test is performed to verify that the DLLs which are loaded by afsd_service.exe are from the same distribution as afsd_service.exe. This is to prevent random errors caused when DLLs from one distribution of AFS are loaded by another one. This is not a security test. The reason for disabling this test is to free up additional memory which can be used for a large cache size.</para>
4320         </section>
4321         <section>
4322           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_IoctlDebug">Value: IoctlDebug</title>
4323           <indexterm significance="normal">
4324             <primary>IoctlDebug</primary>
4325           </indexterm>
4326           <indexterm significance="normal">
4327             <primary>path ioctl debugging</primary>
4328           </indexterm>
4329           <para id="Value_IoctlDebug">Regkey: [HKLM\SOFTWARE\OpenAFS\Client]</para>
4330           <para>Type: REG_DWORD
4331                   </para>
4332           <para>
4333 Default: 0x0</para>
4334           <para>This value can be used to debug the cause of pioctl() failures. Set a non-zero value and the pioctl() library will output status information to stdout. Executing command line tools such as tokens.exe, fs.exe, etc can then be used to determine why the pioctl() call is failing. </para>
4335         </section>
4336         <section>
4337           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_MiniDumpType">Value: MiniDumpType</title>
4338           <indexterm significance="normal">
4339             <primary>minidumps</primary>
4340           </indexterm>
4341           <indexterm significance="normal">
4342             <primary>MiniDumpType</primary>
4343           </indexterm>
4344           <para id="Value_MiniDumpType">Regkey: [HKLM\SOFTWARE\OpenAFS\Client]</para>
4345           <para>Type: REG_DWORD
4346                   </para>
4347           <para>
4348 Default: 0x0 (MiniDumpNormal)</para>
4349           <para>This value is used to specify the type of minidump generated by afsd_service.exe either when the process crashes or when a user initiated is dump file is generated with the "fs.exe minidump" command.</para>
4350           <para>Valid values are dependent on the version of DbgHelp.dll installed on the machine. The best version to use is not the version that comes with the operating system but the version that is included in the most recent release of "
4351                     <ulink url="http://www.microsoft.com/whdc/devtools/debugging/default.mspx">Microsoft Debugging Tools for Windows</ulink>". See the Microsoft Developer Library for further information.
4352                   </para>
4353           <simplelist type="vert">
4354             <member>
4355 MiniDumpNormal = 0x00000000
4356       </member>
4357             <member>
4358 MiniDumpWithDataSegs = 0x00000001
4359       </member>
4360             <member>
4361 MiniDumpWithFullMemory = 0x00000002
4362       </member>
4363             <member>
4364 MiniDumpWithHandleData = 0x00000004
4365       </member>
4366             <member>
4367 MiniDumpFilterMemory = 0x00000008
4368       </member>
4369             <member>
4370 MiniDumpScanMemory = 0x00000010
4371       </member>
4372             <member>
4373 MiniDumpWithUnloadedModules = 0x00000020
4374       </member>
4375             <member>
4376 MiniDumpWithIndirectlyReferencedMemory = 0x00000040
4377       </member>
4378             <member>
4379 MiniDumpFilterModulePaths = 0x00000080
4380       </member>
4381             <member>
4382 MiniDumpWithProcessThreadData = 0x00000100
4383       </member>
4384             <member>
4385 MiniDumpWithPrivateReadWriteMemory = 0x00000200
4386       </member>
4387             <member>
4388 MiniDumpWithoutOptionalData = 0x00000400
4389       </member>
4390             <member>
4391 MiniDumpWithFullMemoryInfo = 0x00000800
4392       </member>
4393             <member>
4394 MiniDumpWithThreadInfo = 0x00001000
4395       </member>
4396             <member>
4397 MiniDumpWithCodeSegs = 0x00002000
4398       </member>
4399           </simplelist>
4400         </section>
4401         <section>
4402           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_EnableSMBAsyncStore">Value: EnableSMBAsyncStore</title>
4403           <indexterm significance="normal">
4404             <primary>EnableSMBAsyncStore</primary>
4405           </indexterm>
4406           <para id="Value_EnableSMBAsyncStore">Regkey: [HKLM\SOFTWARE\OpenAFS\Client]</para>
4407           <para>Type: REG_DWORD
4408                   </para>
4409           <para>
4410 Default: 0x1</para>
4411           <para>This value can be used to disable the use of SMB Asynchronous Store operations.</para>
4412         </section>
4413         <section>
4414           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_SMBAsyncStoreSize">Value: SMBAsyncStoreSize</title>
4415           <indexterm significance="normal">
4416             <primary>SMBAsyncStoreSize</primary>
4417           </indexterm>
4418           <para id="Value_SMBAsyncStoreSize">Regkey: [HKLM\SOFTWARE\OpenAFS\Client]</para>
4419           <para>Type: REG_DWORD
4420                   </para>
4421           <para>
4422 Default: 32</para>
4423           <para>This value determines the size of SMB Asynchronous Store operations.This value can be used to increase the write performance on higher speed networks by increasing the value.  The value must be a multiple of the cache buffer block size and cannot be larger than the cache manager chunk size.  The specified value will be adjusted to enforce its compliance with these restrictions.</para>
4424         </section>
4425         <section>
4426           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_StoreAnsiFilenames">Value: StoreAnsiFilenames</title>
4427           <indexterm significance="normal">
4428             <primary>StoreAnsiFilenames</primary>
4429           </indexterm>
4430           <indexterm significance="normal">
4431             <primary>Unicode</primary>
4432           </indexterm>
4433           <indexterm significance="normal">
4434             <primary>character sets</primary>
4435           </indexterm>
4436           <para id="Value_StoreAnsiFilenames">Regkey: [HKLM\SOFTWARE\OpenAFS\Client]</para>
4437           <para>Type: REG_DWORD
4438                   </para>
4439           <para>
4440 Default: 0x0</para>
4441           <para>This value can be used to force the AFS Client Service to store filenames using the Windows system's ANSI character set instead of the OEM Code Page character set which has traditionally been used by SMB file systems. </para>
4442           <para>Note: The use of ANSI characters will render access to files with 8-bit OEM file names inaccessible from Windows. This option is of use primarily when you wish to allow file names produced on Windows to be accessible from Latin-1 UNIX systems and vice versa.</para>
4443           <para>This value is ignored now that all file names are processed as Unicode and stored on the file server as UTF-8.</para>
4444         </section>
4445       </section>
4446       <section>
4447         <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_CSCPolicy">Regkey: [HKLM\SOFTWARE\OpenAFS\Client\CSCPolicy]</title>
4448         <indexterm significance="normal">
4449           <primary>CSCPolicy</primary>
4450         </indexterm>
4451         <section>
4452           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_CSCPolicy_">Value: &lt;smb share name&gt;</title>
4453           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\CSCPolicy]</para>
4454           <para>Type: REG_SZ
4455                   </para>
4456           <para>
4457 Default: &lt;none&gt;</para>
4458           <para>This key is used to map SMB/CIFS shares to Client Side Caching (off-line access) policies. For each share one of the following policies may be used: "manual", "programs", "documents", "disable". </para>
4459           <para>These values used to be stored in afsdsbmt.ini</para>
4460         </section>
4461       </section>
4462       <section id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_CellServDB">
4463         <title>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\CellServDB]</title>
4464         <indexterm significance="normal">
4465           <primary>CellServDB</primary>
4466         </indexterm>
4467         <para>The <emphasis>CellServDB</emphasis> key is an alternative to the <emphasis>CellServDB</emphasis> file that can be used either to supplement
4468               or override its contents.   This registry entry is meant to provide organizations that centrally manage their client configurations using
4469               <emphasis>Active Directory Group Policy</emphasis> a means of updating records for individual cells or servers without pushing out a new file.
4470        </para>
4471         <para>At the present time the <emphasis>CellServDB</emphasis> key contains no values; only subkeys.  Each subkey is the name of a <emphasis>Cell</emphasis>.  For example, <emphasis>grand.central.org</emphasis>.
4472        </para>
4473         <para>Support for registry <emphasis>CellServDB</emphasis> configuration was added in 1.5.60.</para>
4474       </section>
4475       <section>
4476         <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_CellServDB_Cell">Regkey: [HKLM\SOFTWARE\OpenAFS\Client\CellServDB\&lt;cellname&gt;]</title>
4477         <para>The actual name of the <emphasis>&lt;cellname&gt;</emphasis> key is the full name of the cell whose configuration is being specified.  The <emphasis>&lt;cellname&gt;</emphasis> key contains both values and subkeys.  Each subkey represents a single host name or IP address.  When a host is to be known by more than one name or IP address, a separate subkey should be created for each.
4478         Unlike the &lt;cellname&gt; key name, the &lt;server&gt; key names do not have to be actual host names.</para>
4479         <section>
4480           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_CellServDB_Cell_Description">Value: Description</title>
4481           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\CellServDB\&lt;Cell Name&gt;]</para>
4482           <para>Type: REG_SZ
4483                   </para>
4484           <para>Default: &lt;none&gt;</para>
4485           <para>This value is used to store a description of the Cell appropriate for display in end user facing tools.</para>
4486         </section>
4487         <section>
4488           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_CellServDB_Cell_ForceDNS">Value: ForceDNS</title>
4489           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\CellServDB\&lt;Cell Name&gt;]</para>
4490           <para>Type: REG_DWORD</para>
4491           <para>Range: 0 or 1</para>
4492           <para>Default: 0 if &lt;server&gt; subkeys exist; 1 otherwise</para>
4493           <para>When set to 1 all server configuration provided in the registry or the <emphasis>CellServDB file</emphasis> is ignored and DNS AFSDB lookups are used instead.</para>
4494         </section>
4495         <section>
4496           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_CellServDB_Cell_LinkedCell">Value: LinkedCell</title>
4497           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\CellServDB\&lt;Cell Name&gt;]</para>
4498           <para>Type: REG_SZ
4499                   </para>
4500           <para>Default: &lt;none&gt;</para>
4501           <para>This value names an alternative cell to which this cell should be linked.  When two cells are linked by the OpenAFS client, volume lookups that fail in the specified cell will be searched for in the linked cell
4502                   and when tokens are requested for one of the cells they will be obtained for both.
4503                   This functionality can be used for example to develop a test cell that is equivalent to a production cell with the exception that it substitutes test versions of volumes
4504                   for the production versions.  Another use is to assist in the transition from one cell name to another.</para>
4505           <para>See also: <link linkend="Linked_Cells">Linked Cells</link>.</para>
4506         </section>
4507       </section>
4508       <section>
4509         <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_CellServDB_Cell_Server">Regkey: [HKLM\SOFTWARE\OpenAFS\Client\CellServDB\&lt;cellname&gt;\&lt;server&gt;]</title>
4510         <para>The actual name of the <emphasis>&lt;server&gt;</emphasis> key may be a fully qualified domain name of the server whose configuration is being specified.
4511         If a domain name is specified as the key name, all values become optional.
4512         </para>
4513         <section>
4514           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_CellServDB_Cell_Server_HostName">Value: HostName</title>
4515           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\CellServDB\&lt;Cell Name&gt;\&lt;Server&gt;]</para>
4516           <para>Type: REG_SZ</para>
4517           <para>Default: &lt;none&gt;</para>
4518           <para>This value is used to specify a fully qualified domain name appropriate that matches either a DNS A or DNS CNAME record.  If provided, this value supercedes
4519                   the name of the &lt;server&gt; key.  It is recommended that the value of this field be terminated with a period in order to avoid the use of domain substitution
4520                   during the gethostbyname() evaluation.
4521                   </para>
4522         </section>
4523         <section>
4524           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_CellServDB_Cell_Server_IPv4Address">Value: IPv4Address</title>
4525           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\CellServDB\&lt;Cell Name&gt;\&lt;Server&gt;]</para>
4526           <para>Type: REG_SZ</para>
4527           <para>Default: &lt;none&gt;</para>
4528           <para>If the DNS host name lookup fails this value will be used as the IPv4 address for the server.</para>
4529         </section>
4530         <section>
4531           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_CellServDB_Cell_Server_Rank">Value: Rank</title>
4532           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\CellServDB\&lt;Cell Name&gt;\&lt;Server&gt;]</para>
4533           <para>Type: REG_DWORD
4534                   </para>
4535           <para>Range: 0..65535</para>
4536           <para>Default: 0</para>
4537           <para>This value specifies the default server preference.  A value of 0 indicates that no preference has been specified.  When non-zero values
4538                   are specified lower values indicate a stronger preference than higher values.</para>
4539         </section>
4540         <section>
4541           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_CellServDB_Cell_Server_Comment">Value: Comment</title>
4542           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\CellServDB\&lt;Cell Name&gt;\&lt;Server&gt;]</para>
4543           <para>Type: REG_SZ</para>
4544           <para>Default: &lt;none&gt;</para>
4545           <para>A text string that can be displayed to end users to describe the server.</para>
4546         </section>
4547       </section>
4548       <section id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_Freelance">
4549         <title>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\Freelance]</title>
4550         <indexterm significance="normal">
4551           <primary>Freelance</primary>
4552         </indexterm>
4553         <indexterm significance="normal">
4554           <primary>Freelance Mount Points</primary>
4555         </indexterm>
4556         <section>
4557           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_Freelance_NumericValue">Value: &lt;numeric value&gt;</title>
4558           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\Freelance]</para>
4559           <para>Type: REG_SZ
4560                   </para>
4561           <para>
4562 Default: &lt;none&gt;</para>
4563           <para>This key is used to store dot terminated mount point strings for use in constructing the fake root.afs volume when Freelance (dynamic roots) mode is activated.</para>
4564           <para>"athena.mit.edu#athena.mit.edu:root.cell."</para>
4565           <para>".athena.mit.edu%athena.mit.edu:root.cell."</para>
4566           <para>These values used to be stored in afs_freelance.ini</para>
4567         </section>
4568       </section>
4569       <section id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_Freelance_Symlinks">
4570         <title>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\Freelance\Symlinks]</title>
4571         <indexterm significance="normal">
4572           <primary>Freelance Symlinks</primary>
4573         </indexterm>
4574         <section>
4575           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_Freelance_Symlinks_NumericValue">Value: &lt;numeric value&gt;</title>
4576           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\Freelance\Symlinks]</para>
4577           <para>Type: REG_SZ
4578                   </para>
4579           <para>
4580 Default: &lt;none&gt;</para>
4581           <para>This key is used to store a dot terminated symlink strings for use in constructing the fake root.afs volume when Freelance (dynamic roots) mode is activated.</para>
4582           <para>"linkname:destination-path."</para>
4583           <para>"athena:athena.mit.edu."</para>
4584           <para>"home:athena.mit.edu\user\j\a\jaltman."</para>
4585           <para>"filename:path\file."</para>
4586         </section>
4587       </section>
4588       <section>
4589         <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_Realms">Regkey: [HKLM\SOFTWARE\OpenAFS\Client\Realms]</title>
4590         <indexterm significance="normal">
4591           <primary>Realms</primary>
4592         </indexterm>
4593         <indexterm significance="normal">
4594           <primary>network identity manager</primary>
4595         </indexterm>
4596         <para>The Realms key is used to provide initialization data to be used when new identities are added to the Network Identity Manager.  The AFS Provider will search for a subkey that matches the realm of the identity.  If such a key exists, its values will be used to populate the AFS configuration for the identity.</para>
4597       </section>
4598       <section>
4599         <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_Realms_RealmName">Regkey: [HKLM\SOFTWARE\OpenAFS\Client\Realms\&lt;Realm Name&gt;]</title>
4600         <para>In addition to the optional values, this key contains one subkey for each cell that is to be added to the AFS Provider configuration.  </para>
4601         <section>
4602           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_Realms_RealmName_AFSEnabled">Value: AFSEnabled</title>
4603           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\Realms\&lt;Realm Name&gt;]</para>
4604           <para>Type: REG_DWORD
4605                   </para>
4606           <para>
4607 Default: 0x01</para>
4608           <para>This key is used to specify whether the new identity should be configured to obtain AFS credentials.  In general, it is only specified when disabling the acquisition of AFS credentials is desired.  The default is to obtain AFS credentials.</para>
4609         </section>
4610       </section>
4611       <section>
4612         <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_Realms_RealmName_CellName">Regkey:
4613 [HKLM\SOFTWARE\OpenAFS\Client\Realms\&lt;Realm Name&gt;\&lt;Cell Name&gt;]</title>
4614         <section>
4615           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_Realms_RealmName_CellName_MethodName">Value: MethodName</title>
4616           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\Realms\&lt;Realm Name&gt;\&lt;Cell Name&gt;]</para>
4617           <para>Type: REG_SZ
4618                   </para>
4619           <para>
4620 Default: &lt;none&gt;</para>
4621           <para>This key is used to specify the token acquisition method to be used.  When unspecified, the AFS provider will automatically try Kerberos v5 and then Kerberos v5 (if available).  As of this writing valid method names include "Auto", "Kerberos5", "Kerberos524", "Kerberos4".</para>
4622           <para>Note: Kerberos524 and Kerberos4 cannot be used with 64-bit Kerberos for Windows.</para>
4623         </section>
4624         <section>
4625           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_Realms_RealmName_CellName_Realm">Value: Realm</title>
4626           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\Realms\&lt;Realm Name&gt;\&lt;Cell Name&gt;]</para>
4627           <para>Type: REG_SZ
4628                   </para>
4629           <para>
4630 Default: &lt;none&gt;</para>
4631           <para>This key is used to specify the realm to be used when acquiring AFS tokens.  If not specified, the realm will be determined by performing a domain to realm mapping on the domain of a random volume location database server for the cell.</para>
4632         </section>
4633       </section>
4634       <section>
4635         <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_Submounts">Regkey:
4636 [HKLM\SOFTWARE\OpenAFS\Client\Submounts]</title>
4637         <indexterm significance="normal">
4638           <primary>Submounts</primary>
4639         </indexterm>
4640         <section>
4641           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_Submounts_SubmountName">Value: &lt;Submount Name&gt;</title>
4642           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\Submounts]</para>
4643           <para>Type: REG_EXPAND_SZ
4644                   </para>
4645           <para>
4646 Default: &lt;none&gt;</para>
4647           <para>This key is used to store mappings of UNIX style AFS paths to submount names which can be referenced as UNC paths. For example the submount string "/athena.mit.edu/user/j/a/jaltman" can be associated with the submount name "jaltman.home". This can then be referenced as the UNC path \\AFS\jaltman.home.</para>
4648           <para>These values used to be stored in afsdsbmt.ini</para>
4649           <para>NOTE: Submounts should no longer be used with OpenAFS. Use the Windows Explorer to create drive mappings to AFS UNC paths instead of using the AFS Submount mechanism.</para>
4650         </section>
4651       </section>
4652       <section id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_ServerPreferences_VLDB">
4653         <title>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\Server Preferences\VLDB]</title>
4654         <indexterm significance="normal">
4655           <primary>Server Preferences</primary>
4656         </indexterm>
4657         <section>
4658           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_ServerPreferences_VLDB_HostName">Value: &lt;hostname or ip address&gt;</title>
4659           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\Server Preferences\VLDB]</para>
4660           <para>Type: REG_DWORD
4661                   </para>
4662           <para>
4663 Default: &lt;none&gt;</para>
4664           <para>This key is used to specify a default set of VLDB server preferences. For each entry the value name will be either the IP address of a server or a fully qualified domain name. The value will be the ranking. The ranking will be adjusted by a random value between 0 and 15 prior to the preference being set.</para>
4665         </section>
4666       </section>
4667       <section>
4668         <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_ServerPreferences_File">Regkey:
4669 [HKLM\SOFTWARE\OpenAFS\Client\Server Preferences\File]</title>
4670         <section>
4671           <title id="Regkey_HKLM_SOFTWARE_OpenAFS_Client_ServerPreferences_File_HostName">Value: &lt;hostname or ip address&gt;</title>
4672           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client\Server Preferences\File]</para>
4673           <para>Type: REG_DWORD
4674                   </para>
4675           <para>
4676 Default: &lt;none&gt;</para>
4677           <para>This key is used to specify a default set of File server preferences. For each entry the value name will be either the IP address of a server or a fully qualified domain name. The value will be the ranking. The ranking will be adjusted by a random value between 0 and 15 prior to the preference being set.</para>
4678         </section>
4679       </section>
4680     </section>
4681     <section>
4682       <title id="Integrated_Logon_Parameters">A.2. Integrated Logon Network Provider Parameters</title>
4683       <indexterm significance="normal">
4684         <primary>integrated logon</primary>
4685       </indexterm>
4686       <para>Affects the network provider (afslogon.dll).</para>
4687       <section>
4688         <title id="NP_Regkey_TransarcAFSDaemon_Parameters">Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</title>
4689         <section>
4690           <title id="NP_Regkey_TransarcAFSDaemon_Parameters_FailLoginsSilently">Value: FailLoginsSilently</title>
4691           <indexterm significance="normal">
4692             <primary>FailLoginsSilently</primary>
4693           </indexterm>
4694           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
4695           <para>Type: DWORD
4696                   </para>
4697           <para>Default: 0</para>
4698           <para>Do not display message boxes if the login fails.</para>
4699         </section>
4700       </section>
4701       <section>
4702         <title id="NP_Regkey_TransarcAFSDaemon_NetworkProvider">Regkey:
4703 [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider]</title>
4704         <section>
4705           <title id="NP_Regkey_TransarcAFSDaemon_NetworkProvider_NoWarnings">Value: NoWarnings</title>
4706           <indexterm significance="normal">
4707             <primary>NoWarnings</primary>
4708           </indexterm>
4709           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider]</para>
4710           <para>Type: DWORD
4711                   </para>
4712           <para>Default: 0</para>
4713           <para>Disables visible warnings during logon.</para>
4714         </section>
4715         <section>
4716           <title id="Value_AFSLogon_Debug">Value: Debug</title>
4717           <para>Regkey:
4718             [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider]</para>
4719           <para>Type: DWORD</para>
4720           <para>Default: 0</para>
4721           <para>Set to 1 to turn on "AFS Logon" event logging to the Windows Event Log.</para>
4722         </section>
4723         <section>
4724           <title id="NP_Regkey_TransarcAFSDaemon_NetworkProvider_AuthentProviderPath">Value: AuthentProviderPath</title>
4725           <indexterm significance="normal">
4726             <primary>AuthentProviderPath</primary>
4727           </indexterm>
4728           <indexterm significance="normal">
4729             <primary>afslogon.dll</primary>
4730           </indexterm>
4731           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider]</para>
4732           <para>Type: REG_SZ
4733                   </para>
4734           <para>
4735 NSIS: %WINDIR%\SYSTEM32\afslogon.dll</para>
4736           <para>Specifies the install location of the authentication provider dll.</para>
4737         </section>
4738         <section>
4739           <title id="NP_Regkey_TransarcAFSDaemon_NetworkProvider_Class">Value: Class</title>
4740           <indexterm significance="normal">
4741             <primary>Class</primary>
4742           </indexterm>
4743           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider]</para>
4744           <para>Type: DWORD
4745                   </para>
4746           <para>
4747 NSIS: 0x02</para>
4748           <para>Specifies the class of network provider</para>
4749         </section>
4750         <section>
4751           <title id="NP_Regkey_TransarcAFSDaemon_NetworkProvider_DependOnGroup">Value: DependOnGroup</title>
4752           <indexterm significance="normal">
4753             <primary>DependOnGroup</primary>
4754           </indexterm>
4755           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider]</para>
4756           <para>Type: REG_MULTI_SZ
4757                   </para>
4758           <para>
4759 NSIS: PNP_TDI</para>
4760           <para>Specifies the service groups upon which the AFS Client Service depends. Windows should not attempt to start the AFS Client Service until all of the services within these groups have successfully started.</para>
4761         </section>
4762         <section>
4763           <title id="NP_Regkey_TransarcAFSDaemon_NetworkProvider_DependOnService">Value: DependOnService</title>
4764           <indexterm significance="normal">
4765             <primary>DependOnService</primary>
4766           </indexterm>
4767           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider]</para>
4768           <para>Type: REG_MULTI_SZ
4769                   </para>
4770           <para>
4771 NSIS: Tcpip NETBIOS RpcSs</para>
4772           <para>Specifies a list of services upon which the AFS Client Service depends. Windows should not attempt to start the AFS Client Service until all of the specified services have successfully started.</para>
4773         </section>
4774         <section>
4775           <title id="NP_Regkey_TransarcAFSDaemon_NetworkProvider_Name">Value: Name</title>
4776           <indexterm significance="normal">
4777             <primary>Name - network provider</primary>
4778           </indexterm>
4779           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider]</para>
4780           <para>Type: REG_SZ
4781                   </para>
4782           <para>
4783 NSIS: "OpenAFSDaemon"</para>
4784           <para>Specifies the display name of the AFS Client Service</para>
4785         </section>
4786         <section>
4787           <title id="NP_Regkey_TransarcAFSDaemon_NetworkProvider_ProviderPath">Value: ProviderPath</title>
4788           <indexterm significance="normal">
4789             <primary>ProviderPath</primary>
4790           </indexterm>
4791           <indexterm significance="normal">
4792             <primary>afslogon.dll</primary>
4793           </indexterm>
4794           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider]</para>
4795           <para>Type: REG_SZ
4796                   </para>
4797           <para>
4798 NSIS: %WINDIR%\SYSTEM32\afslogon.dll</para>
4799           <para>Specifies the DLL to use for the network provider</para>
4800         </section>
4801       </section>
4802       <section id="Domain_Specific_Configuration">
4803         <title>A.2.1 Domain specific configuration keys for the Network Provider</title>
4804         <indexterm significance="normal">
4805           <primary>domain logon configuration</primary>
4806         </indexterm>
4807         <para>The network provider can be configured to have different behavior depending on the
4808           domain that the user logs into. These settings are only relevant when using integrated
4809           login. A domain refers to an Active Directory (AD) domain, a trusted Kerberos (non-AD)
4810           realm or the local machine (i.e. local account logins). The domain name that is used for
4811           selecting the domain would be the domain that is passed into the NPLogonNotify function of
4812           the network provider.</para>
4813         <para>Domain specific registry keys are:</para>
4814         <section>
4815           <title id="Domain_Regkey_TransarcAFSDaemon_NetworkProvider">Regkey:
4816             [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider]</title>
4817           <para> (NP key)</para>
4818         </section>
4819         <section>
4820           <title id="Domain_Regkey_TransarcAFSDaemon_NetworkProvider_Domain">Regkey:
4821             [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain]</title>
4822           <para> (Domains key)</para>
4823         </section>
4824         <section>
4825           <title id="Domain_Regkey_TransarcAFSDaemon_NetworkProvider_Domain_DomainName">Regkey:
4826             [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\&lt;Domain
4827             Name&gt;]</title>
4828           <para> (Specific domain key. One per domain.)</para>
4829         </section>
4830         <section>
4831           <title id="Domain_Regkey_TransarcAFSDaemon_NetworkProvider_Domain_LocalHost">Regkey:
4832             [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST]</title>
4833           <para> (Localhost key)</para>
4834         </section>
4835         <section>
4836           <title id="Domain_Example">Domain Specific Example:</title>
4837           <para>HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider</para>
4838           <para> |</para>
4839           <para> +- Domain</para>
4840           <para>      +-AD1.EXAMPLE.COM</para>
4841           <para>      +-AD1</para>
4842           <para>      +-AD2.EXAMPLE.NET</para>
4843           <para>      +-AD2</para>
4844           <para>      +-LOCALHOST</para>
4845           <para>           +-Administrator</para>
4846           <para>           +-Other User</para>
4847           <para>Each of the domain specific keys can have the set of values described in 2.1.1. The
4848             effective values are chosen as described in 2.1.2.</para>
4849         </section>
4850         <section>
4851           <title id="Domain_Specific_Configuration_Values">A.2.1.1 Domain Specific Configuration
4852             Values</title>
4853           <section id="Domain_Specific_Regkeys">
4854             <title>Regkeys:
4855               [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider]
4856               [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain]
4857               [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\"domain
4858               name"]
4859               [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\"domain
4860               name"]["user name"]
4861               [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST]
4862               [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST\"user name"]
4863             </title>
4864             <section>
4865               <title id="Domain_Specific_Regkeys_LogonOptions">Value: LogonOptions</title>
4866               <indexterm significance="normal">
4867                 <primary>LogonOptions</primary>
4868               </indexterm>
4869               <para id="Value_LogonOptions"
4870                 >[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain]</para>
4871               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\&lt;domain
4872                 name&gt;]</para>
4873               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\&lt;domain
4874                 name&gt;\&lt;user name&gt;]</para>
4875               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST]</para>
4876               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST\&lt;user name&gt;]</para>
4877               <para>Type: DWORD </para>
4878               <para> Default: 0x01</para>
4879               <para>NSIS/WiX: depends on user configuration</para>
4880               <para>
4881                 <simplelist type="vert">
4882                   <member>0x00 - Integrated Logon is not used </member>
4883                   <member> 0x01 - Integrated Logon is used </member>
4884                 </simplelist>
4885               </para>
4886             </section>
4887             <section>
4888               <title id="Domain_Specific_Regkeys_FailLoginsSilently">Value:
4889                 FailLoginsSilently</title>
4890               <indexterm significance="normal">
4891                 <primary>FailLoginsSilently</primary>
4892               </indexterm>
4893               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain]</para>
4894               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\&lt;domain
4895                 name&gt;]</para>
4896               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\&lt;domain
4897                 name&gt;\&lt;user name&gt;]</para>
4898               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST]</para>
4899               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST\&lt;user name&gt;]</para>
4900               <para>Type: DWORD (1|0) </para>
4901               <para> Default: 0 </para>
4902               <para> NSIS/WiX: (not set)</para>
4903               <para>If true, does not display any visible warnings in the event of an error during
4904                 the integrated login process.</para>
4905             </section>
4906             <section>
4907               <title id="Domain_Specific_Regkeys_LogonScript">Value: LogonScript</title>
4908               <indexterm significance="normal">
4909                 <primary>LogonScript</primary>
4910               </indexterm>
4911               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain]</para>
4912               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\&lt;domain
4913                 name&gt;]</para>
4914               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\&lt;domain
4915                 name&gt;\&lt;user name&gt;]</para>
4916               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST]</para>
4917               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST\&lt;user name&gt;]</para>
4918               <para>Type: REG_SZ or REG_EXPAND_SZ </para>
4919               <para> Default: (null) </para>
4920               <para> NSIS/WiX: (only value under NP key) &lt;install path&gt;\afscreds.exe -:%s -x
4921                 -a -m -n -q</para>
4922               <para>A logon script that will be scheduled to be run after the profile load is
4923                 complete. If using the REG_EXPAND_SZ type, you can use any system environment
4924                 variable as "%varname%" which would be expanded at the time the network provider is
4925                 run. Optionally using a "%s" in the value would result in it being expanded into the
4926                 AFS SMB username for the session.</para>
4927             </section>
4928             <section>
4929               <title id="Domain_Specific_Regkeys_LoginRetryInterval">Value:
4930                 LoginRetryInterval</title>
4931               <indexterm significance="normal">
4932                 <primary>LoginRetryInterval</primary>
4933               </indexterm>
4934               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain]</para>
4935               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\&lt;domain
4936                 name&gt;]</para>
4937               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\&lt;domain
4938                 name&gt;\&lt;user name&gt;]</para>
4939               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST]</para>
4940               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST\&lt;user name&gt;]</para>
4941               <para>Type: DWORD </para>
4942               <para> Default: 30 </para>
4943               <para> NSIS/WiX: (not set)</para>
4944               <para>If the OpenAFS client service has not started yet, the network provider will
4945                 wait for a maximum of "LoginRetryInterval" seconds while retrying every
4946                 "LoginSleepInterval" seconds to check if the service is up.</para>
4947             </section>
4948             <section>
4949               <title id="Domain_Specific_Regkeys_LoginSleepInterval">Value:
4950                 LoginSleepInterval</title>
4951               <indexterm significance="normal">
4952                 <primary>LoginSleepInterval</primary>
4953               </indexterm>
4954               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain]</para>
4955               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\&lt;domain
4956                 name&gt;]</para>
4957               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\&lt;domain
4958                 name&gt;\&lt;user name&gt;]</para>
4959               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST]</para>
4960               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST\&lt;user name&gt;]</para>
4961               <para>Type: DWORD </para>
4962               <para> Default: 5 </para>
4963               <para> NSIS/WiX: (not set)</para>
4964               <para>See description of LoginRetryInterval.</para>
4965             </section>
4966             <section>
4967               <title id="Domain_Specific_Regkeys_Realm">Value: Realm</title>
4968               <indexterm significance="normal">
4969                 <primary>Realm</primary>
4970               </indexterm>
4971               <para id="Value_Realm"
4972                 >[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain]</para>
4973               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\&lt;domain
4974                 name&gt;]</para>
4975               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\&lt;domain
4976                 name&gt;\&lt;user name&gt;]</para>
4977               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST]</para>
4978               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST\&lt;user name&gt;]</para>
4979               <para>Type: REG_SZ </para>
4980               <para> NSIS: &lt;not set&gt;</para>
4981               <para>When Kerberos v5 is being used, Realm specifies the Kerberos v5 realm that
4982                 should be appended to the first component of the Domain logon username to construct
4983                 the Kerberos v5 principal for which AFS tokens should be obtained.</para>
4984             </section>
4985             <section>
4986               <title id="Domain_Specific_Regkeys_TheseCells">Value: TheseCells</title>
4987               <indexterm significance="normal">
4988                 <primary>TheseCells</primary>
4989               </indexterm>
4990               <para id="Value_TheseCells"
4991                 >[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain]</para>
4992               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\&lt;domain
4993                 name&gt;]</para>
4994               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\&lt;domain
4995                 name&gt;\&lt;user name&gt;]</para>
4996               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST]</para>
4997               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST\&lt;user name&gt;]</para>
4998               <para>Type: REG_MULTI_SZ </para>
4999               <para> NSIS: &lt;not set&gt;</para>
5000               <para>When Kerberos v5 is being used, TheseCells provides a list of additional cells
5001                 for which tokens should be obtained with the default Kerberos v5 principal.</para>
5002             </section>
5003             <section>
5004               <title id="Domain_User_Specific_Regkeys_Username">Value: Username</title>
5005               <indexterm significance="normal">
5006                 <primary>Username</primary>
5007               </indexterm>
5008               <para id="Value_Username"
5009                 >[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\&lt;domain
5010                 name&gt;\&lt;user name&gt;]</para>
5011               <para>[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider\Domain\LOCALHOST\&lt;user name&gt;]</para>
5012               <para>Type: REG_SZ </para>
5013               <para> NSIS: &lt;not set&gt;</para>
5014               <para>Username specifies an alternate username to be combined with the Realm when constructing
5015                 the Kerberos v5 principal for which AFS tokens should be obtained.</para>
5016             </section>
5017           </section>
5018         </section>
5019         <section>
5020           <title id="Selection_Effective_Values_for_Domain_Specific_Configuration">A.2.1.2 Selection
5021             of effective values for domain specific configuration</title>
5022           <para>During login to domain X, where X is the domain passed into NPLogonNotify as
5023             lpAuthentInfo-&gt;LogonDomainName or the string 'LOCALHOST' if
5024             lpAuthentInfo-&gt;LogonDomainName equals the name of the computer, the following keys
5025             will be looked up.</para>
5026           <para>1. NP key.
5027             ("HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider")</para>
5028           <para>2. Domains key. (NP key\"Domain")</para>
5029           <para>3. Specific domain key. (Domains key\X)</para>
5030           <para>If the specific domain key does not exist, then the domains key will be ignored. All
5031             the configuration information in this case will come from the NP key.</para>
5032           <para>If the specific domain key exists, then for each of the values metioned in (2), they
5033             will be looked up in the specific domain key, domains key and the NP key successively
5034             until the value is found. The first instance of the value found this way will be the
5035             effective for the login session. If no such instance can be found, the default will be
5036             used. To re-iterate, a value in a more specific key supercedes a value in a less
5037             specific key. The exceptions to this rule are stated below.</para>
5038         </section>
5039         <section>
5040           <title id="Domain_Specific_Configuration_Exceptions">A.2.1.3 Exceptions to A.2.1.2</title>
5041           <para>To retain backwards compatibility, the following exceptions are made to
5042             A.2.1.2.</para>
5043           <section>
5044             <title id="Domain_Specific_Configuration_Exception_FailLoginsSilently">2.1.3.1
5045               'FailLoginsSilently'</title>
5046             <indexterm significance="normal">
5047               <primary>FailLoginsSilently</primary>
5048             </indexterm>
5049             <para>Historically, the 'FailLoginsSilently' value was in
5050               HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters key and not in the
5051               NP key. Therefore, for backwards compatibility, the value in the Parameters key will
5052               supercede all instances of this value in other keys. In the absence of this value in
5053               the Parameters key, normal scope rules apply.</para>
5054           </section>
5055           <section>
5056             <title id="Domain_Specific_Configuration_Exception_LogonScript">2.1.3.2
5057               'LogonScript'</title>
5058             <indexterm significance="normal">
5059               <primary>LogonScript</primary>
5060             </indexterm>
5061             <para>If a 'LogonScript' is not specified in the specific domain key nor in the domains
5062               key, the value in the NP key will only be checked if the effective 'LogonOptions'
5063               specify a high security integrated login. If a logon script is specified in the
5064               specific domain key or the domains key, it will be used regardless of the high
5065               security setting. Please be aware of this when setting this value.</para>
5066           </section>
5067         </section>
5068       </section>
5069     </section>
5070     <section>
5071       <title id="AFSCreds_Parameters">A.3. AFS Credentials System Tray Tool parameters</title>
5072       <indexterm significance="normal">
5073         <primary>afscreds.exe</primary>
5074       </indexterm>
5075       <indexterm significance="normal">
5076         <primary>System Tray Tool</primary>
5077       </indexterm>
5078       <para>Affects the behavior of afscreds.exe</para>
5079       <section>
5080         <title id="AFSCreds_Regkey_TransarcAFSDaemon_Parameters">Regkey:
5081 [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</title>
5082         <section>
5083           <title id="AFSCreds_Regkey_TransarcAFSDaemon_Parameters_Gateway">Value: Gateway</title>
5084           <indexterm significance="normal">
5085             <primary>Gateway</primary>
5086           </indexterm>
5087           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
5088           <para>Type: REG_SZ
5089                   </para>
5090           <para>
5091 Default: ""
5092                   </para>
5093           <para>
5094 Function: GetGatewayName()</para>
5095           <para>If the AFS client is utilizing a gateway to obtain AFS access, the name of the gateway is specified by this value.</para>
5096         </section>
5097         <section>
5098           <title id="AFSCreds_Regkey_TransarcAFSDaemon_Parameters_Cell">Value: Cell</title>
5099           <indexterm significance="normal">
5100             <primary>Cell</primary>
5101           </indexterm>
5102           <para>Regkey: [HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters]</para>
5103           <para>Type: REG_SZ
5104                   </para>
5105           <para>
5106 Default: &lt;none&gt;
5107                   </para>
5108           <para>
5109 Variable: IsServiceConfigured()</para>
5110           <para>The value Cell is used to determine if the AFS Client Service has been properly configured or not.</para>
5111         </section>
5112       </section>
5113       <section>
5114         <title id="AFSCreds_Regkey_Software_OpenAFS_Client">Regkey:
5115 [HKLM\SOFTWARE\OpenAFS\Client]
5116 [HKCU\SOFTWARE\OpenAFS\Client]</title>
5117         <section>
5118           <title id="AFSCreds_Regkey_Software_OpenAFS_Client_ShowTrayIcon">Value: ShowTrayIcon</title>
5119           <indexterm significance="normal">
5120             <primary>ShowTrayIcon</primary>
5121           </indexterm>
5122           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client]</para>
5123           <para>Regkey: [HKCU\SOFTWARE\OpenAFS\Client]</para>
5124           <para>Type: DWORD {0, 1}
5125                   </para>
5126           <para>
5127 Default: 1
5128                   </para>
5129           <para>
5130 Function: InitApp(), Main_OnCheckTerminate()</para>
5131           <para>This value is used to determine whether or not a shortcut should be maintained in the user's Start Menu-&gt;Programs-&gt;Startup folder. </para>
5132           <para>This value used to be stored at [HKLM\Software\TransarcCorporation\AFS Client\AfsCreds].</para>
5133           <para>The current user value is checked first; if it does not exist the local machine value is checked.</para>
5134         </section>
5135         <section>
5136           <title id="AFSCreds_Regkey_Software_OpenAFS_Client_EnableKFW">Value: EnableKFW</title>
5137           <indexterm significance="normal">
5138             <primary>EnableKFW</primary>
5139           </indexterm>
5140           <para id="Value_EnableKFW">Regkey: [HKLM\SOFTWARE\OpenAFS\Client]</para>
5141           <para>Regkey: [HKCU\SOFTWARE\OpenAFS\Client]</para>
5142           <para>Type: DWORD {0, 1}
5143                   </para>
5144           <para>
5145 Default: 1
5146                   </para>
5147           <para>
5148 Function: KFW_is_available()</para>
5149           <para>When MIT Kerberos for Windows can be loaded, Kerberos v5 will be used to obtain AFS credentials. By setting this value to 0, the internal Kerberos v4 implementation will be used instead. The current user value is checked first; if it does not exist the local machine value is checked.</para>
5150         </section>
5151         <section>
5152           <title id="AFSCreds_Regkey_Software_OpenAFS_Client_AcceptDottedPrincipalNames">Value: AcceptDottedPrincipalNames</title>
5153           <indexterm significance="normal">
5154             <primary>AcceptDottedPrincipalName</primary>
5155           </indexterm>
5156           <para>Regkey: [HKLM\SOFTWARE\OpenAFS\Client]</para>
5157           <para>Regkey: [HKCU\SOFTWARE\OpenAFS\Client]</para>
5158           <para>Type: DWORD {0, 1}
5159                   </para>
5160           <para>
5161 Default: 1
5162                   </para>
5163           <para>
5164 Function: KFW_accept_dotted_usernames()</para>
5165           <para>Kerberos v5 principal names are traditionally mapped to Kerberos v4 names by the AFS servers before they can be looked up in the Protection database. The mapping algorithm used permits collisions to occur. Both of the Kerberos v5 names, "user.admin@REALM" and "user/admin@REALM" are interpreted as the same user identity within the cell. To enable both names to be sent to the server by AFSCreds or Integrated Logon, set this value to 1.</para>
5166         </section>
5167         <section>
5168           <title id="AFSCreds_Regkey_Software_OpenAFS_Client_Use524">Value: Use524</title>
5169           <indexterm significance="normal">
5170             <primary>Use524</primary>
5171           </indexterm>
5172           <para id="Value_Use524">Regkey: [HKLM\SOFTWARE\OpenAFS\Client]</para>
5173           <para>Regkey: [HKCU\SOFTWARE\OpenAFS\Client]</para>
5174           <para>Type: DWORD {0, 1}
5175                   </para>
5176           <para>
5177 Default: 0
5178                   </para>
5179           <para>
5180 Function: KFW_use_krb524()</para>
5181           <para>When MIT Kerberos for Windows can be loaded, Kerberos v5 will be used to obtain AFS credentials. By setting this value to 1, the Kerberos v5 tickets will be converted to Kerberos v4 tokens via a call to the krb524 daemon. The current user value is checked first; if it does not exist the local machine value is checked.</para>
5182         </section>
5183         <section>
5184           <title id="AFSCreds_Regkey_Software_OpenAFS_Client_AfscredsShortcutParams">Value: AfscredsShortcutParams</title>
5185           <indexterm significance="normal">
5186             <primary>AfscredsShortcutParams</primary>
5187           </indexterm>
5188           <para id="Value_AfscredsShortcutParams">Regkey: [HKLM\SOFTWARE\OpenAFS\Client]</para>
5189           <para>Regkey: [HKCU\SOFTWARE\OpenAFS\Client]</para>
5190           <para>Type: REG_SZ
5191                   </para>
5192           <para>
5193 Default: "-A -M -N -Q"
5194                   </para>
5195           <para>
5196 Function: Shortcut_FixStartup</para>
5197           <para>This value specifies the command line options which should be set as part of the shortcut to afscreds.exe. afscreds.exe rewrites the shortcut each time it exits so as to ensure that the shortcut points to the latest version of the program. This value is used to determine which values should be used for command line parameters. The current user value is checked first; if it does not exist the local machine value is checked.</para>
5198           <para>The following subset of the command line options is appropriate for use in this registry setting:</para>
5199           <para>
5200             <simplelist type="vert">
5201               <member>-A = autoinit
5202 </member>
5203               <member>
5204 -M = renew drive maps
5205 </member>
5206               <member>
5207 -N = ip address change detection
5208 </member>
5209               <member>
5210 -Q = quiet mode. do not display start service dialog if afsd_service is not already running
5211 </member>
5212               <member>
5213 -S = show tokens dialog on startup
5214 </member>
5215               <member>
5216 -Z = unmap drives
5217 </member>
5218             </simplelist>
5219           </para>
5220         </section>
5221       </section>
5222       <section>
5223         <title id="AFSCreds_Regkey_HKCU_Software_OpenAFS_Client">Regkey:
5224 [HKCU\SOFTWARE\OpenAFS\Client]</title>
5225         <section>
5226           <title id="AFSCreds_Regkey_HKCU_Software_OpenAFS_Client_AuthenticationCell">Value: Authentication Cell</title>
5227           <indexterm significance="normal">
5228             <primary>Authentication Cell</primary>
5229           </indexterm>
5230           <para>Regkey: [HKCU\SOFTWARE\OpenAFS\Client]</para>
5231           <para>Type: REG_SZ
5232                   </para>
5233           <para>
5234 Default: &lt;none&gt;
5235                   </para>
5236           <para>
5237 Function: Afscreds.exe GetDefaultCell()</para>
5238           <para>This value allows the user to configure a different cell name to be used as the default cell when acquiring tokens in afscreds.exe.</para>
5239         </section>
5240       </section>
5241       <section>
5242         <title id="AFSCreds_Regkey_HKCU_Software_OpenAFS_Client_Reminders">Regkey:
5243 [HKCU\SOFTWARE\OpenAFS\Client\Reminders]</title>
5244         <indexterm significance="normal">
5245           <primary>Reminders</primary>
5246         </indexterm>
5247         <section>
5248           <title id="AFSCreds_Regkey_HKCU_Software_OpenAFS_Client_Reminders_Cell">Value: &lt;afs cell name&gt;</title>
5249           <para>Regkey: [HKCU\SOFTWARE\OpenAFS\Client\Reminders]</para>
5250           <para>Type: DWORD {0, 1}
5251                   </para>
5252           <para>
5253 Default: &lt;none&gt;
5254                   </para>
5255           <para>
5256 Function: LoadRemind(), SaveRemind()</para>
5257           <para>These values are used to save and restore the state of the reminder flag for each cell for which the user has obtained tokens.</para>
5258           <para>This value used to be stored at [HKLM\Software\TransarcCorporation\AFS Client\AfsCreds].</para>
5259         </section>
5260       </section>
5261       <section>
5262         <title id="AFSCreds_Regkey_HKCU_Software_OpenAFS_Client_ActiveMaps">Regkey:
5263 [HKCU\SOFTWARE\OpenAFS\Client\Active Maps]</title>
5264         <indexterm significance="normal">
5265           <primary>ActiveMaps</primary>
5266         </indexterm>
5267         <section>
5268           <title id="AFSCreds_Regkey_HKCU_Software_OpenAFS_Client_ActiveMaps_DriveLetter">Value: &lt;upper case drive letter&gt;</title>
5269           <para>Regkey: [HKCU\SOFTWARE\OpenAFS\Client\ActiveMaps]</para>
5270           <para>Type: DWORD {0, 1}
5271                   </para>
5272           <para>
5273 Default: &lt;none&gt;</para>
5274           <para>These values are used to store the persistence state of the AFS drive mappings as listed in the [...\Client\Mappings] key.</para>
5275           <para>These values used to be stored in the afsdsbmt.ini file</para>
5276         </section>
5277       </section>
5278       <section>
5279         <title id="AFSCreds_Regkey_HKCU_Software_OpenAFS_Client_Mappings">Regkey:
5280 [HKCU\SOFTWARE\OpenAFS\Client\Mappings]</title>
5281         <section>
5282           <title id="AFSCreds_Regkey_HKCU_Software_OpenAFS_Client_Mappings_DriveLetter">Value: &lt;upper case drive letter&gt;</title>
5283           <para>Regkey: [HKCU\SOFTWARE\OpenAFS\Client\Mappings]</para>
5284           <para>Type: REG_SZ
5285                   </para>
5286           <para>Default: &lt;none&gt;</para>
5287           <para>These values are used to store the AFS path in UNIX notation to which the drive letter is to be mapped.</para>
5288           <para>These values used to be stored in the afsdsbmt.ini file.</para>
5289         </section>
5290       </section>
5291     </section>
5292     <section>
5293       <title id="OpenAFS_Service_Environment_Variables">A.4 OpenAFS Client Service Environment Variables</title>
5294       <section>
5295         <title id="OpenAFS_Service_Environment_Variables_AFS_RPC_ENCRYPT">Value: AFS_RPC_ENCRYPT</title>
5296         <indexterm significance="normal">
5297           <primary>AFS_RPC_ENCRYPT</primary>
5298         </indexterm>
5299         <para>Values:
5300                   <simplelist type="vert"><member> "OFF" disables the use of RPC encryption </member><member>any other value allows RPC encryption to be used</member></simplelist></para>
5301         <para>
5302 Default: RPC encryption is on
5303                 </para>
5304       </section>
5305       <section>
5306         <title id="OpenAFS_Service_Environment_Variables_AFS_RPC_PROTSEQ">Value: AFS_RPC_PROTSEQ</title>
5307         <indexterm significance="normal">
5308           <primary>AFS_RPC_PROTSEQ</primary>
5309         </indexterm>
5310         <para>Values:
5311                   <simplelist type="vert"><member>
5312 "ncalrpc" - local RPC
5313 </member><member>
5314 "ncacn_np" - named pipes
5315 </member><member>
5316 "ncacn_ip_tcp" - tcp/ip
5317 </member></simplelist></para>
5318         <para>
5319 Default: local RPC
5320                 </para>
5321       </section>
5322     </section>
5323     <section>
5324       <title>A.5 AFS Redirector Parameters</title>
5325       <indexterm>
5326         <primary>afsredir.sys</primary>
5327       </indexterm>
5328       <indexterm>
5329         <primary>afsredirlib.sys</primary>
5330       </indexterm>
5331       <para>The AFS Redirector is implemented with three components:
5332         %windir%\system32\drivers\AFSRedir.sys, %windir%\system32\drivers\AFSRedirLib.sys and
5333         %windir%\system32\AFSRDFSProvider.dll.  These components provide the interface between the
5334         Windows Installable File System interface and the WNet application interface and the AFS
5335         file system.  The </para>
5336       <section>
5337         <title>[HKLM\SYSTEM\CurrentControlSet\Services\AFSRedirector\Parameters]</title>
5338         <para/>
5339         <section>
5340           <title>Value: DebugFlags</title>
5341           <para>RegKey: [HKLM\SYSTEM\CurrentControlSet\Services\AFSRedirector\Parameters]</para>
5342           <para>Type: REG_DWORD</para>
5343           <para>Default: 0</para>
5344           <para>Bit 0 (0x1): Trigger Debug Break on AFSRedir.sys start.  Used for kernel
5345             debugging.</para>
5346           <para>Bit 1 (0x2): Output trace logging to Kernel Debugger.  Used for kernel
5347             debugging.</para>
5348           <para>Bit 2 (0x4): Enable Force Crash Ioctl.  Checked builds only.  Used for force a
5349             BSOD.</para>
5350           <para>Bit 3 (0x8): Enable Bug Check on all exceptions.  Normally exceptions are caught by
5351             handlers.  Used during testing.</para>
5352           <para>Bit 4 (0x10): Reserved.</para>
5353           <para>Bit 5 (0x20): Do not start the AFS Redirector if Windows did not perform a clean
5354             shutdown.</para>
5355         </section>
5356         <section>
5357           <title>Value: TraceBufferSize</title>
5358           <para>RegKey: [HKLM\SYSTEM\CurrentControlSet\Services\AFSRedirector\Parameters]</para>
5359           <para>Type: REG_DWORD</para>
5360           <para>Default: 0 {0 .. 10000} (KBs)</para>
5361           <para>Specifies the size of the circular trace log buffer allocated within kernel memory.
5362             0 disables trace logging.</para>
5363         </section>
5364         <section>
5365           <title>Value: TraceLevel</title>
5366           <para>RegKey: [HKLM\SYSTEM\CurrentControlSet\Services\AFSRedirector\Parameters]</para>
5367           <para>Type: REG_DWORD</para>
5368           <para>Default: 0 {0..4}</para>
5369           <para>0: No logging; 1: Error; 2: Warning; 3: Verbose; 4: Maximum Verbosity</para>
5370         </section>
5371         <section>
5372           <title>Value: TraceSubsystem</title>
5373           <para>RegKey: [HKLM\SYSTEM\CurrentControlSet\Services\AFSRedirector\Parameters]</para>
5374           <para>Type: REG_DWORD</para>
5375           <para>Default: 0</para>
5376           <para>Bit 0 (0x1): I/O Subsystem</para>
5377           <para>Bit 1 (0x2): File Control Blocks and Name Processing</para>
5378           <para>Bit 2 (0x4): Lock Processing (requires Verbose or higher level)</para>
5379           <para>Bit 3 (0x8): Extent Processing</para>
5380           <para>Bit 4 (0x10): Worker Thread Processing</para>
5381           <para>Bit 5 (0x20): Reference counting of directory entries</para>
5382           <para>Bit 6 (0x40): Reference counting of objects</para>
5383           <para>Bit 7 (0x80): Reference counting of volumes</para>
5384           <para>Bit 8 (0x100): Reference counting of file control blocks</para>
5385           <para>Bit 9 (0x200): Garbage Collection</para>
5386           <para>Bit 10 (0x400): Pipe and share processing</para>
5387           <para>Bit 11 (0x800): Directory notification interface</para>
5388           <para>Bit 12 (0x1000): Network Provider support processing</para>
5389           <para>Bit 13 (0x2000): Directory node count processing</para>
5390           <para>Bit 14 (0x4000): PIOCTL processing</para>
5391           <para>Bit 15 (0x8000): Authentication Group creation and assignment</para>
5392           <para>Bit 16 (0x10000): Library load and unload, task queuing</para>
5393           <para>Bit 17 (0x20000): Process creation and destruction</para>
5394           <para>Bit 18 (0x40000): Extent Active counting</para>
5395           <para>Bit 19 (0x80000): Redirector initialization</para>
5396         </section>
5397       </section>
5398       <section>
5399         <title>[HKLM\SYSTEM\CurrentControlSet\Services\AFSRedirector\NetworkProvider]</title>
5400         <para/>
5401         <section>
5402           <title>Value: Debug</title>
5403           <para>RegKey:
5404             [HKLM\SYSTEM\CurrentControlSet\Services\AFSRedirector\NetworkProvider]</para>
5405           <para>Type: REG_DWORD</para>
5406           <para>Default: 0</para>
5407           <para>Set to 1 to log all AFSRDFSProvider Network Provider requests to
5408             C:\TEMP\AFSRDFSProvider.log.  The C:\TEMP directory cannot be changed and must
5409             exist.</para>
5410         </section>
5411         <section>
5412           <title>Value: Name</title>
5413           <para>RegKey:
5414             [HKLM\SYSTEM\CurrentControlSet\Services\AFSRedirector\NetworkProvider]</para>
5415           <para>Type: REG_SZ</para>
5416           <para>Default: "OpenAFS Network"</para>
5417           <para>This value defines the name displayed in the Explorer Shell and to which network
5418             drive mappings are made.</para>
5419         </section>
5420       </section>
5421     </section>
5422   </chapter>
5423   <index>
5424     <para>
5425     </para>
5426   </index>
5427 </book>
5428 <!-- Keep this comment at the end of the file
5429 Local variables:
5430 mode: xml
5431 sgml-omittag:nil
5432 sgml-shorttag:nil
5433 sgml-namecase-general:nil
5434 sgml-general-insert-case:lower
5435 sgml-minimize-attributes:nil
5436 sgml-always-quote-attributes:t
5437 sgml-indent-step:2
5438 sgml-indent-data:nil
5439 sgml-parent-document:nil
5440 sgml-exposed-tags:nil
5441 sgml-local-catalogs:nil
5442 sgml-local-ecat-files:nil
5443 End:
5444   -->