Commit Graph

68 Commits

Author SHA1 Message Date
Jeffrey Altman
e8e9a297bc wix-update-20041208
Add new Property for StoreAnsiFilenames

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

Add property for StoreAnsiFilenames
2004-12-08 10:19:57 +00:00
Jeffrey Altman
882a979857 winnotes-20041207
update text files for StoreAnsiFilenames.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

Allow users to choose to store file names in AFS using ANSI code pages
instead of OEM code pages.
2004-12-07 12:41:15 +00:00
Jeffrey Altman
86420864cd winnotes-20041204
make note that the contents of this file are no longer up to date
2004-12-04 21:28:21 +00:00
Jeffrey Altman
53f0da3fb0 windows-notes-upd-20041130
update docs
2004-11-30 07:40:11 +00:00
Dave Tanner
081993a627 windows-ini-file-mapping-20041124
Install registry values to force a mapping from afsdsbmt.ini file updates
via the old profile API to the new HKLM\Software\OpenAFS\Client\Submounts
key.
2004-11-25 01:25:30 +00:00
Jeffrey Altman
487bf88c40 windows-updates-20041124
update docs

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

conditionalize the cleanup of language files on their existence

====================

reformat parts of afsd_init.c

add support for version number checking to afsd_service.exe

====================

Fix the afs_config.exe submount dialog operations:  Edit Submount name and
Remove submount entry.

====================

Fix the version info data stored in the resource block to
use the same language identifier as is advertised.
2004-11-24 18:42:31 +00:00
Jeffrey Altman
06edeed70c windows-misc-20041122
the VC++ 2003 Toolkit is missing some important libraries.
remove it from the README-NT file

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

update docs

====================

simplify the freelance import from afs_freelance.ini code.  don't generate
an new file if the old one does not exist.

begin conversion from old string functions to new strsafe functions.
this will need to be done for all of the afsd_service.exe source
modules before we can regularly use VS .NET 2005

Add support for VL_GetEntryByNameN.  Still need to figure out what needs
to be done for VL_GetEntryByNameU.  (multi-homed support)

====================

fix a deadlock situation if an Obtain Tokens dialog is produced
by an expiration event and the user chooses to cancel instead of
obtain new credentials.
2004-11-23 03:49:05 +00:00
Jeffrey Altman
8e3f7c5cb0 winnotes-upd-20041109
windows note updates for 1.3.74
2004-11-09 12:47:36 +00:00
Jeffrey Altman
c7f18e4946 windows-docs-20041027
Documentation updates
2004-10-28 02:22:25 +00:00
Jeffrey Altman
1fd9a66fc6 winnotes-updates-20041017
Updates for 1.3.72

New FlushOnHibernate registry option
2004-10-17 22:00:24 +00:00
Jeffrey Altman
4050980d3c winnotes-20041012
Update documentation files with latest changes
2004-10-13 03:48:24 +00:00
Jeffrey Altman
d69e6641e5 kfw-hklm-registry-fix-20040922
Fix the registry query in afskfw.lib to read the HKLM machine value
even if the HKCU key is present.

Update text in the install notes to better describe the krb524
issues
2004-09-22 16:04:59 +00:00
Jeffrey Altman
b400902339 windows-force-krb524-20030921
Provide mechanisms to force the use of krb524 via afscreds, afslogon,
and aklog.  afslogon and afscreds rely on a new "Use524" registry value
(see registry.txt) and aklog has a new "-m" command line option.
2004-09-22 07:00:56 +00:00
Jeffrey Altman
a135e0d30c cifs-pattern-match-20040921
The pattern matching algorithm was failing to match strings when the
pattern terminated in a '*'.  The logic was also too complex because
it failed to simply the patterns prior to processing.  Any combination
of '*' and '?' == '*' according to the Windows file name pattern
matching rules.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
FIXES 15365

The pattern matching algorithm was failing to match strings when the
pattern terminated in a '*'.  The logic was also too complex because
it failed to simply the patterns prior to processing.  Any combination
of '*' and '?' == '*' according to the Windows file name pattern
matching rules.
2004-09-21 21:05:14 +00:00
Jeffrey Altman
e07406e551 windows-links-20040921
FIXES 915
FIXES 15250

  * smb_ReceiveCoreRename() was factored to produce smb_Rename()
    which is used by both the original function and the new
    smb_ReceiveNTRename().  smb_ReceiveNTRename() supports the
    creation of HardLinks in addition to Renaming.  smb_Link()
    is a new function which creates HardLinks via cm_Link().
    cm_Link() is a new vnodeops function which creates links
    using RXAFS_Link().

    smb_ReceiveNTRename() does not support the File Copy and
    Move Cluster Information operations described in its interface.
    ReceiveNTRename is under documented in CIFS-TR-1p00_FINAL.pdf.

  * When opening files via symlinks, we should follow the symlinks
    until we reach the actual file stat cache entry.  The stat cache
    entry of the file should then be stored in the FID instead of
    stat scache entry of the symlink.

  * return bad operation errors for all unimplemented functions
    even if we do not know the functions exist.

  * Log bad packets and unknown operation packets to the trace log

  * Map CM_ERROR_BADOP to STATUS_NOT_SUPPORTED instead of
    0xC09820FF

  * Update list of known CIFS operations to include all those listed
    in CIFS-TR-1p00_FINAL.pdf.
2004-09-21 15:00:08 +00:00
Jeffrey Altman
f31658317a windows-misc-20040907
* modify registry.txt to replace QWORD with DWORD

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

* add expanded registry support to "submounts"
2004-09-08 06:52:20 +00:00
Jeffrey Altman
40d2f5f7c0 windows-admin-group-20040823
Update text files for 1.3.71 and describe the new Windows Authorization
Group "AFS Client Admins"

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

Add support for "AFS Client Admins" windows authortization group

====================

NTMakefile changes for Admin Group
2004-08-23 16:49:45 +00:00
Jeffrey Altman
3dce18d248 post-1-3-70-windows-changes-20040816
* Fix aklog.exe to not add the AFS ID to the username

  * PTS registration of new users to foreign cells has been added to
     afscreds.exe

  * The cm_Daemon thread is used to perform checks for
    down servers, up servers, volumes, callback expirations,
    lock maintenance and token expiration.  Due to a gaff in
    larger integer division the thread never performed any
    work.  Instead the current time computation would always
    be less then the trigger times.  This had an adverse affect
    on the client's ability to maintain communication with servers,
    keep volumes up to date, and flush user tokens and acls
    when they have expired. This was broken when the 1.3 branch
    was modified to support VC7 which no longer included
    largeint.lib

  * An initialization problem with the Freelance code was
    detected while fixing the callbackRequest.  The cm_rootSCachep
    object is obtained during afsd_InitDaemons() but the callback
    information is incomplete.  The callback information will not
    be obtained until cm_MergeStatus is called from within
    cm_GetCallback.  Unfortunately, cm_SyncOp did not properly
    test for the conditions under which the callback information
    must be obtained.

  * Reports have been filed indicating that callbacks were
    being lost.  An examination of the code indicated that the
    cm_server_t objects were not being properly reference
    counted by the cm_scache_t and cm_callbackRequest_t objects.
    In particular, the cm_server_t objects may have been freed
    from beneath the cm_conn_t objects.

    All of the reference counting is now done via the functions:
        cm_GetServer
        cm_GetServerNoLock
        cm_PutServer
        cm_PutServerNoLock
    this improves the ability to track the referrals.

    Each cm_BeginCallbackGranting Call now allocates a reference
    to the cm_server_t.  The cm_EndCallbackGrantingCall either
    frees the reference or transfers it to the cm_scache_t
    cbServerp field.  These are then appropriately tracked
    through the cm_Analyze call.

  * Ensure that the dnlc hash table is the same size as the
    dir name hash table (as per original author's note).
    Increase the dnlc CM_AFSNCNAMESIZE to a multiple of 8
    for compatibility with 64-bit systems.

  * fix smb_ApplyV3DirListPatches to properly apply the hidden
     attribute to dotfiles when the infoLevel < 0x101 and
     cm_SyncOp has failed.

  * Fix the Freelance registry initialization code.  There
    was a possibility that some systems could end up with
    garbage in the registry during a clean install.
2004-08-17 05:21:17 +00:00
Jeffrey Altman
2e8a3050d3 1-3-70-release-really-20040809
Restore the installation of afslogon.dll as a winlogon event handler.
Microsoft identified the problem as being a newly added restriction
on the behavior of DllMain entry points.  Network operations such
as bind() may no longer be called.  The ICF blocks them but does not
cause an error to be returned.
2004-08-10 05:07:58 +00:00
Jeffrey Altman
544afa6bcc release-1370-20040810
Disable the installation of the WinLogon Event Handlers to avoid
problems with XP SP2 Final Release booting and profiles being released
on logoff.

Update version to 1.3.7000

Add VS8 entries to the build system
2004-08-09 05:20:07 +00:00
Jeffrey Altman
3d790dd232 winnotes-20040807
document new freelance functionality and update install notes

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

more updates
2004-08-07 22:32:46 +00:00
Jeffrey Altman
4c20d3d1fc winnotes-20040805
Updates winnotes with current info

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

summary of changes performed this week for 1.3.70
2004-08-05 17:47:28 +00:00
Asanka Herath
993051678f misc-post-1366-20040804
Update documentation on cache control and credential manager options
in MSI deployment guide.

'CachePath' setting in registry allows REG_EXPAND_SZ type.

Update registry documentation for 'CachePath' setting.

Both installers save the credential manager command line options in
registry.

Fix handling of existing 'afsdcell.ini' file in WiX installer.

WiX 2.0.1927 changed the XML schema.  The WiX installer has beed
updated accordingly.
2004-08-04 17:36:10 +00:00
Jeffrey Altman
20cfcb0aea nonpersistentcaching-20040729
document new value
2004-07-29 15:38:57 +00:00
Derrick Brashear
2395eb6075 afsmonitor-update-stat-descriptions-20040729
FIXES 5952

correct list of available stats
2004-07-29 05:29:33 +00:00
Alf Wachsmann
276d735112 afsmonitor-document-usage-20040729
FIXES 5931

update the docs to reflect the usage correctly
2004-07-29 05:17:02 +00:00
Alf Wachsmann
5ece0001b8 afsmonitor-document-stat-entries-correctly-20040729
FIXES 5934

NUM_CM_STAT_ENTRIES should match the docs
2004-07-29 05:03:31 +00:00
Asanka Herath
22fbf94fcd msi-deployment-guide-20040727
a guide to making organization specific modifications to the msi
installer
2004-07-27 14:32:38 +00:00
Tommie Gannert
71530bc5c0 registry-txt-20040727
Remove duplicate entries
2004-07-27 14:23:11 +00:00
Jeffrey Altman
b02dabd24e winnotes-20040726
Updates for 1.3.66
2004-07-27 00:24:09 +00:00
Jeffrey Altman
3a89df255c small-tweaks-20040725
* update winnotes

* add osi trace log entries to help diagnose issues with overlapped writes
  from CIFS client

* fix osi trace log entries for freelance add mount to use osi_SaveLogString

* fix afscreds "Start Service" to automatically obtain tokens if kerberos
  tickets are available

* update afscreds systray menu to use "..." after Remove Icon

* remove extra "." in wix installer resource
2004-07-25 21:53:09 +00:00
Jeffrey Altman
74197f04f3 install-notes-20040723
Update the install notes to describe conflicts between SMB Authentication
and Windows machines configured with non-Windows Kerberos authentication
used to map to local accounts.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

More updates to smb auth vs external kerberos login
2004-07-23 23:25:23 +00:00
Jeffrey Altman
1a5fbdb943 afslogon-20040722
the procedure used to obtain the profile directory failed in Domains
which were not Forests.  If ADS_NAME_INITTYPE_GC fails, we must try
ADS_NAME_INITTYPE_DOMAIN which requires the Domain.  Added a Domain
parameter to QueryAdHomePathFromSid.  This was easy to obtain in
the NPLogonNotify since the logon domain is provided as a parameter.
Unfortunately, the domain provided to the winlogon event notification
routine is the user authentication domain, not the logon domain for
the local machine.  Needed to create a  GetLocalShortDomain function
which uses the IADsADSystemInfo COM interface to obtain the local
short domain.  With this in place, we can now properly detect the
profile directory in all cases.

Document MaxLogSize in registry.txt
2004-07-22 23:15:37 +00:00
Jeffrey Altman
9bc1b6a7b9 trace-logging-20040721
TraceLogging is supposed to be activated for different purposes
with bit flags.  The osi log and afslogon both used the same bit
flag.  Bit 0 is now for afslogon; and Bit 1 is for osi log.
2004-07-21 22:41:33 +00:00
Jeffrey Altman
b0920fe9c2 registry-docs-logoff-20040721
* Update Windows Notes files

* Modify logoff procedure to use a pioctl to check if an arbitrary path
  exists within AFS

* Add a new registry value HKLM\Software\OpenAFS\Client  CellServDBDir
  which can be used to locate the CellServDB file in an arbitrary directory
2004-07-21 15:05:59 +00:00
Asanka Herath
60446a8ffe registry-20040715
Description of new afslogon functionality
2004-07-16 05:49:26 +00:00
Jeffrey Altman
fe991aa74f afslogon-wix-cleanup-20040715
- Fix NTMakefiles in many directories to define WIN32_LEAN_AND_MEAN NOGDI
  to avoid macro redefinitions

- update text files

- add "authentication cell" registry value for afscreds.exe

From asanka@mit.edu:

Network provider :

  -  If the user is logging into an AD domain, then look up the user's
     profile path, find out which cell it's in and then authenticate to
     that cell instead of the default cell.

  -  Domain specific registry keys

  -  A few fixes for handling UNICODE_STRINGs

smb3.c :

  -  Delete partial security context during negotiation

client_cpa :

  -  As per the SDK which says we must handle CPL_INQUIRE message, we do.
     Also fixes a small bug where the icon isn't properly set when viewing
     the Control Panel folder.

loopbackutils.cpp

  -  Don't bother setting the app data template, because we are setting
     it in the MSI anyway.

install/wix/NTMakefile

  -  Add a configurable symbol AFSDEV_AUXWIXDEFINES which can be used to
     customize a build of the msi.

install/wix

  -  Move afslogon.dll to SYSTEM32 directory

  -  Add registry keys to support WinLogon notifications.

  -  Rename afsdcell.ini to CellServDB and move it to the client directory.

  -  If there's already an afsdcell.ini in the Windows directory, copy
     that over to the client directory instead.

  -  Add descriptions to AFS client and server services
2004-07-16 04:38:25 +00:00
Jeffrey Altman
8063c68dc8 winnotes-20040715
Update Windows note files with the latest changes.
2004-07-15 17:26:35 +00:00
Derrick Brashear
229051032d admin-doc-sysname-20040713
FIXES 4054

update docs to reflect sys being static.
2004-07-13 07:08:32 +00:00
Jeffrey Altman
d03840f85c smb-auth-20040711
Over last several years significant efforts have been made to work around
the inability to protect user tokens from use by inappropriate entities.
The tokens are associated with a given userid and session by a combination
of an SMB based ioctl and an authenticated/encrypted RPC.  This has opened
the door for tokens to be borrowed by other users if they could connect
to the same SMB server with the identical userid.  This was trivially
possible because the SMB connections were unauthenticated.

This patch adds two forms of authenticated SMB connections: NTLM and
Extended Security (aka GSS SPNEGO).  By default Extended Security mode
is used.  This patch has been tested on 2000 workstation, 2000 server,
XP SP1, and 2003 Server, and XP SP2 RC2.  The Extended Security works on
all platforms except for XP SP2 RC2 regards of whether or not the machine
is part of a domain or not; and whether or not a local or domain account
is used.

On XP SP2 RC2, attempts to use negotiate Extended Security result in a
Logon Denied error from AcceptSecurityContext() and a substatus code of
0x7C90486A is logged to the Security Event log via the NTLM SSP.
The SMB AUTH NTLM mode succeeds on XP SP2 RC2.

Disabling SMB Authentication or specifying the use of NTLM mode may be done
via the registry.

Value   : smbAuthType
Type    : DWORD {0..2}
Default : 2

  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:
    0 = No authentication required
    1 = NTLM authentication required
    2 = Extended (GSS SPNEGO) authentication required
  The default is Extended authentication
2004-07-11 22:22:57 +00:00
Jeffrey Altman
ec5b34b8fc winnotes-registry-20040708
Add descriptions of Global Drive Mappings; MaxCPUs, and Environment
Variables
2004-07-08 15:45:58 +00:00
Jeffrey Altman
e2149ea3f2 maxcpus-20040625
Add documentation on MaxCPUs entry.
2004-06-25 22:18:44 +00:00
Jeffrey Altman
4586c298ae windows-install-notes-20040624
A first cut at installation notes for windows.
2004-06-24 19:24:14 +00:00
Jeffrey Altman
c7d8ba8371 winnotes-20040623
Updated change list and issues list to reflect the state of the world
as of 1.3.65
2004-06-23 21:22:42 +00:00
Jeffrey Altman
6d4bdfc2f7 winnotes-20040605
Document changes up to this date since 1.3.64 and new registry values
2004-06-05 19:59:41 +00:00
Jeffrey Altman
a2c0be0661 update-winnotes-20040511
Update the changes and issues files for the 1.3.64 release
2004-05-11 21:08:57 +00:00
Jeffrey Altman
b624c2bc73 afs-release-notes-20040405
release notes as of 1.3.63
2004-04-05 07:32:57 +00:00
Jeffrey Altman
4e5c8d47a2 registry-20040320
Document "NoFindLanaByName"
2004-03-21 04:27:10 +00:00
Jeffrey Altman
ec0ba71b30 reg-expand-str-20040316
Change the NetbiosName registry value from REG_SZ to REG_EXPAND_SZ
and add the necessary code to expand the strings.   This will allow
the use of %COMPUTERNAME%-AFS in case people want to explicitly use
a non-portable name.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

Update text for NetbiosName value.
2004-03-16 22:03:00 +00:00
Jeffrey Altman
6580ab0680 registry-notes-20040316
Update the registry usage for 1.3.60

Add information for the Network Provider values and the AFSCreds.exe values.
2004-03-16 16:15:36 +00:00