124 Commits

Author SHA1 Message Date
Jeffrey Altman
e51c51eac4 STABLE14-windows-trace-log-to-dbgview-20050820
alter the afsd_init.log tag for the TraceOption to not be
Windows Event Log specific.


(cherry picked from commit 48b0320b201c2efe153098e8a5a5e4e6470a41c5)
2005-08-26 14:48:47 +00:00
Jeffrey Altman
0d90a079a2 STABLE14-windows-version-1-4-20050817
Update version to 1.4.0000   Yay!!!!!


(cherry picked from commit adbded121354fe6727edcad303e25d4d42b17bcb)
2005-08-17 11:24:33 +00:00
Jeffrey Altman
805ef3699f STABLE14-windows-smb-error-codes-20050815
Do not return error codes from the SMB/CIFS server that can be interpretted
by the SMB/CIFS client as meaning that the AFS Client Service is not
available.


(cherry picked from commit eb00f913748ba8651755451120a1f0d06b1e9cd2)
2005-08-15 18:29:49 +00:00
Jeffrey Altman
372cd0a653 STABLE14-windows-afscreds-20050814
When tokens expire, do not display an obtain tokens dialog if there
is no network connectivity to the kdc for the realm associated with
the cell.

In the en_US build, stop displaying the expiration time of tokens
after the tokens expire.


(cherry picked from commit 7c34c9b5c0fbdf0b9b9429c2e763c635857974ab)
2005-08-14 12:27:40 +00:00
Jeffrey Altman
af466c80e1 STABLE14-windows-notes-20050806
updates for 1.3.8700


(cherry picked from commit 7e95d1bc89ebc6b1418ca1d69970efe00d30390e)
2005-08-06 01:39:11 +00:00
Jeffrey Altman
b191cd6372 STABLE14-windows-doc-updates-20050728
updates for 1.3.8600


(cherry picked from commit 2da4a84732acc3b049aab59ade3edf01cecb7669)
2005-07-28 23:17:07 +00:00
Jeffrey Altman
407dcfef15 STABLE14-windows-aclent-deadlock-20050713
Discovered a deadlock due to a violation of lock order.  We may not
attempt to obtain a lock on a cm_scache_t mutex while holding the
cm_aclLock.


(cherry picked from commit f21fa57453f4c94690c56cf4933b4eed82d99edc)
2005-07-13 15:29:15 +00:00
Jeffrey Altman
1ad9ca2a5b STABLE14-windows-notes-20050630
Updates for 1.3.85


(cherry picked from commit 25ecdbd2c4f1f02a7d449278c4b01f3938aba86d)
2005-07-01 20:09:43 +00:00
Robert S Murawski IV
39e5b142b6 STABLE14-windows-nsis-20050628
Support for NSIS 2.07 including named installation configurations
and an Icon for the uninstall entry listed in the Add/Remove Programs
control panel.


(cherry picked from commit 4464c62f92541c8b1f46260d6c4cbdd1ba4cf85f)
2005-07-01 19:40:31 +00:00
Jeffrey Altman
3982d6b43f STABLE14-windows-notes-20050605
updates for 1.3.84


(cherry picked from commit 01845badd5da293cb360fb54fc25d25558a150d4)
2005-06-05 15:47:08 +00:00
Jeffrey Altman
e188ff4d99 STABLE14-windows-notes-20050529
Update notes for 1.3.8300


(cherry picked from commit c915a6bce730fca994aef77b8a3224a3f126bae7)
2005-05-30 05:13:42 +00:00
Jeffrey Altman
1275f6fcfd STABLE14-windows-notes-20050523
more fixes


(cherry picked from commit 2d130131201d78a47d097412d64c98268d481579)
2005-05-23 14:58:26 +00:00
Jeffrey Altman
809edfad29 STABLE14-windows-sync-20050518
synchronize with the 1.3 tree for the 1.3.8300 release
2005-05-18 23:57:01 +00:00
Jeffrey Altman
f7fbc16ecf STABLE14-windows-notes-20050429
1.3.8201


(cherry picked from commit e89913282cfe3a9cc029911e0d6bb24bad90892a)
2005-04-29 20:55:42 +00:00
Jeffrey Altman
c81ad62799 STABLE14-winnotes-20050427
more updates


(cherry picked from commit bd6345779e38b4de1d7b83269cace93ccc8bfb8a)
2005-04-27 16:28:49 +00:00
Jeffrey Altman
2a360c185f STABLE14-windows-docs-20050418
updates
2005-04-19 06:12:19 +00:00
Jeffrey Altman
5870535124 STABLE14-windows-notes-20050404
final updates before 1.3.81


(cherry picked from commit 54d6578ae68f8a093661a69fa763499f10457623)
2005-04-04 12:51:53 +00:00
Jeffrey Altman
f86ffcef2d STABLE14-windows-notes-20050402
updates for version 1.3.81


(cherry picked from commit 6beff57613f56870218af992b1ae394aecb9fe09)
2005-04-02 10:07:17 +00:00
Jeffrey Altman
86b49fadf2 STABLE14-windows-notes-20050317
final notes for 1.3.80


(cherry picked from commit ab67e8970f8342d4814737b6c27204dc3f6a1d6b)
2005-03-17 17:51:16 +00:00
Jeffrey Altman
93a09e4182 STABLE14-windows-notes-20050314
Update notes to describe fix for cross realm trusts to Windows
multi-domain forests


(cherry picked from commit 0949ca36faf493b235a4fde03b3b9a3eb3745d9c)
2005-03-15 00:55:23 +00:00
Jeffrey Altman
9e1412c2e0 STABLE14-windows-1380-20050310
update issues list

update install notes for 1.3.80


(cherry picked from commit 01a4455f37921829896f47fa26465a587fd394f9)
2005-03-11 07:31:24 +00:00
Jeffrey Altman
04d86d2038 STABLE14-windows-pcache-20050310
This patch applies all of the work done to add persistent cache support,
cache manager debugging, and a variety of bug fixes.  A full description
will be committed within doc/txt/winnotes as part of a later commit.


(cherry picked from commit 0b90d69f8a44e6c7ba20553cfb7d5cf7072bab57)
2005-03-11 07:22:30 +00:00
Jeffrey Altman
27cdf06c28 STABLE14-winnotes-update-20050126
add dr watson info to install notes.

update changes list


(cherry picked from commit e41837e876f7dc947e8718b6dc972b803023eae5)
2005-01-31 04:24:05 +00:00
Jeffrey Altman
ad66aaf7fd STABLE14-windows-notes-20050104
updates


(cherry picked from commit d3fc023d07f923eb53c28d2bc480745ae9227593)
2005-01-31 04:09:17 +00:00
Jeffrey Altman
5e90243279 STABLE14-windows-virtual-memory-20041224
* The variable used to determine whether a file or virtual memory
    mapped cache is used was not properly initialized to a default
    value. If the registry setting "NonPersistentCaching" was not
    set, the choice would be random.   Properly initialized to be
    "file".

 * The memory mapped view was never unmapped before closing the file
   at service shutdown.  This is now properly cleaned up.

 * Default location of Cache file is now %TEMP%\AFSCache


(cherry picked from commit d3d4af7795dd7371750bfdb9612b6419561cf32b)
2005-01-31 03:53:21 +00:00
Jeffrey Altman
f41ab81ac4 STABLE14-windows-notes-20041216
document bug found in 1.3.75/76 release


(cherry picked from commit a69e758875b420de6d5ae8ac9c303da5b708d63b)
2004-12-16 20:11:40 +00:00
Jeffrey Altman
09175a6871 STABLE14-windows-notes-20041213
1.3.7600 changes since 1.3.7500


(cherry picked from commit 3400f8d4da4c0f08bc226730f4d00b252fbad52e)
2004-12-13 14:15:16 +00:00
Jeffrey Altman
6e4b4696e5 STABLE14-wix-updates-20041208
Add new property for StoreAnsiFilenames
2004-12-08 09:58:49 +00:00
Jeffrey Altman
0811b1eeae STABLE14-store-ansi-filenames-20041207
Provide option to users to allow file names to be stored using Windows
ANSI code pages (similar to ISO Latin character sets) instead of the
traditional OEM code pages
2004-12-07 12:48:57 +00:00
Jeffrey Altman
06a8fa4a7d STABLE14-winnotes-20041204
make note that the contents of this file are no longer up to date


(cherry picked from commit 86420864cddb9148b89eafc9926b92910e576697)
2004-12-07 06:14:18 +00:00
Jeffrey Altman
b5777c2707 STABLE14-windows-notes-upd-20041130
update docs


(cherry picked from commit 53f0da3fb019cbc44bc012fbf0af0c85e7341381)
2004-12-07 06:03:14 +00:00
Dave Tanner
a99dbf645c STABLE14-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.


(cherry picked from commit 081993a6274866507bfa3969a7b692a24e6491e1)
2004-12-07 05:57:46 +00:00
Jeffrey Altman
dcbbf7ad9b STABLE14-windows-updates-20041124
Fix the version info data stored in the resource block to
use the same language identifier as is advertised.


(cherry picked from commit 487bf88c403cbe0ae93b92556623913962b4b871)
2004-12-07 05:55:40 +00:00
Jeffrey Altman
461579482e STABLE14-windows-misc-20041122
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.


(cherry picked from commit 06edeed70c9b3c7a2b8909c2069e720c97478799)
2004-12-07 05:53:09 +00:00
Jeffrey Altman
8fdcc9408c STABLE14-windows-pullup-20041105
Pullup of all changes since the 1.3.72/73 release
2004-11-05 19:21:32 +00:00
Jeffrey Altman
9999c1faeb STABLE14-winnotes-cummulative-20041017
Changes for 1.3.72
2004-10-18 05:11:49 +00:00
Jeffrey Altman
4dcdbec005 STABLE14-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


(cherry picked from commit d69e6641e5fc423b41fcfc9345a6f917ec958f37)
2004-09-22 16:07:40 +00:00
Jeffrey Altman
4044366199 STABLE14-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.


(cherry picked from commit b40090233989aad1b96fdd9fd9d8d0478c2abd6e)
2004-09-22 07:03:19 +00:00
Jeffrey Altman
8996b91f97 STABLE14-cifs-pattern-match-20040921
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.


(cherry picked from commit a135e0d30c077e19c3f10f7a6ccc46fa3fb6c234)
2004-09-21 21:07:58 +00:00
Jeffrey Altman
02368492c4 STABLE14-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.


(cherry picked from commit e07406e551cc5c67e83c9985dbbfe5952ada6518)
2004-09-21 15:07:12 +00:00
Jeffrey Altman
e0e9832c9b STABLE14-windows-misc-20040907
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 string support to Submounts

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

Correct a 64-bit time_t error


(cherry picked from commit f31658317a77346759f165ff13b5dcf77a8b3683)
2004-09-08 06:59:01 +00:00
Jeffrey Altman
48fba74eb7 STABLE14-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


(cherry picked from commit 40d2f5f7c02e28cf471d284e5be9fb97c91d145a)
2004-08-23 16:55:02 +00:00
Jeffrey Altman
9006fe486d STABLE14-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.


(cherry picked from commit 3dce18d2481ee07ac27af8bd691d640247526a5d)
2004-08-17 05:28:34 +00:00
Jeffrey Altman
9e1bc019b9 STABLE14-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.


(cherry picked from commit 2e8a3050d39ead364cad038647f0049b5c03b119)
2004-08-10 05:10:44 +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
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