694 Commits

Author SHA1 Message Date
Jeffrey Altman
1167dafbd3 STABLE14-windows-shell-ext-server-status-20051002
Fix the server status dialog to properly call CheckServers and
fix CheckServers to properly construct the data structure for the
pioctl call.


(cherry picked from commit c0013b2513b206edded080f0a4cea6e7e96ab281)
2005-10-02 10:08:18 +00:00
Jeffrey Altman
df35acd30e STABLE14-windows-rxstats-20051001
Add interface to rxstats api


(cherry picked from commit f3e2cdb5260e49d5335d37fdab909d360bbe7102)
2005-10-02 07:08:55 +00:00
Jeffrey Altman
daa25fe43d STABLE14-windows-afs-shl-ext-rc-20051002
The DownServers dialog had the wrong resource id associated with the
listbox.


(cherry picked from commit e06475ff424f416086a1b859eb658e0f2ac9ed13)
2005-10-02 05:47:40 +00:00
Jeffrey Altman
ed405f1b72 STABLE14-windows-fs-exa-20051001
Add reporting of the FID, cell, owner and group to the output of "fs exa"
(on Windows only).   There is no other means to obtain this data from a
Windows client.


(cherry picked from commit 2b1604240e664da572df922aa84b15b717fcd8ec)
2005-10-01 13:11:57 +00:00
Matthew Loar
b36656c672 STABLE14-windows-afscreds-20050930
FIXES 21958

For the afscreds program on Windows, if you right click the system tray icon
to display the menu and then click on the taskbar, the menu is not hidden,
but instead is covered by the taskbar.

This is a common issue documented at
http://support.microsoft.com/default.aspx?scid=kb;en-us;135788.


(cherry picked from commit 46e260b9e72925f9f5b2e5cee3159d4c6b02fc05)
2005-10-01 05:52:04 +00:00
Jeffrey Altman
290c648391 STABLE14-windows-nsis-20050926
Install a Documentation Shortcut as part of the client install.
It is independent of the Supplemental Documentation which is not
required for the release notes.


(cherry picked from commit 69a5db9fda91d5fc7becb85980f2f0595ebe7ed5)
2005-09-27 05:38:38 +00:00
Asanka Herath
b716454865 STABLE14-windows-wix-docs-20050926
Match the documentation location of the NSIS installer.


(cherry picked from commit a1e9273ded1993c528576102fca290663854e0c8)
2005-09-27 03:42:26 +00:00
Jeffrey Altman
06fe869a7c STABLE14-windows-release-notes-20050926
Document MSI Product Codes


(cherry picked from commit 1512b602134bf46d78671628e438a5b7f9155524)
2005-09-27 01:44:35 +00:00
Jeffrey Altman
e267127c15 STABLE14-windows-index-title-fix-20050925
Fix the title to read OpenAFS instead of IBM AFS


(cherry picked from commit a5ec94485bf57826c09be0a3fa44ae610e1cc7e8)
2005-09-26 03:53:07 +00:00
Jeffrey Altman
cc6efce3af STABLE14-windows-nsis-install-c-20050925
remove the new docs from non-en_US installs.
We need to find someone to perform language conversion.


(cherry picked from commit 7a3dd6f807beb3f516bcbcbe5cb2523fcd464c62)
2005-09-26 03:33:51 +00:00
Jeffrey Altman
e780fa0f3b STABLE14-windows-nsis-install-b-20050925
oops, missing '\\'


(cherry picked from commit cd8126f56c27848add91bb1e323ab40457472748)
2005-09-26 03:15:57 +00:00
Jeffrey Altman
178608a372 STABLE14-windows-release-notes-20050925
Add new OAFW Release Notes developed in WinWord 2003.  Replaces the
afs-install-notes.txt, msi-deployment.txt and registry.txt files.

====================
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 new release notes to stable tree


(cherry picked from commit 2c599161dbb255edee27c4fc176a8011408f2b47)
2005-09-26 03:01:23 +00:00
Asanka Herath
c11c5a5516 STABLE14-windows-wix-install-20050925
Add new HTML release notes to MSI


(cherry picked from commit 93b2789e897c707e37dfaac3a039773e681cdf7f)
2005-09-26 02:20:21 +00:00
Jeffrey Altman
548176864a STABLE14-windows-nsis-install-20050925
Add new release notes to installation


(cherry picked from commit a2e39eb0f239da83dc438806bcb0b4a5ee5e88d8)
2005-09-26 01:57:08 +00:00
Jeffrey Altman
778c0a2cdf STABLE14-windows-icons-20050919
Associate the OpenAFS icon with the Control Panel and Service and
the installers

====================
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 icon to OpenAFS logo


(cherry picked from commit cc8cfd47bc506396501c9bd2225dd907567e36b7)
2005-09-20 05:38:33 +00:00
Jeffrey Altman
11e659300d STABLE14-windows-servers-all-down-do-not-retry-20050915
remove the logic in cm_Analyze that performs a flush of the server
data and retries when all of the servers are marked down (aka ALLOFFLINE).
Instead return an immediate error to the caller.  The servers will be
checked by the background daemon thread and made available when they are.


(cherry picked from commit 18bb5faec22ac8c000b7964eef635a1213500654)
2005-09-16 04:25:19 +00:00
Jeffrey Altman
1d736215c2 STABLE14-windows-detect-uuid-cloning-20050909
Begin to store the Disk Volume Serial Number and Machine SID in the
AFSCache file for use in detecting system clones.   Clones must get
a new UUID for the AFS Client.


(cherry picked from commit 870d414e6c3765ff52a65d1c06fbc5ddfb254f17)
2005-09-09 20:49:30 +00:00
Jeffrey Altman
1e0cd8aec9 STABLE14-windows-fs-cleanup-20050909
remove unused variables


(cherry picked from commit 604435daaf23c9883c6ac52c1c3b656ebacbaae7)
2005-09-09 20:44:57 +00:00
Jeffrey Altman
64382cd63a STABLE14-windows-pioctl-debug-20050909
log the pioctl path provided by the caller


(cherry picked from commit 1d83f0e3b725643c32ec211694f554acd9d6777a)
2005-09-09 13:53:17 +00:00
Jeffrey Altman
c0bb6ce3f2 STABLE14-windows-fs-flushall-20050907
"fs flushall" is like "fs flushvolume" but flushes all data in the cache

====================
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.
====================

typo

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

remove extra patch from duplicate pullup

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

ugh, one more time


(cherry picked from commit 9e348b344dfe9f3940f099beb2acc208fa90a61c)
2005-09-07 20:31:26 +00:00
Asanka Herath
6012547dd1 STABLE14-windows-loopback-20050831
As stated in the afs-install-notes, the MS Client for Networks should
be enabled on the loopback adapter, so enable it.

Prevent an install failure by not calling CoInitialize twice in the same
thread.


(cherry picked from commit 001f9b9732a3a30ea0c51c12a0f69c400102d7a7)
2005-09-01 02:56:07 +00:00
Jeffrey Altman
8e16ff6c68 STABLE14-windows-gui2fs-20050831
Apply AFS Client Admins group protect to AFS Shell Extension

Add support for \\afs\<name> to most commands except the symlink methods.


(cherry picked from commit 69a98684f0a85db5618a472835a0e588b01b5d6e)
2005-09-01 01:08:43 +00:00
Jeffrey Altman
4310d6e4d3 STABLE14-windows-cell-expiration-20050831
When updating cell information from DNS, be sure to set a new timeout.
When obtaining cell information from a file, check every two hours to
see if it changed.


(cherry picked from commit 27b81213dfffc5c4d8979f1cc381084d924ea8e1)
2005-09-01 01:07:41 +00:00
Jeffrey Altman
8f617747bd STABLE14-windows-freelance-fs-symlink-20050831
Add support to allow use of \\AFS\<foo> where <foo> is either a mount
point or symlink.   As <foo> is normally treated as a share name, we
transform it into \\AFS\all\<foo> for processing.


(cherry picked from commit 682f5ffb21575587123ecbb7a5867d1c5495dd4e)
2005-08-31 12:00:31 +00:00
Eric Williams
a31993c2aa STABLE14-windows-afslogon-code-init-20050829
Init 'code' to prevent false errors when integrated logon is disabled
and the service is not running


(cherry picked from commit 0b74a7d25c7f164702843b545615f906a6bdebbd)
2005-08-29 20:40:59 +00:00
Jeffrey Altman
cd8e3c2264 STABLE14-windows-default-trace-log-off-20050827
Now that OAFW is ready for a stable series, we will default "fs trace"
to off on non-Debug builds.   It can be set to on via the TraceOption
registry value.  (see registry.txt)


(cherry picked from commit b9fc404bdf16fc3a61f13bffcaadc5d598d02cbd)
2005-08-28 04:45:14 +00:00
Jeffrey Altman
7c469ff6aa STABLE14-windows-add-tid-to-mutex-20050827
Add to mutex objects the ID of the thread that holds the lock.  This
will make future debugging much easier.


(cherry picked from commit c0fea634084ee1c223c611c3ab3955a13d1ba884)
2005-08-28 04:33:24 +00:00
Jeffrey Altman
80b9f5f2de STABLE14-windows-scache-deadlock-fix-20050827
It was reported that Microsoft Word when editing files stored in AFS
would cause OAFW to fail to respond.  It was determined that a scp->mx
lock was not being released in buf_WaitIO if the no one was waiting
on the scp.

This patch corrects the deadlock and fixes some debugging messages.


(cherry picked from commit 6620b9452bb3f270ebabc29a910918b1f17225f4)
2005-08-28 04:30:57 +00:00
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
4324a08807 STABLE14-windows-remove-log-messages-20050826
The log message added to buf_LockedCleanAsync() during the debugging
post 1.3.8201 is output for 1/10th of all buffers once every 5 seconds.
This is a huge performance hit.  Move the message so that it is only
output for buffers that are actually dirty.

Also, change the algorithm so that the sqrt() of the number of buffers
are checked every 5 seconds instead of 1/10th.   This will do a better
job with very large cache sizes.


(cherry picked from commit ee937439adc8d8ea214c9d53aee0ee5329697c80)
2005-08-26 14:48:07 +00:00
Jeffrey Altman
872a7930d3 STABLE14-windows-better-vol-missing-messages-20050819
Use a different message for each vol error code instead of one for all


(cherry picked from commit 1a2172275920d959bab3f21aacf0689814c83c87)
2005-08-21 01:51:45 +00:00
Jeffrey Altman
382ff1dffd STABLE14-windows-afscreds-deadlock-20050820
found a deadlock in the expiration check if a MessageBox dialog is
being displayed


(cherry picked from commit 84e761d850c4cf5f76dd844e6e6f738a35f88102)
2005-08-21 01:51:35 +00:00
Asanka Herath
c57a00bf88 STABLE14-windows-dfs-support-disable-20050820
remove the trailing 1


(cherry picked from commit df72c49fbadfa6e30538f136aa2dd0a54e58c20d)
2005-08-21 01:51:01 +00:00
Jeffrey Altman
1982814f36 STABLE14-windows-dfs-support-disable-20050817
disable dfs processing until we get the Unicode CIFS support


(cherry picked from commit e465ee95b095d1bea7e37e0aeec0f4a781cf8231)
2005-08-17 19:50:59 +00:00
Jeffrey Altman
a06ede63ca STABLE14-windows-freelance-admin-20050817
When testing for IsFreelance() use the right path for symlink rm and
fs rmmount.


(cherry picked from commit c9bba4c460b54c48fe8ecb1b35fbe2a4efd4ac19)
2005-08-17 17:07:24 +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
3baa6bfe36 STABLE14-windows-afscache-validate-20050806
Ensure that queues that have forward and reverse pointers are
consistent that either both are NULL or neither are.


(cherry picked from commit 4d0a6e73bf46847766512c15d2466627237409e5)
2005-08-06 01:36:11 +00:00
Jeffrey Altman
daccffc7f2 STABLE14-windows-pioctl-update-20050804
change "fs wscell" to report the registry configured cell name when
using freelance mode.

change "fs mkmount|rmmount" to require membership in AFS Client Admins
group when freelance mode is being used

change "symlink make|remove" to require membership in AFS Client Admins
group when freelance mode is being used

Move some smb init debug messages to afsd_init.log


(cherry picked from commit 81b0f9cf1d0335a1e2f8ae897ba9566c1e4962e3)
2005-08-04 17:06:37 +00:00
Jeffrey Altman
7f9c18c0c2 STABLE14-windows-misc-20050722
Add debug logging to SMB and CM Locking code

Optimize cm_Analyze by only performing a cm_CheckServers on the current
cell instead of all cells

Add code to detect loops to the cm_scache_t validation routines.


(cherry picked from commit ab22c7a587126c100d3c4fe40465f5ba3ebc25f4)
2005-07-23 02:17:42 +00:00
Jeffrey Altman
20307db49d STABLE14-windows-explorer-remove-mountpt-fix-20050719
FIXES 20137

the gui version of fs rmmount was reading random memory.


(cherry picked from commit fb1b339a017936da78e13d4afbeaebcfaa29ef00)
2005-07-19 06:06:59 +00:00
Jeffrey Altman
ecb4be6662 STABLE14-windows-cmdebug-20050715
add TellMeAboutYourself functionality and report on capabilities if they
are known.  Used instead of WhoAreYou when supported by the cache manager.


(cherry picked from commit 3f3fdba33058521bc3f68edf56ef56910d32f0c8)
2005-07-15 13:18:30 +00:00
Jeffrey Altman
2f2ff08767 STABLE14-windows-aklog-tweaks-20050715
* type correction

* formatting

* other cleanup


(cherry picked from commit 1acd90549f183f185ac119096ba8c3fa1dcb3596)
2005-07-15 13:11:02 +00:00
Jeffrey Altman
f6f390e722 STABLE14-windows-config-cache-path-20050715
FIXES 20007

Update AFS Control Panel to display the default cache location based upon
the SYSTEM %TEMP% environment variable.


(cherry picked from commit 1c3d89463e55844de7b22ca80f72ed7fabda66e7)
2005-07-15 12:58:52 +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
86f3df47e9 STABLE14-pr_init-fix-20050623
remove the pr_Initialize force cell change hack from afskfw lib

====================
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.
====================

for the longest time aklog implementations with automatic pts registration
have included a work around for a bug in pr_Initialize.  The bug fails to
reset the connection when the cell changes.  pr_Initialize has been fixed
so we can remove the hack.


(cherry picked from commit c4b1decf6caacb13db666f516ceaf9b65e4371ab)
2005-07-11 20:03:09 +00:00
Jeffrey Altman
e467598d55 STABLE14-windows-vs2005b2-20050706
Visual Studio 2005 Beta 2 has been released.   As part of this
release Microsoft has tightened the rules for their C++ compliance.

* no longer can a variable declared in a for() statement be used
  outside of the associated command block

* no longer can a function or variable be declared implicitly as
  'int'

* several types such as size_t have become 64-bit values on all platforms

* due to type changes the C++ function names in libraries have changed.
  This requires the use of different .DEF file export lists


(cherry picked from commit c6a736486eb2704efd03082ff067858a198ae6d0)
2005-07-07 01:28:59 +00:00
Jeffrey Altman
8b6b9ef33b STABLE14-windows-afsdb-fix-20050701
Fix AFSDB queries using DNSAPI to always terminate the query string with
a period.


(cherry picked from commit f6d99fbba133ba996610d0c00457408fede942dc)
2005-07-02 03:46:28 +00:00
Jeffrey Altman
1e2c37e070 STABLE14-windows-aklog-naming-20050624
Correct for the behavior of pr_SNameToId() lowercasing the username


(cherry picked from commit a61ff319b7a9cec29b02579c20a338c46a8d2c55)
2005-07-01 20:34:14 +00:00
Jeffrey Altman
1137590d15 STABLE14-windows-logon-20050630
add a registry entry to prevent token destruction at logoff


(cherry picked from commit ed54c889202b51361f3f01df80930e9577baa914)
2005-07-01 19:40:50 +00:00