579 Commits

Author SHA1 Message Date
Jeffrey Altman
9dbe65fcc6 STABLE14-windows-release-locks-at-shutdown-20051108
remember to release all of the locks we obtained from the file server
at shutdown.


(cherry picked from commit 685ba16a0b9db8cf5df2e875ff9a6e5b72d6539c)
2005-11-09 03:05:33 +00:00
Asanka Herath
08eb81822d STABLE14-windows-tests-winflock-20051031
A windows specific file locking test app for exercising the byte range
locking code.


(cherry picked from commit 8cf272e5f16abfe6b90b01bc613bf7f47bc4336c)
2005-10-31 22:17:02 +00:00
Jeffrey Altman
c0312289b7 STABLE14-windows-checkserver-fix-20051029
the windows client was not treating Verror responses from the server
as indicating the server as up if they were positive


(cherry picked from commit eaa142645227b1af8a7d41f8b9c376ddf789c532)
2005-10-30 01:01:10 +00:00
Jeffrey Altman
17e271787c STABLE14-windows-daemon-timers-20051028
the daemon up server check was set for 1 hour and not ten minutes.

turned all interval constants into variables so that they can be
set via registry entries at a future time.


(cherry picked from commit 288886618b347cdd2d4bfaa06a2df18b1a24229e)
2005-10-29 21:15:07 +00:00
Jeffrey Altman
2a22b19a8b STABLE14-windows-rap-debug-20051024
some more debugging messages


(cherry picked from commit 2bcece3cfad14f22759b1ec546646be900c3c504)
2005-10-25 03:09:05 +00:00
Jeffrey Altman
53861a346f STABLE14-cmdebug-merge-20051024
Merge src/WINNT/cmdebug.c into src/venus/cmdebug.c


(cherry picked from commit 765e8606b9cda1f70f3117b4e1c7397d1ae42690)
2005-10-25 02:57:59 +00:00
Jeffrey Altman
5dbd32c49a STABLE14-windows-mkdir-root-exists-20051021
If a request is received to create the root directory of a device,
return CM_ERROR_EXISTS instead of CM_ERROR_NOTFOUND for the nul-string
file name.


(cherry picked from commit 47cc7643e1b04bacd858a3893accab8c377b34ac)
2005-10-23 01:32:52 +00:00
Jeffrey Altman
a44e078d7e STABLE14-window-largeint-20051019
The large integer support was applying a <<32 to a 32-bit value.
This is an undefined operation.


(cherry picked from commit 8b0b064f7ec60d8b5913248c97553ce3b7fdb775)
2005-10-19 21:12:05 +00:00
Jeffrey Altman
09ad86b21e STABLE14-windows-rxkadunknownkey-20051019
report RXKADUNKNOWNKEY as SEC_E_NO_KERB_KEY


(cherry picked from commit a92aa204855b6459ac483f0dd5b704b4a52edec8)
2005-10-19 07:58:46 +00:00
Jeffrey Altman
01c6a4154c STABLE14-windows-locking-error-codes-20051018
cm_Lock(), cm_RetryLock() should not interpret servers be unreachable as
a sharing violation.


(cherry picked from commit 9f0f50a2b165392fc0a62f82d8c54e35108ab429)
2005-10-18 21:53:50 +00:00
Jeffrey Altman
8b2b6569d6 STABLE14-windows-ip-change-20051018
add a monitor to watch for IP Address changes.  When a change is detected,
wait 2.5 seconds for things to settle down and then check to see if down
servers are reachable.


(cherry picked from commit a923af27265c8d0aa359d57c8c47b50eb0dbeee3)
2005-10-18 21:51:01 +00:00
Jeffrey Altman
d2b95196a4 STABLE14-windows-error-codes-20051018
handle the CM_ERROR_ALLDOWN case when translating cm errors to nt status


(cherry picked from commit 5cd3d016fdbc6d14c6ac942b0b4e3e92a09755c5)
2005-10-18 16:31:33 +00:00
Jeffrey Altman
17d2bff03c STABLE14-windows-fw-service-test-20051017
Do not perform Firewall Configuration if the firewall service is not installed


(cherry picked from commit d16fb72074a3e81ad5ce295fbc49fa8707852545)
2005-10-17 22:30:00 +00:00
Jeffrey Altman
0251a2e4d3 STABLE14-windows-firewall-configuration-20051016
Windows Firewall Policy cannot be accessed by a service unless from the
Service Manager thread nor until the service is in a RUNNING state.
Firewall configuration moved to cm_Daemon() thread.


(cherry picked from commit cd98a20f1c9e89eb44ef5c5349337292bd3ba243)
2005-10-17 20:33:04 +00:00
Jeffrey Hutzelman
24e12618d9 STABLE14-cellservdb-update-20051015
15 Oct 2005


(cherry picked from commit 3437c1ad7b15eef9c1e33f936ac500b360e1ff9c)
2005-10-16 01:56:46 +00:00
Jeffrey Altman
62213fcf80 STABLE14-windows-universal-error-handling-20051015
properly interpret the universal error codes


(cherry picked from commit 51fa307a0011d3ca27e6199631e1b2bdc75a9f50)
2005-10-15 22:48:22 +00:00
Jeffrey Altman
36a342d794 STABLE14-windows-check-locks-logging-20051014
add a log message so we can tell how long it took.


(cherry picked from commit a5f2ec497d2c3452d795aa1d98309414c2d8c0e7)
2005-10-15 04:38:22 +00:00
Jeffrey Altman
86f61a2fb6 STABLE14-windows-pattern-matching-20051014
FIXES 4623

Pattern matching was broken.   '?' should match zero characters if it
appears before a '.' or at the end of the file name.


(cherry picked from commit 41fe908bead6b30e41fd9e4f5084cd5e1dc3ca4a)
2005-10-14 12:19:55 +00:00
Jeffrey Altman
f7d36db11c STABLE14-windows-locking-init-req-20051013
two cm_InitReq() calls were in the wrong place opening the possibility for
stack corruption


(cherry picked from commit ec38f9ed3236005114292f08d1c77891aa3a36d3)
2005-10-14 04:26:24 +00:00
Jeffrey Altman
d421675f18 STABLE14-windows-ticket-lifetime-20051010
The lifetime parameter is in minutes so treat it that way.


(cherry picked from commit 4e763d07cf510c3a12f2c12bf21c3ec25579b021)
2005-10-10 23:22:40 +00:00
Jeffrey Altman
a017a05ed0 STABLE14-windows-release-notes-20051008
Update description of Product ID generation.


(cherry picked from commit 2b4cbfe09beff325862f377bb509ce3515ad221b)
2005-10-08 15:15:24 +00:00
Jeffrey Altman
70f54edf7b STABLE14-windows-byte-range-locks-20051007
There was a race condition associated with maintaining the
CM_FILELOCK_FLAG_CLIENTONLY flag on locks bound to scache entries
for Read Only volumes.   Therefore, we remove the use of the flag
and simply test the RO status of the scache entry.


(cherry picked from commit 2dcb1cdc3d6f10b366d2b93970f5f1f83287e157)
2005-10-08 04:51:26 +00:00
Jeffrey Altman
b804886341 STABLE14-windows-busy-vs-offline-20051006
Discovered a failure in the state machine.  There was no method of
distinguishing between all servers being Down (which is handled by the
background thread) and all volumes being offline (perhaps due to a move).


(cherry picked from commit 465273f096b1a1720ca07638537fd4c65d7d1d8d)
2005-10-07 03:11:17 +00:00
Asanka Herath
9ef646f585 STABLE14-windows-lock-count-fix-20051006
lock counts were not being reduced on file close when the lock was lost.


(cherry picked from commit e8ad124c1622ab8a128b801a662db57ef587af68)
2005-10-06 18:30:46 +00:00
Jeffrey Altman
47ccf39032 STABLE14-windows-byte-range-locks-20051006
Do not mark locks lost simply because the ExtendLock failed.
A lock is only lost if the server responds with EINVAL indicating
that the lock no longer exists. A lock can be renewed by other clients
that are also using the file.  The client can make no assumptions about
the status of a lock based upon the passage of time.


(cherry picked from commit 8445720d36474797b67341991f15771dcb90b236)
2005-10-06 14:50:11 +00:00
Jeffrey Altman
af644a3e83 STABLE14-windows-wix-product-id-20051005
Remove Product ID from Makefiles.  They will be auto-generated in the
Wix installer.

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

Auto-generate Product IDs at build time since each installer has a
unique name.   This will allow upgrades to be performed automatically.


(cherry picked from commit b9b6cb7c25cb3bcd4d34d1a52a7915c9ba46df06)
2005-10-05 16:32:34 +00:00
Jeffrey Altman
cc4794101e STABLE14-windows-byte-range-locking-20051005
Return the actual locking error such as "access denied" due to lack of 'k'
privileges instead of a sharing violation.


(cherry picked from commit b7d63fe7389e1b984bf29ef680f791837fe63386)
2005-10-05 14:23:51 +00:00
Jeffrey Altman
781b2f29af STABLE14-windows-byte-range-locks-20050816
remove an unwanted assertion and move the resetting of scp->serverLock
to -1 into cm_LockMarkSCacheLost() so that others do not forget to set
it.  cm_LockMarkSCacheLost() is always called when the scp->mx is held
so it is ok to do so.


(cherry picked from commit 14408c7e88c198d80ce89e90e209f48685da89da)
2005-10-05 06:12:27 +00:00
Jeffrey Altman
20be86b330 STABLE14-windows-rxstats-20051003
strip the pioctl path from the input before reading the flags


(cherry picked from commit 83d0b569ee0a05d7a0e96de93c73a1be0813e3fa)
2005-10-04 04:17:28 +00:00
Jeffrey Altman
4d0a90839f STABLE14-windows-patch-fix-20051003
Apparently a pullup applied a patch to the wrong function.
Correct it.
2005-10-03 17:34:16 +00:00
Jeffrey Altman
acbaf39f55 STABLE14-windows-afscreds-20051002
FIXES 22032

Extend the fields so that more text can be displayed regarding the tokens.


(cherry picked from commit e12837391e2dbbf0cf113f9af64c4daeef6680a3)
2005-10-03 05:05:56 +00:00
Jeffrey Altman
14ad44bb16 STABLE14-windows-release-notes-take2-20051002
place the text in the correct section


(cherry picked from commit cb39d44cf56f51d6a14a6ba61f4b0662719aac8e)
2005-10-03 03:32:47 +00:00
Jeffrey Altman
1d04747465 STABLE14-windows-release-notes-20051002
Document registry entries for RX stats gathering


(cherry picked from commit 6a643ba40a75ed0a03ddf6986eb6bdd485335f6d)
2005-10-03 03:19:41 +00:00
Jeffrey Altman
9fcd4b9074 STABLE14-windows-shell-ext-default-buttons-20051002
many of the shell extension dialogs did not have default pushbuttons
specified which would result in an undesirable end user experience


(cherry picked from commit 28b99d753cbb5ff1dd527a93c8c6ee9c5c5011dd)
2005-10-02 15:49:39 +00:00
Jeffrey Altman
7e969d3fb5 STABLE14-windows-shell-ext-prevent-unload-hack-20051002
The shell extension is unloading as it should but is never being loaded
again.  Since we have no clue why and no idea how to debug it, for now,
just prevent it from being unloaded in the first place.


(cherry picked from commit f8bdf475e2260f8c8d70a4ddc053ef3ec086a416)
2005-10-02 15:47:20 +00:00
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