]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
21 years agoSTABLE14-make-1-3-760-20041213 openafs-devel-1_3_76
Derrick Brashear [Mon, 13 Dec 2004 19:46:21 +0000 (19:46 +0000)]
STABLE14-make-1-3-760-20041213

this is 1.3.76

21 years agoSTABLE14-STABLE12-implement-vpeek-for-listvol-20041211
Jeffrey Hutzelman [Mon, 13 Dec 2004 19:41:10 +0000 (19:41 +0000)]
STABLE14-STABLE12-implement-vpeek-for-listvol-20041211

FIXES 16765

 All of AFSVolListOneVolume, AFSVolXListOneVolume, AFSVolListVolumes,
 AFSVolXListVolumes currrently attach each volume to be listed with
 V_READONLY.  This makes the fileserver update and sync the volume header
 before releasing the volume to the volserver.  The result is that volume
 list operations are slow, and generate lots of fileserver load, as Jimmy
 pointed out during his talk this afternoon.

 The attached patch introduces a new attach mode, V_PEEK, which is like a
 cross between V_READONLY and V_SECRETLY.  It can be used for read-only
 operations on the volume header, where it is not necessary to inform the
 fileserver that the volume is being accessed.  The patch also changes
 the above-named RPC's to use the new mode.

21 years agoSTABLE14-fix-linux-kvers-setting-20041211
Jeffrey Hutzelman [Mon, 13 Dec 2004 19:40:42 +0000 (19:40 +0000)]
STABLE14-fix-linux-kvers-setting-20041211

FIXES 16763

set SYS_KVERS reasonably on linux always

(cherry picked from commit 6cd93d304142724c7c0fd37272e84f1a7eacb951)

21 years agoSTABLE14-revert-mwaitprocs-20041210
Derrick Brashear [Mon, 13 Dec 2004 19:40:19 +0000 (19:40 +0000)]
STABLE14-revert-mwaitprocs-20041210

FIXES 5616

revert this for now

(cherry picked from commit efb0f66b66821d5155d7c1b0232427c4b5af2c73)

21 years agoSTABLE14-sys-depinstall-20041210
Derrick Brashear [Mon, 13 Dec 2004 19:39:51 +0000 (19:39 +0000)]
STABLE14-sys-depinstall-20041210

add depinstall in sys directory

(cherry picked from commit 8c912bedbcb532d6aa40134a54679539ae8b7245)

21 years agoSTABLE14-ubik-calliter-update-20041210
Jeffrey Altman [Mon, 13 Dec 2004 19:39:18 +0000 (19:39 +0000)]
STABLE14-ubik-calliter-update-20041210

if we're going to prototype it we need to match this

(cherry picked from commit 80016e804616f7d233831716b1127e3a48c51038)

21 years agoSTABLE14-ubik-iter-proto-20041208
Jim Rees [Mon, 13 Dec 2004 19:38:51 +0000 (19:38 +0000)]
STABLE14-ubik-iter-proto-20041208

prototype, casts, and proper arg count for ubik_CallIter
thanks to Christof Hanke for some of this

(cherry picked from commit 867c3010731daa89f58e54c2c620215de0a94c1f)

21 years agoSTABLE14-linux-page-follow-link-light-20041209
Kris Van Hees [Mon, 13 Dec 2004 19:35:31 +0000 (19:35 +0000)]
STABLE14-linux-page-follow-link-light-20041209

FIXES 16742

new 2.6 uses page_follow_link_light
detect and use

21 years agoSTABLE14-linux-remove-negative-dentry-20041209
Chas Williams [Mon, 13 Dec 2004 19:35:02 +0000 (19:35 +0000)]
STABLE14-linux-remove-negative-dentry-20041209

FIXES 16735

during unlink, afs sometimes renames the file instead of deleting it.
this isnt reflected properly in the dcache in linux. the following
patch attempts to address this issue. newname is renamed to afs_newname
and exported.

afs_linux_unlink() checks to see if the file is open. if so, it creates
a negative dcache entry using the name suggested by afs_newname(). then
dmove() moves (exchanges) dp and __dp. __dp is now a negative dentry
for the old name and is put/dropped.

(cherry picked from commit f8432c77965a79047429b18ae0ee214a45e4c9a4)

21 years agoSTABLE14-only-libafs-update-20041208
Derrick Brashear [Mon, 13 Dec 2004 19:34:32 +0000 (19:34 +0000)]
STABLE14-only-libafs-update-20041208

only_libafs needs sys on irix

(cherry picked from commit e400114f4486cc7be18de13a3a68a38b446620d3)

21 years agoSTABLE14-windows-notes-20041213
Jeffrey Altman [Mon, 13 Dec 2004 14:15:16 +0000 (14:15 +0000)]
STABLE14-windows-notes-20041213

1.3.7600 changes since 1.3.7500

(cherry picked from commit 3400f8d4da4c0f08bc226730f4d00b252fbad52e)

21 years agoSTABLE14-windows-1376-pullups-20041213
Jeffrey Altman [Mon, 13 Dec 2004 14:13:08 +0000 (14:13 +0000)]
STABLE14-windows-1376-pullups-20041213

Pullup all Changes since 1.3.75:

- multihomed server support in AFS Client Service

- fix autogeneration of freelance symlinks

- replace SMB InfoLevel constants with preprocessor symbols

21 years agoSTABLE14-linux26-dont-fix-inode-size-ourselves-20041208 openafs-devel-1_3_75
Chaskiel M Grundman [Wed, 8 Dec 2004 17:21:46 +0000 (17:21 +0000)]
STABLE14-linux26-dont-fix-inode-size-ourselves-20041208

hopefully fix cache truncation

(cherry picked from commit 038116a881c1773cda50eca783f5308a52121681)

21 years agoSTABLE14-openafs-1-3-75-20041208
Derrick Brashear [Wed, 8 Dec 2004 11:12:19 +0000 (11:12 +0000)]
STABLE14-openafs-1-3-75-20041208

mark things 1.3.75.

21 years agoSTABLE14-update-irix-bhvl-20041208
Derrick Brashear [Wed, 8 Dec 2004 10:35:28 +0000 (10:35 +0000)]
STABLE14-update-irix-bhvl-20041208

define BHV_IS_BHVL(x) to 0 for non-CELL cases where BHV_PREPARE is defined.
6.5.20f is "broken"

(cherry picked from commit 655de549a4115c4ebdb18417aeeba4280ad54162)

21 years agoSTABLE14-wix-update-20041208
Jeffrey Altman [Wed, 8 Dec 2004 10:20:50 +0000 (10:20 +0000)]
STABLE14-wix-update-20041208

Add property for StoreAnsiFilenames

(cherry picked from commit e8e9a297bc92f40ff03a468b64e8f0b5c930fa6c)

21 years agoSTABLE14-wix-updates-20041208
Jeffrey Altman [Wed, 8 Dec 2004 09:58:49 +0000 (09:58 +0000)]
STABLE14-wix-updates-20041208

Add new property for StoreAnsiFilenames

21 years agoSTABLE14-windows-version-20041208
Jeffrey Altman [Wed, 8 Dec 2004 09:12:09 +0000 (09:12 +0000)]
STABLE14-windows-version-20041208

1.3.7500

(cherry picked from commit 8a9f304b868bd74a30c1059253acd2094673ad8b)

21 years agoSTABLE14-nsis-installer-20041208
Robert S Murawski IV [Wed, 8 Dec 2004 09:10:37 +0000 (09:10 +0000)]
STABLE14-nsis-installer-20041208

Preserve previous install settings during upgrade

(cherry picked from commit 3b361484428cd276627c92add48747c57f3db360)

21 years agoSTABLE14-x86-solaris-20041207
Derrick Brashear [Tue, 7 Dec 2004 22:27:16 +0000 (22:27 +0000)]
STABLE14-x86-solaris-20041207

fix my mistake

(cherry picked from commit f41121f32825cf31de238af871605d523727b9cf)

21 years agoSTABLE14-sparc32-no-largefile-20041207
Douglas Engert [Tue, 7 Dec 2004 18:30:42 +0000 (18:30 +0000)]
STABLE14-sparc32-no-largefile-20041207

FIXES 16719

disable largefile on 32bit sparcs
see the bug for better commentary

(cherry picked from commit d271c1c295d138fa5da622a4dd9136d535f4e42d)

21 years agoSTABLE14-afsd-chunksize-error-20041207
Derrick Brashear [Tue, 7 Dec 2004 18:25:08 +0000 (18:25 +0000)]
STABLE14-afsd-chunksize-error-20041207

FIXES 16723

based on work from mmokrejs@ribosome.natur.cuni.cz

(cherry picked from commit 54643e26780bed06f1194602426f16dffcf9077d)

21 years agoSTABLE14-aix-5-update-20041207
Harald Barth [Tue, 7 Dec 2004 16:48:34 +0000 (16:48 +0000)]
STABLE14-aix-5-update-20041207

updates for aix 5

(cherry picked from commit beff42414aeb908b141f116d2b47b2a5baee28ad)

21 years agoSTABLE14-volname-cleanup-20041207
Harald Barth [Tue, 7 Dec 2004 16:37:09 +0000 (16:37 +0000)]
STABLE14-volname-cleanup-20041207

cleanup how volname or id number is parsed
volname-cleanup-20041207

(cherry picked from commit d6c8b023bb580ccb48198fb4ee070b9e1f950f51)

21 years agoSTABLE14-pthread-event-names-20041207
Jeffrey Altman [Tue, 7 Dec 2004 16:16:09 +0000 (16:16 +0000)]
STABLE14-pthread-event-names-20041207

pullup change for debugging purposes.

21 years agoSTABLE14-umlinux26-20041207
Matt Benjamin [Tue, 7 Dec 2004 15:59:32 +0000 (15:59 +0000)]
STABLE14-umlinux26-20041207

FIXES 16591

umlinux 26 support. i wonder what i just reverted

(cherry picked from commit 4d550ad6b6ec430e3d2564f37ed4b471f8928a38)

21 years agoSTABLE14-sunx86-20041207
Joakim Fallsjö [Tue, 7 Dec 2004 14:24:14 +0000 (14:24 +0000)]
STABLE14-sunx86-20041207

update to provide sun x86 support

(cherry picked from commit 1183771a422a00fcc95d47d06b71479fcc99f4b7)

21 years agoSTABLE14-store-ansi-filenames-20041207
Jeffrey Altman [Tue, 7 Dec 2004 12:48:57 +0000 (12:48 +0000)]
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

21 years agoSTABLE14-no-oscheck-20041206
Jim Rees [Tue, 7 Dec 2004 06:19:16 +0000 (06:19 +0000)]
STABLE14-no-oscheck-20041206

remove ostype and osrelease check; more trouble than they're worth

(cherry picked from commit d39b99f3da856672edd61adb82532039631b7cb4)

21 years agoSTABLE14-rxdebug-more-dewarn-20041207
Jeffrey Hutzelman [Tue, 7 Dec 2004 06:17:15 +0000 (06:17 +0000)]
STABLE14-rxdebug-more-dewarn-20041207

FIXES 16660

more dewarning

(cherry picked from commit a3b31a12531558717d46b501222040c1bf4c1402)

21 years agoSTABLE14-windows-smb-20041206
Jeffrey Altman [Tue, 7 Dec 2004 06:16:47 +0000 (06:16 +0000)]
STABLE14-windows-smb-20041206

Fixup references to SMB Dfs functions.  Now need to fill in the details

(cherry picked from commit cca8097cb99349bd57aca44113cc0c3cebb537ca)

21 years agoSTABLE14-windows-shutdown-20041205
Jeffrey Altman [Tue, 7 Dec 2004 06:16:22 +0000 (06:16 +0000)]
STABLE14-windows-shutdown-20041205

Synchronize the shutdown of all smb_Server threads by waiting on a
shutdown event before continuing

Do not lock a buffer object if the attempt to obtain the buffer failed.

(cherry picked from commit fe97ddf25b550365fd54a3300fa7388cf71d8631)

21 years agoSTABLE14-windows-pioctl-20041204
Jeffrey Altman [Tue, 7 Dec 2004 06:15:56 +0000 (06:15 +0000)]
STABLE14-windows-pioctl-20041204

Be more agressive about trying to establish a connection to the SMB
server if it fails.  This requires adding a new dll: secur32.dll

(cherry picked from commit d2d84479cfc9288cfa2c6d7c012ad0418229d225)

21 years agoSTABLE14-windows-version-20041204
Jeffrey Altman [Tue, 7 Dec 2004 06:15:27 +0000 (06:15 +0000)]
STABLE14-windows-version-20041204

1.3.7402

(cherry picked from commit eb164be09070dbf3aeabaa04afef5d16cdbfaa7a)

21 years agoSTABLE14-windows-freelance-20041204
Jeffrey Altman [Tue, 7 Dec 2004 06:14:52 +0000 (06:14 +0000)]
STABLE14-windows-freelance-20041204

perform a bit more error checking and logging when loading mountpoints and
symlinks from the registry

(cherry picked from commit 38ed975350a879cd2a8d45c3e71aa2ed49e8b664)

21 years agoSTABLE14-winnotes-20041204
Jeffrey Altman [Tue, 7 Dec 2004 06:14:18 +0000 (06:14 +0000)]
STABLE14-winnotes-20041204

make note that the contents of this file are no longer up to date

(cherry picked from commit 86420864cddb9148b89eafc9926b92910e576697)

21 years agoSTABLE14-windows-afsd-init-20041202
Jeffrey Altman [Tue, 7 Dec 2004 06:13:26 +0000 (06:13 +0000)]
STABLE14-windows-afsd-init-20041202

Fix a memory overwrite condition caused when the BackConnectionHostNames
key does not exist

(cherry picked from commit a8d0ca81a8d79b65e265ebf67ae6b9ddc868cac6)

21 years agoSTABLE14-afs-server-multi-rx-clesnup-20041202
Horst Birthelmer [Tue, 7 Dec 2004 06:12:40 +0000 (06:12 +0000)]
STABLE14-afs-server-multi-rx-clesnup-20041202

clean up multirx code 's use of lock

(cherry picked from commit bdd73ef446e4fb1788f414549f39a63ac2419470)

21 years agoSTABLE14-amd64-linux-dewarn-20041202
Jeffrey Hutzelman [Tue, 7 Dec 2004 06:12:03 +0000 (06:12 +0000)]
STABLE14-amd64-linux-dewarn-20041202

FIXES 16342

clean up warnings for amd64

(cherry picked from commit 75e31ca662dc32581bde67ef5102ec15bac1be60)

21 years agoSTABLE14-rx-dewarnify-20041202
Jeffrey Hutzelman [Tue, 7 Dec 2004 06:10:05 +0000 (06:10 +0000)]
STABLE14-rx-dewarnify-20041202

FIXES 16277

dewarnify rx

(cherry picked from commit ffce916e8e37662bb032287a06ee85c28c5e2b3a)

21 years agoSTABLE14-osi-gettime-20041202
Jeffrey Hutzelman [Tue, 7 Dec 2004 06:09:23 +0000 (06:09 +0000)]
STABLE14-osi-gettime-20041202

FIXES 16346

osi_GetTime needs to bdeal with 64 bit time on platforms that have it

(cherry picked from commit a8cb095e85fba7ecdeb7bdb7848cfb2f498d5cc8)

21 years agoSTABLE14-umlinux26-20041202
Matt Benjamin [Tue, 7 Dec 2004 06:08:36 +0000 (06:08 +0000)]
STABLE14-umlinux26-20041202

FIXES 16591

umlinux 26 support. i wonder what i just reverted

21 years agoSTABLE14-ubik-calliter-pass-all-args-20041202
Douglas Engert [Tue, 7 Dec 2004 06:07:20 +0000 (06:07 +0000)]
STABLE14-ubik-calliter-pass-all-args-20041202

FIXES 16556

pass in all args to ubik_CallIter instead of doing (pseudo) varargs

(cherry picked from commit 70df053245459ebb9b3874719fbc5229b94c114c)

21 years agoSTABLE14-rxdebug-use-afs-ntoa-r-20041202
Matt Benjamin [Tue, 7 Dec 2004 06:06:50 +0000 (06:06 +0000)]
STABLE14-rxdebug-use-afs-ntoa-r-20041202

FIXES 16050

use afs_inet_ntoa_r in rxdebug for consistency

(cherry picked from commit 40d674c9bcefc9b701a2e39edbf3f7e54c8fbcc0)

21 years agoSTABLE14-vol-bless-20041202
Jeffrey Hutzelman [Tue, 7 Dec 2004 06:06:17 +0000 (06:06 +0000)]
STABLE14-vol-bless-20041202

FIXES 15928

add volume blesser

(cherry picked from commit 93bc285e69f1588b04224e65424bfb7e67b14f6d)

21 years agoSTABLE14-linux26-set-mps-correctly-200412102
Jeffrey Hutzelman [Tue, 7 Dec 2004 06:05:41 +0000 (06:05 +0000)]
STABLE14-linux26-set-mps-correctly-200412102

FIXES 15645

set MPS correctly when compiling on 2.6

(cherry picked from commit f32f9810b188878e1e79b004873f91c1c538d40e)

21 years agoSTABLE14-libafsrpc-assertion-failed-20041202
Chaskiel M Grundman [Tue, 7 Dec 2004 06:04:18 +0000 (06:04 +0000)]
STABLE14-libafsrpc-assertion-failed-20041202

FIXES 16432

need AssertionFailed in libafsrpc. ndon't need casestrcpy in libafsauthent

(cherry picked from commit d8e6630fffbbc6635c49c8c6d45a4550144e7f94)

21 years agoSTABLE14-windows-pioctl-debug-20041130
Jeffrey Altman [Tue, 7 Dec 2004 06:03:40 +0000 (06:03 +0000)]
STABLE14-windows-pioctl-debug-20041130

Output the error number and not just the text string when reporting
failures from CreateFile.

(cherry picked from commit b208926c260105159bdf03bf219966a341e76197)

21 years agoSTABLE14-windows-notes-upd-20041130
Jeffrey Altman [Tue, 7 Dec 2004 06:03:14 +0000 (06:03 +0000)]
STABLE14-windows-notes-upd-20041130

update docs

(cherry picked from commit 53f0da3fb019cbc44bc012fbf0af0c85e7341381)

21 years agoSTABLE14-windows-auto-disable-sig-verify-20041130
Jeffrey Altman [Tue, 7 Dec 2004 06:02:46 +0000 (06:02 +0000)]
STABLE14-windows-auto-disable-sig-verify-20041130

If the desired cache size is greater then 700MB auto disable the
signature verification check in order to prevent fragmentation of
memory.

(cherry picked from commit 9ba17afadb859bf9e3ef912aa1a4c120b7998eb5)

21 years agoSTABLE14-windows-maxmem-20041130
Jeffrey Altman [Tue, 7 Dec 2004 06:02:22 +0000 (06:02 +0000)]
STABLE14-windows-maxmem-20041130

There is currently a maximum cache size of 1.3GB.  The limit is imposed
by the largest contiguous block of unused memory within the 2GB process
space which can be assigned to the memory mapped file.  Unfortunately,
when the executable digital signature verification code is activated
Windows sees fit to further segment the process memory which in turn
reduces the size of the maximum cache file to less then 800MB.  If
larger cache sizes are desired, a new registry value should be set:

  HKLM\SOFTWARE\OpenAFS\Client (DWORD) "VerifyServiceSignature" = 0x0

Setting this value will disable the runtime verification of digital
signatures on afsd_service.exe and the afs dlls which it loads.  It
will not disable the the version number check on those same files.
The signature verification is not a security messure and is only meant
to enhance the ability to afsd_service.exe to detect potential
destablizing mixtures of DLLs from incompatible distributions.

(cherry picked from commit f8ce184140b2f54bd2d82d4f62b47b5387225419)

21 years agoSTABLE14-windows-digital-sigs-and-more-20041130
Jeffrey Altman [Tue, 7 Dec 2004 06:01:41 +0000 (06:01 +0000)]
STABLE14-windows-digital-sigs-and-more-20041130

Switch the Trust Provider used to verify the validity of executables
and libraries to the Software Publisher Trust Provider.

Add code (with Asanka's help) to extract the certificate details and
log them to afsd_init.log.  Ensure that if files are signed that all
of the files are signed by the same entity.

Add a number of missing prototypes

Correct conversions from time_t to long or short.

(cherry picked from commit 852a0518624c13e45a4d0f2561b171687e07b9cc)

21 years agoSTABLE14-windows-clean-20041129
Asanka Herath [Tue, 7 Dec 2004 06:00:54 +0000 (06:00 +0000)]
STABLE14-windows-clean-20041129

Cleanup clean targets to not break with cmd shell

(cherry picked from commit 0f1892f09b123d8251c99e81106aae49b42d477e)

21 years agoSTABLE14-windows-dyn-symlinks-20041129
Jeffrey Altman [Tue, 7 Dec 2004 06:00:23 +0000 (06:00 +0000)]
STABLE14-windows-dyn-symlinks-20041129

in the freelance root.afs volume, instead of creating a mountpoint when
a name is evaluated and it is a partial representation of a cellname,
create a symlink.

(cherry picked from commit 1a050671c9af89857a31cd41e13c64e95ae7a8e3)

21 years agoSTABLE14-winverifytrust-20041129
Jeffrey Altman [Tue, 7 Dec 2004 05:59:54 +0000 (05:59 +0000)]
STABLE14-winverifytrust-20041129

Add support for WinVerifyTrust().  If afsd_service.exe is a digitally
signed executable, make sure that all of the associated binaries not
only have the same file version number but are signed as well.

(cherry picked from commit a3c06afa0b7a9a94248af080bc5208291c08e08f)

21 years agoSTABLE14-windows-freelance-init-20041127
Jeffrey Altman [Tue, 7 Dec 2004 05:59:27 +0000 (05:59 +0000)]
STABLE14-windows-freelance-init-20041127

replace the registry population scheme with cm_freelanceAddMount
based on the CellRootName

(cherry picked from commit a688328e8524f7232bfc294ea02b4d87d7172656)

21 years agoSTABLE14-windows-robust-freelance-20041126
Jeffrey Altman [Tue, 7 Dec 2004 05:58:52 +0000 (05:58 +0000)]
STABLE14-windows-robust-freelance-20041126

Implement new functions: cm_freelanceMountPointExists and
cm_freelanceSymlinkExists.  Use them along with other validity checks
in cm_freelanceAddMount and cm_freelanceAddSymlink to ensure that name
collisions do not occur and that empty strings are not valid file names.

A symlink may not have a name which would resolve to a valid cell name.
Doing so would prevent access to the cell.

(cherry picked from commit 3c487ecb59c0bace3a417245f639f7e3388ae5dc)

21 years agoSTABLE14-windows-scache-locks-20041126
Jeffrey Altman [Tue, 7 Dec 2004 05:58:20 +0000 (05:58 +0000)]
STABLE14-windows-scache-locks-20041126

replace all direct manipulations of the cm_scache_t refCount field
with calls to cm_{Hold,Release}SCache[NoLock]().

add missing call to cm_HoldScacheNoLock in freelance Mount Point
re-initialization code.

experiment a bit more with "special folders".   ensure that checks
for "desktop.ini" are case insensitive.

(cherry picked from commit 976465c87e027a3721a464324cf1d83c522dd996)

21 years agoSTABLE14-windows-ini-file-mapping-20041124
Dave Tanner [Tue, 7 Dec 2004 05:57:46 +0000 (05:57 +0000)]
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)

21 years agoSTABLE14-netbsd21-20041124
Love Hörnquist-Åstrand [Tue, 7 Dec 2004 05:56:50 +0000 (05:56 +0000)]
STABLE14-netbsd21-20041124

netbsd 2.99.x (aka 3.0) support
(aka 2.1?)

(cherry picked from commit 2a7cf0d2ae5094dcf2b09e5794c86fe4326b9c4f)

21 years agoSTABLE14-windows-updates-20041124
Jeffrey Altman [Tue, 7 Dec 2004 05:55:40 +0000 (05:55 +0000)]
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)

21 years agoSTABLE14-freelance-import-20041122
Jeffrey Altman [Tue, 7 Dec 2004 05:54:43 +0000 (05:54 +0000)]
STABLE14-freelance-import-20041122

Fix the afs_freelance.ini import code.
Check both the Client install directory and the %WINDIR% directory
for afs_freelance.ini

(cherry picked from commit 50ca88be2a8dcce74ba9386d0161c39e46e1d57c)

21 years agoSTABLE14-windows-misc-20041122
Jeffrey Altman [Tue, 7 Dec 2004 05:53:09 +0000 (05:53 +0000)]
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)

21 years agoSTABLE14-aklog-intergration-20041119
Ken Hornstein [Tue, 7 Dec 2004 05:51:24 +0000 (05:51 +0000)]
STABLE14-aklog-intergration-20041119

Import the aklog source from the MIT AFS-Kerberos 5 migration kit.

21 years agoSTABLE14-proc-cellservdb-20041110
Derrick Brashear [Tue, 7 Dec 2004 05:50:07 +0000 (05:50 +0000)]
STABLE14-proc-cellservdb-20041110

put a cellservdb in /proc/fs/openafs

(cherry picked from commit 9b579bf0f77b6832897c5b50fa6a5f6b40940717)

21 years agoSTABLE14-update-objdir-20041110
Nathan Neulinger [Tue, 7 Dec 2004 05:49:33 +0000 (05:49 +0000)]
STABLE14-update-objdir-20041110

make objdir builds work (with fix from shadow@dementia.org in src/rxkad/...)

(cherry picked from commit fbec56963df5d556056e4da37c3b6468a1ca69c5)

21 years agoSTABLE14-mask-loopback-address-allow-loopback-interfaces-to-be-advertised-20041110
Derrick Brashear [Tue, 7 Dec 2004 05:48:55 +0000 (05:48 +0000)]
STABLE14-mask-loopback-address-allow-loopback-interfaces-to-be-advertised-20041110

some software network adapters use instances of lo but are real network adapters
. allow them to be advertised. the modified functions are called only in the pro
cess of collecting a list to advertise.

at the same time, make sure we mask 127.0.0.1.
i wonder if that's a mistake.

(cherry picked from commit aa204b0a4b586a3bfec532c16bd64a5964f092f5)

21 years agoSTABLE14-provide-fPIC-method-for-amd64-20040508 openafs-devel-1_3_74
Derrick Brashear [Tue, 9 Nov 2004 19:35:50 +0000 (19:35 +0000)]
STABLE14-provide-fPIC-method-for-amd64-20040508

FIXES 3680

allow building fPIC on amd64

21 years agoSTABLE14-openafs-1374-20041109
Derrick Brashear [Tue, 9 Nov 2004 19:31:00 +0000 (19:31 +0000)]
STABLE14-openafs-1374-20041109

make this openafs 1.3.74

21 years agoSTABLE14-aix-vol-salvage-make-malloc-not-be-cast-20041106
Horst Birthelmer [Tue, 9 Nov 2004 17:20:26 +0000 (17:20 +0000)]
STABLE14-aix-vol-salvage-make-malloc-not-be-cast-20041106

When you have a 64bit big endian machine with a 64bit off_t in the stat
the salvager won't work.

Malloc takes an "unsigned long" and a implicit cast will be almost
always zero :-).

(cherry picked from commit c0dd32748f5a64676ddbc7897d1a622e0f250cd7)

21 years agoSTABLE14-ppc-linux26-20041108
Sam Hartman [Tue, 9 Nov 2004 17:19:55 +0000 (17:19 +0000)]
STABLE14-ppc-linux26-20041108

FIXES 15770

support ppc linux 2.6

(cherry picked from commit 565126d68eed60e5787be6202fb38619baeab3e5)

21 years agoSTABLE14-readdir-report-correct-inums-20041108
Jeffrey Hutzelman [Tue, 9 Nov 2004 17:19:16 +0000 (17:19 +0000)]
STABLE14-readdir-report-correct-inums-20041108

FIXES 15962

We currently try fairly hard to make stat() on a volume root return the
same vnode number as is listed for the mount point by readdir(). This
behaviour is desirable; in fact, getcwd would not work otherwise.

However, we are _not_ careful about making readdir list correct inode
numbers for "." in a volume root or ".." in a directory whose parent is
a volume root. This means that applications which examine these entries
will still see inconsistent inode numbers. Clearly, it would be more
desirable to report consistent inode numbers in all cases, instead of
only in some cases.

The attached patch, written while I was tracking down some NFS
translator problems (which ultimately proved to be unrelated), makes
readdir return consistent inode numbers for volume roots. We are
running this on a few machines and have seen no problems, but it has not
been extensively tested.

(cherry picked from commit c3d9ed3cb553747b9b317fc4794755ba98afc24b)

21 years agoSTABLE14-vfsck-sol9-breadwrite-args-20041108
Douglas Engert [Tue, 9 Nov 2004 17:18:48 +0000 (17:18 +0000)]
STABLE14-vfsck-sol9-breadwrite-args-20041108

FIXES 15927

fix arg types for bread/bwrite for solaris 9

(cherry picked from commit 40c1d00508b3ad9e4384ad7cc3f39f7a206c4014)

21 years agoSTABLE14-nfs3-no-readdirplus-20041108
Jeffrey Hutzelman [Tue, 9 Nov 2004 17:18:18 +0000 (17:18 +0000)]
STABLE14-nfs3-no-readdirplus-20041108

FIXES 15961

don't support readdirplus in nfsv3

(cherry picked from commit 31dd436712c7119a0bcb0ad534b7e9e6304dd298)

21 years agoSTABLE14-callback-rxcon-use-safely-20041108
Chaskiel M Grundman [Tue, 9 Nov 2004 17:17:49 +0000 (17:17 +0000)]
STABLE14-callback-rxcon-use-safely-20041108

FIXES 15973

add get/put refs to all callback rxconn usages to preclude any possibility of race

(cherry picked from commit 08af3229f3c4d961e5d662e049476229fbb11767)

21 years agoSTABLE14-nfs-root-mtime-20041108
Jeffrey Hutzelman [Tue, 9 Nov 2004 17:17:25 +0000 (17:17 +0000)]
STABLE14-nfs-root-mtime-20041108

FIXES 15960

don't reset root mtime, solaris 9 wants it to be the same across multiple calls

(cherry picked from commit 884335d78318aca00293245c9d481fd285ceba59)

21 years agoSTABLE14-any-way-damnit-20041107
Derrick Brashear [Tue, 9 Nov 2004 17:16:40 +0000 (17:16 +0000)]
STABLE14-any-way-damnit-20041107

no comment.

(cherry picked from commit ee23c5f90a7069bd8203fbf44575da361a63d7b8)

21 years agoSTABLE14-mask-loopback-address-allow-loopback-interfaces-to-be-advertised-20041106
Derrick Brashear [Tue, 9 Nov 2004 17:16:12 +0000 (17:16 +0000)]
STABLE14-mask-loopback-address-allow-loopback-interfaces-to-be-advertised-20041106

some software network adapters use instances of lo but are real network adapters
. allow them to be advertised. the modified functions are called only in the pro
cess of collecting a list to advertise.

at the same time, make sure we mask 127.0.0.1.
i wonder if that's a mistake.

(cherry picked from commit 27fbf495163784c7d9a88001441b671f446ce547)

21 years agoSTABLE14-client-dir-package-interface-update-20041106
Chaskiel M Grundman [Tue, 9 Nov 2004 17:14:57 +0000 (17:14 +0000)]
STABLE14-client-dir-package-interface-update-20041106

FIXES 15726

cleanup from dread-do-validation; change to using dcache and not just fcache

(cherry picked from commit 10c1abfa31273ebf99c5eaf401cb8c5b9e8df0dd)

21 years agoSTABLE14-vos-timestamp-handling-20041106
Kris Van Hees [Tue, 9 Nov 2004 17:13:45 +0000 (17:13 +0000)]
STABLE14-vos-timestamp-handling-20041106

FIXES 15708

fix timestamp handling on create; display "never" for copy time

(cherry picked from commit 756488a8395b5c45ceb383ca0106164e24bcb66c)

21 years agoSTABLE14-irix-largefile-update-20041104
Chas Williams [Tue, 9 Nov 2004 17:13:17 +0000 (17:13 +0000)]
STABLE14-irix-largefile-update-20041104

from peter tripician via chas. update so largefile support stands a chance of working

(cherry picked from commit 6dce8ba4e23c6482856aaf35cb5dc5168ef054cc)

21 years agoSTABLE14-openbsd36-20041104
Jim Rees [Tue, 9 Nov 2004 17:12:27 +0000 (17:12 +0000)]
STABLE14-openbsd36-20041104

auto-detect OpenBSD 3.6.

(cherry picked from commit df99b514f619cde44b223a0e1f22ba856e548842)

21 years agoSTABLE14-fbsd53-20041027
Jim Rees [Tue, 9 Nov 2004 17:11:34 +0000 (17:11 +0000)]
STABLE14-fbsd53-20041027

support for FreeBSD 5.3
builds and runs as well as it did on 5.2

(cherry picked from commit e751ec6a3683a175e1cdad910dd1311d61f632e1)

21 years agoSTABLE14-acinclude-fbsd-20041027
Jim Rees [Tue, 9 Nov 2004 17:10:59 +0000 (17:10 +0000)]
STABLE14-acinclude-fbsd-20041027

auto-detect FreeBSD 5.3

(cherry picked from commit 5bacdac16c2efda7a22125ce89cc617d6ba2c285)

21 years agoSTABLE14-irix-cleanup-20041019
Derrick Brashear [Tue, 9 Nov 2004 17:09:39 +0000 (17:09 +0000)]
STABLE14-irix-cleanup-20041019

clean up my messes.

(cherry picked from commit 37e865b235ad6e7d85c4cc47f842d60c60965b4a)

21 years agoSTABLE14-windows-version-bump-20041109
Jeffrey Altman [Tue, 9 Nov 2004 17:09:08 +0000 (17:09 +0000)]
STABLE14-windows-version-bump-20041109

1.3.7400

(cherry picked from commit 248aa3980eb4cf35d153119ed88b94a129ea9198)

21 years agoSTABLE14-configure-linux-header-path-help-20041018
Derrick Brashear [Tue, 9 Nov 2004 17:05:33 +0000 (17:05 +0000)]
STABLE14-configure-linux-header-path-help-20041018

thanks to Kris Van Hees for pointing this out

(cherry picked from commit efee9917cbb3130dfd73b5f064c4ff266c284333)

21 years agoSTABLE14-windows-pullup-20041105
Jeffrey Altman [Fri, 5 Nov 2004 19:21:32 +0000 (19:21 +0000)]
STABLE14-windows-pullup-20041105

Pullup of all changes since the 1.3.72/73 release

21 years agoSTABLE14-inlinebulk-put-ref-on-error-20041028
Derrick Brashear [Thu, 28 Oct 2004 21:47:23 +0000 (21:47 +0000)]
STABLE14-inlinebulk-put-ref-on-error-20041028

if we got an error during InlineBulk, put back the reference

(cherry picked from commit a3da9532a930720e4e9fba5f6520c3c9e1d67bc4)

21 years agoSTABLE14-drop-h-lock-around-putconn-20041027
Derrick Brashear [Thu, 28 Oct 2004 19:09:04 +0000 (19:09 +0000)]
STABLE14-drop-h-lock-around-putconn-20041027

the problem with rx_PutConnection is h_FreeConnection uses the host global lock

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

the problem with rx_PutConnection is h_FreeConnection uses the host global lock
but it shouldn't matter (callback conn should be a client not server conn and
thus not h_FreeConnection on cleanup)

further, we should free the conns we GetConnection'd not the ones still in
the host struct at the end.

(cherry picked from commit 2fbfef7f9157aad571307564faae1ce7aae4e3be)

21 years agoSTABLE14-windows-version-update-20041018
Jeffrey Altman [Mon, 18 Oct 2004 21:26:51 +0000 (21:26 +0000)]
STABLE14-windows-version-update-20041018

1.3.3700

(cherry picked from commit 78736ba21b90199de364f235aa7d03cd3ec6666d)

21 years agoSTABLE14-resync-20041018 openafs-devel-1_3_73
Derrick Brashear [Mon, 18 Oct 2004 18:43:44 +0000 (18:43 +0000)]
STABLE14-resync-20041018

cheat. pull in all the 1.3.72->head changes in one delta

21 years agoSTABLE14-resync-20041018 openafs-devel-1_3_72
Derrick Brashear [Mon, 18 Oct 2004 08:11:37 +0000 (08:11 +0000)]
STABLE14-resync-20041018

cheat. pull in all the 1.3.71->head changes in one delta

21 years agoSTABLE14-windows-version-20041017
Jeffrey Altman [Mon, 18 Oct 2004 05:21:25 +0000 (05:21 +0000)]
STABLE14-windows-version-20041017

Update version to 1.3.7200

(cherry picked from commit 8e335f4079d2c62d7cfe932eb46b59b8ceb695c1)

21 years agoSTABLE14-winnotes-cummulative-20041017
Jeffrey Altman [Mon, 18 Oct 2004 05:11:49 +0000 (05:11 +0000)]
STABLE14-winnotes-cummulative-20041017

Changes for 1.3.72

21 years agoSTABLE14-windows-cumulative-20041017
Jeffrey Altman [Mon, 18 Oct 2004 05:09:25 +0000 (05:09 +0000)]
STABLE14-windows-cumulative-20041017

Cummulative update of changes including:

  * Add code to block the issuance of AFS tokens by aklog.exe or
    afscreds.exe when the Kerberos 5 principal name contains a dot.

  * Modify the IsAdmin() function to always treat the local SYSTEM
    account as an AFS client administrator.  Affects fs.exe and
    afs_config.exe.

  * Modify the internal handling of Quota Exceeded errors

  * Upgrade all reference count fields in the Windows cache manager
    and the osi library to use unsigned long instead of signed short.
    A similar fix has been applied to the afs rpc (rx) library.

  * fix the Windows cache manager to prevent it from replacing the
    rx_connection object associated with the cm_conn_t object on each
    and every operation if "fs crypt" was set.  This explains the
    dramatic performance difference when crypt is used vs clear.
    The problem: 'cryptall', a boolean flag indicating whether or not
    "fs crypt" is set, was being compared to the rx_connection
    cryptlevel which is either rxkad_clear:0 or rxkad_crypt:2.
    1 != 2 and therefore the rx_connection was always destroyed
    and replaced on each and every operation.

    Lock the cm_conn_t object around every call to RXAFS_xxxx functions.
    It is not safe for the cm_conn_t object to not be locked because
    rx_DestroyConnection might be called from another thread if:
        - the user's tokens have changed or expired
        - the crypt mode has changed

    This fix appears to have also taken care of the problems associated
    with Overlapped Writes resulting in Delayed Write errors.

  * fix NSIS installer's AdminGroup.exe to properly create and
    remove groups when given -create or -remove.  The string comparison
    test was wrong.

  * fs sysname now accepts a list of sysname values

  * added a new registry value HKLM\SOFTWARE\OpenAFS\Client "IoctlDebug"
    DWORD which when set to a non-zero value will cause error message
    text to be output to stderr from the pioctl() routine.  Useful in
    debugging failures of fs.exe, tokens.exe, etc.

  * added a test to the power management code to only perform a
    flush operation if there is at least one network adapter which
    is not a loopback adapter.

  * Fix bug in loading of registry value HKLM\SOFTWARE\OpenAFS\Client
    "EnableKFW".  This value will not be read if the key
    HKCU\SOFTWARE\OpenAFS\Client exists; even if the "EnableKFW"
    value under that key does not.

  * provide mechanisms to force the use of krb524d for Kerberos 5
    ticket to AFS token conversion.  For afslogon.dll and afscreds.exe
    there is a new registry value "Use524" and for aklog.exe a new
    command line parameter "-m".

  * Fix the pattern matching algorithm to properly match patterns
    ending with a '*'.

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

  * Modify the handling of HKLM\SOFTWARE\OpenAFS\Client\Submounts
    to support the REG_EXPAND_SZ type.

21 years agoSTABLE14-windows-combined-20041010
Jeffrey Altman [Mon, 11 Oct 2004 00:52:04 +0000 (00:52 +0000)]
STABLE14-windows-combined-20041010

  * fix the Windows cache manager to prevent it from replacing the
    rx_connection object associated with the cm_conn_t object on each
    and every operation if "fs crypt" was set.  This explains the
    dramatic performance difference when crypt is used vs clear.
    The problem: 'cryptall', a boolean flag indicating whether or not
    "fs crypt" is set, was being compared to the rx_connection
    cryptlevel which is either rxkad_clear:0 or rxkad_crypt:2.
    1 != 2 and therefore the rx_connection was always destroyed
    and replaced on each and every operation.

    Lock the cm_conn_t object around every call to RXAFS_xxxx functions.
    It is not safe for the cm_conn_t object to not be locked because
    rx_DestroyConnection might be called from another thread if:
        - the user's tokens have changed or expired
        - the crypt mode has changed

  * Modify cm_Lookup to evaluate a list of possible values for @sys
    instead of just a single entry.  Re-write cm_ExpandSysname and
    add cm_LookupInternal.

  * Reformat affected files

  * Add cache file name to cache creation errors

(cherry picked from commit d8453a3f467e6350da304dbc0f494591737662cd)

21 years agoSTABLE14-fix-missing-config-quote-20040826
Jim Rees [Sat, 9 Oct 2004 06:05:06 +0000 (06:05 +0000)]
STABLE14-fix-missing-config-quote-20040826

fix missing quote and CPPFLAGS from last commit

(cherry picked from commit 33460d3571b0faf4ca394aa6f7f4980b20942895)

21 years agoSTABLE14-admin-group-nsis-20041004
Jeffrey Altman [Mon, 4 Oct 2004 08:35:38 +0000 (08:35 +0000)]
STABLE14-admin-group-nsis-20041004

correct the test for -create and -remove so that the proper
action is taken for each

(cherry picked from commit 04ec8ea29d1440beca6e8be9bac12a64650c900b)

21 years agoSTABLE14-pioctl-debug-20041003
Jeffrey Altman [Sun, 3 Oct 2004 15:07:34 +0000 (15:07 +0000)]
STABLE14-pioctl-debug-20041003

Add a new registry value HKLM/SOFTWARE/OpenAFS/Client "IoctlDebug" DWORD
which when set to a non-zero value will output error messages to stderr.
This is to assist in debugging ioctl failures when fs.exe, tokens.exe,
etc. fail because of an inability to open the ioctl file name.

(cherry picked from commit e845efc4428fa5764eb5e450b7f5ec8a805eb4f7)