From: Jeffrey Altman
The Network Identity Manager replaces the former KFW ticket manager, Leash, and when combined with the OpenAFS plug-in is intended to be @@ -954,9 +956,9 @@ prevent the AFS System Tray Tool from being started by Windows after login. A shortcut to the OpenAFS Control Panel is also provided.
-HKLM\SOFTWARE\OpenAFS\Client\Freelance\Symlinks
-JPSoftware's web site is http://www.jpsoft.com.
--m = use krb524d to convert Kerberos V tickets to Kerberos IV
-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. As a result, the installation +process will fail. 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. kaserver is deprecated and its +use is strongly discouraged. +Instead, Active Directory or some other Kerberos 5 KDC should be used in +its place.
+ +A few notes on the usage of the AFS Client Service if it is going to be used with the OpenAFS AFS Server:
· When -installed on the same machine as the AFS Server, Freelance mode must be turned -off. Otherwise, you will be unable to manipulate the contents of the -root.afs volume for the hosted cell.
+font-family:"Times New Roman"'> Freelance +mode should be disabled when the AFS Client Service is installed on the same +machine as the AFS Server,. Otherwise, you will be unable 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.· The AFS Server and related tools only support the built in kaserver (Kerberos -IV). If the AFS Server is being used, MIT Kerberos for Windows should not be -installed or must be disabled via the EnableKFW -registry value.
+IV). If kaserver is being used, MIT +Kerberos for Windows should not be installed or must be disabled via the EnableKFW registry value. -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.
+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. +When GSS SPNEGO attempts a Kerberos 5 authentication, the Windows SMB client will attempt to retrieve service tickets for @@ -1449,9 +1474,9 @@ 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.
-The OpenAFS Client is compatible with the Internet Connection Firewall that debuted with Windows XP SP2 and Windows 2003 -SP1. The Internet Connection Firewall will be automatically adjusted to -allow the receipt of incoming callback messages from the AFS file server. -In addition, the appropriate Back Connection registry entries are added -to allow SMB authentication to be performed across the Microsoft Loopback -Adapter.
+SP1. The Internet Connection Firewall will be automatically adjusted to allow +the receipt of incoming callback messages from the AFS file server. In +addition, the appropriate Back Connection registry entries are added to +allow SMB authentication to be performed across the Microsoft Loopback Adapter. -Since Microsoft Windows applications almost always attempt to obtain a temporary read lock when accessing files the OpenAFS Clients @@ -1547,8 +1570,8 @@ inconvenience on end users.
the file is located on a read-only volume and the application requests a read lock, the CIFS-AFS server will grant the lock request without asking the AFS file server. -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.
+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.If there is a need to disable this functionality, the LogoffPreserveTokens registry value can be used. (see Appendix A.)
-OpenAFS for Windows implements an SMB server which is used
-as a gateway to the AFS filesystem. Because of limitations of the SMB
-implementation, Windows stores 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 character set typically used as the default
-on UNIX systems in both the
- AFSCACHEPATH
|
- AFSCACHESIZE
|
- AFSCELLNAME
|
- FREELANCEMODE
|
- HIDEDOTFILES
|
- LOGONOPTIONS
|
- MOUNTROOT
|
- NETBIOSNAME
|
- NOFINDLANABYNAME
|
- RXMAXMTU
|
- SECURITYLEVEL
|
- SMBAUTHTYPE
|
- STOREANSIFILENAMES
|
- USEDNS
|
These properties are combined to add a command line option to -the shortcut that will be created in the Start:Programs:OpenAFS and +
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 @@ -3032,23 +3055,23 @@ including such options may not apply to future releases of OpenAFS.
style='mso-cellspacing:2.2pt;mso-padding-alt:0pt 0pt 0pt 0pt'>Valid values : '1' or '0'
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.
+ 'Startup' folder in the 'Program menu' which starts AFSCREDS.EXE with the options + that are determined by the other CREDS* properties.Valid values : '-a' or ''
@@ -3057,9 +3080,9 @@ including such options may not apply to future releases of OpenAFS.Valid values : '-n' or ''
@@ -3068,9 +3091,9 @@ including such options may not apply to future releases of OpenAFS.Valid values : '-q' or ''
@@ -3079,9 +3102,9 @@ including such options may not apply to future releases of OpenAFS.Valid values : '-m' or '
@@ -3090,9 +3113,9 @@ including such options may not apply to future releases of OpenAFS.Valid values : '-s' or ''
@@ -3102,9 +3125,9 @@ including such options may not apply to future releases of OpenAFS.You can change existing registry values subject to the @@ -3113,9 +3136,9 @@ 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).
-The OpenAFS configuration files (CellServDB) can be replaced @@ -3162,8 +3185,8 @@ font-family:"Times New Roman"'> Enter a condition that evaluates to false. I.e. 'DONOTINSTALL'. (Note that an undefined property always evaluates to false).
-Note that you can also use this step to disable other configuration -files without providing replacements.
+Note that you can also use this step to disable other +configuration files without providing replacements.
2. @@ -3255,11 +3278,10 @@ uppercase GUID. You can generate one using GUIDGEN.EXE or UUIDGEN.EXE, both of which are included in the Platform SDK.
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.
+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.'fil_my_CellServDB' is a key into the 'File' table which we will fill later.
@@ -3505,8 +3527,8 @@ new row with the following values: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.
+file in it. Transforms do not support updating compressed sources or adding +new cabinet streams.Finally, the 'Sequence' value of 1000 will be used later to distinguish the file as being in a separate source @@ -3555,17 +3577,17 @@ row with the following values :
The sequence number of 1000 designates this as the media source for the newly added file.
-CellServDB: 'cpf_CellServDB' (ID {D5BA4C15-DBEC-4292-91FC-B54C30F24F2A})
-Following is an example for adding domain specific registry @@ -3575,8 +3597,8 @@ keys.
href="#_Appendix_A:_Registry_Values">Appendix A section 2.1 for more information. -Columns that are unspecified should be left -empty.
+Columns that are unspecified should be +left empty.
We create a new feature and component to hold the new registry keys.
@@ -3593,8 +3615,7 @@ hold the new registry keys.
(new row)
- Feature :
- 'feaDomainKeys'
+ Feature : 'feaDomainKeys'
Feature
Parent : 'feaClient'
@@ -3619,8 +3640,8 @@ hold the new registry keys.
(new row)
-
- Registry : 'reg_freekey5'
+ Registry
+ : 'reg_freekey5'
Root
: 2
@@ -4009,8 +4034,8 @@ hold the new registry keys.
If you want to add registry keys or files you need to create @@ -4065,9 +4090,9 @@ openafs-en_US_new.msi openafs-transform.mst
See the Platform SDK documentation for information on command line options for MSITRAN.EXE.
-When performing an upgrade with msiexec.exe execute the MSI with the repair options "vomus".
-The service parameters primarily affect the behavior of the AFS client service (afsd_service.exe).
-Type: DWORD
@@ -4172,9 +4197,9 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD
@@ -4203,9 +4228,9 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD {1,0}
@@ -4250,9 +4275,9 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: REG_SZ
@@ -4287,10 +4312,10 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: REG_SZ or REG_EXPAND_SZ
@@ -4304,9 +4329,9 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: REG_EXPAND_SZ
@@ -4375,9 +4400,9 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD
@@ -4429,10 +4454,10 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: REG_SZ
@@ -4447,10 +4472,10 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD {1,0}
@@ -4462,9 +4487,9 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD {1,0}
@@ -4479,10 +4504,10 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD {1,0}
@@ -4494,10 +4519,10 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD {1,0}
@@ -4511,9 +4536,9 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: REG_SZ
@@ -4557,26 +4582,26 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD {0,1}
Default: 0
Variable: rx_nojumbo
If enabled, does not send or indicate that we are able to - send or receive RX jumbograms.
+If enabled, does not send or indicate that we are able + to send or receive RX jumbograms.
Type: DWORD
@@ -4591,10 +4616,10 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD
@@ -4612,9 +4637,9 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD {0-15}
@@ -4651,9 +4676,9 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD {0, 1}
Default: 0
Disables the attempt to identity the network adapter to - use by looking for an adapter with a display name of "AFS".
+Disables the attempt to identity the network adapter to use + by looking for an adapter with a display name of "AFS".
Type: DWORD {1..32} or {1..64} depending on the
@@ -4699,10 +4724,10 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD {0..2}
@@ -4719,10 +4744,10 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD {0 .. MAXDWORD}
@@ -4736,9 +4761,9 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD (seconds)
@@ -4765,8 +4790,8 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD (seconds)
@@ -4778,8 +4803,8 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD (seconds)
@@ -4792,8 +4817,8 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD (seconds)
@@ -4806,8 +4831,8 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD (seconds)
@@ -4820,8 +4845,8 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD (seconds)
@@ -4834,23 +4859,24 @@ style='mso-bookmark:_Toc115416200'>Regkey:
Type: DWORD
Default: 7001
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.
+ style='mso-spacerun:yes'> Alternative values can be useful if the + client is behind a NAT and a permanent port mapping for the client is being + configured.Type: REG_SZ
-Specifies the submount name to be mapped by afsd_service.exe - at startup to the provided drive letter.
+Specifies the submount name to be mapped by + afsd_service.exe at startup to the provided drive letter.
This option is deprecated.
Type: REG_SZ
@@ -4922,32 +4948,33 @@ style='mso-bookmark:_Toc115416239'>Regkey:
Type: REG_DWORD
Default: 0x1
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.
+ 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.Type: REG_DWORD
@@ -4962,9 +4989,9 @@ style='mso-bookmark:_Toc115416239'>Regkey:
Type: REG_DWORD
@@ -5017,9 +5044,9 @@ style='mso-bookmark:_Toc115416239'>Regkey:
Type: REG_SZ
Default: <none>
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".
+ Caching (off-line access) policies. For each share one of the following + policies may be used: "manual", "programs", + "documents", "disable".These values used to be stored in afsdsbmt.ini
- Value:
"hostname or ip address"
@@ -5169,9 +5196,9 @@ _Toc152606374'>Regkey: |
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 - 256 prior to the preference being set.
+ 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 256 prior to the + preference being set.Affects the network provider (afslogon.dll).
-Type: DWORD
@@ -5284,9 +5311,9 @@ style='mso-bookmark:_Toc115416260'>Regkey:
Type: REG_SZ
@@ -5330,9 +5357,9 @@ style='mso-bookmark:_Toc115416260'>Regkey:
The network provider can be configured to have different @@ -5359,38 +5386,38 @@ function of the network provider.
Domain specific registry keys are:
-(NP key)
-(Domains key)
-(Specific domain key. One per domain.)
-(Localhost key)
-HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider
@@ -5409,14 +5436,14 @@ style='mso-bookmark:_Toc115416273'>Example: values described in 2.1.1. The effective values are chosen as described in 2.1.2. -Type: DWORD
@@ -5444,17 +5471,17 @@ name"]
High Security Mode generates random SMB names for the creation of Drive Mappings. This mode should not be used without Integrated Logon.
-As of 1.3.65 the SMB server supports SMB - authentication. The High Security Mode should not be used when using - SMB authentication (SMBAuthType setting is non zero).
+As of 1.3.65 the SMB server supports SMB authentication. + The High Security Mode should not be used when using SMB authentication + (SMBAuthType setting is non zero).
Type: REG_MULTI_SZ
@@ -5537,9 +5564,9 @@ name"]
1. -NP key. -("HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider")
+NP key. ("HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider")2. @@ -5573,17 +5599,17 @@ session. If no such instance can be found, the default will be used. To re-iterate, a value in a more specific key supercedes a value in a less specific key. The exceptions to this rule are stated below.
-To retain backwards compatibility, the following exceptions are made to 2.1.2.
-Historically, the 'FailLoginsSilently' value was in @@ -5592,9 +5618,9 @@ in the NP key. Therefore, for backwards compatibility, the value in the Parameters key will supercede all instances of this value in other keys. In the absence of this value in the Parameters key, normal scope rules apply.
-If a 'LogonScript' is not specified in the specific domain @@ -5604,17 +5630,17 @@ logon script is specified in the specific domain key or the domains key, it will be used regardless of the high security setting. Please be aware of this when setting this value.
-Affects the behavior of afscreds.exe
-Type: REG_SZ
@@ -5638,9 +5664,9 @@ style='mso-bookmark:_Toc115416287'>Regkey:
Type: REG_SZ
@@ -5652,9 +5678,9 @@ style='mso-bookmark:_Toc115416287'>Regkey:
Type: DWORD {0, 1}
@@ -5724,10 +5750,10 @@ style='mso-bookmark:_Toc115416290'>Regkey:
Type: REG_SZ
Default: <none>
These values are used to store the AFS path in UNIX notation - to which the drive letter is to be mapped.
+These values are used to store the AFS path in UNIX + notation to which the drive letter is to be mapped.
These values used to be stored in the afsdsbmt.ini file.
Values: "OFF" disables the use of RPC
- encryption any other value allows RPC encryption to be used
+
Values: "OFF" disables the use of
+ RPC encryption any other value allows RPC encryption to be used
Default: RPC encryption is on