2489 Commits

Author SHA1 Message Date
Jeffrey Altman
7b12a5af6e 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
2004-12-13 14:13:08 +00:00
Chaskiel M Grundman
f13c8a5ceb STABLE14-linux26-dont-fix-inode-size-ourselves-20041208
hopefully fix cache truncation


(cherry picked from commit 038116a881c1773cda50eca783f5308a52121681)
openafs-devel-1_3_75
2004-12-08 17:21:46 +00:00
Derrick Brashear
6b4c70f87f STABLE14-openafs-1-3-75-20041208
mark things 1.3.75.
2004-12-08 11:12:19 +00:00
Derrick Brashear
fba7229c18 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)
2004-12-08 10:35:28 +00:00
Jeffrey Altman
b8894e18a1 STABLE14-wix-update-20041208
Add property for StoreAnsiFilenames


(cherry picked from commit e8e9a297bc92f40ff03a468b64e8f0b5c930fa6c)
2004-12-08 10:20:50 +00:00
Jeffrey Altman
6e4b4696e5 STABLE14-wix-updates-20041208
Add new property for StoreAnsiFilenames
2004-12-08 09:58:49 +00:00
Jeffrey Altman
6af41739b1 STABLE14-windows-version-20041208
1.3.7500


(cherry picked from commit 8a9f304b868bd74a30c1059253acd2094673ad8b)
2004-12-08 09:12:09 +00:00
Robert S Murawski IV
0fd03ea39e STABLE14-nsis-installer-20041208
Preserve previous install settings during upgrade


(cherry picked from commit 3b361484428cd276627c92add48747c57f3db360)
2004-12-08 09:10:37 +00:00
Derrick Brashear
b6a6de085a STABLE14-x86-solaris-20041207
fix my mistake


(cherry picked from commit f41121f32825cf31de238af871605d523727b9cf)
2004-12-07 22:27:16 +00:00
Douglas Engert
b88ad15ebd STABLE14-sparc32-no-largefile-20041207
FIXES 16719

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


(cherry picked from commit d271c1c295d138fa5da622a4dd9136d535f4e42d)
2004-12-07 18:30:42 +00:00
Derrick Brashear
b4fe414875 STABLE14-afsd-chunksize-error-20041207
FIXES 16723

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


(cherry picked from commit 54643e26780bed06f1194602426f16dffcf9077d)
2004-12-07 18:25:08 +00:00
Harald Barth
5b8a2ad7f1 STABLE14-aix-5-update-20041207
updates for aix 5


(cherry picked from commit beff42414aeb908b141f116d2b47b2a5baee28ad)
2004-12-07 16:48:34 +00:00
Harald Barth
02b2db631d STABLE14-volname-cleanup-20041207
cleanup how volname or id number is parsed
volname-cleanup-20041207


(cherry picked from commit d6c8b023bb580ccb48198fb4ee070b9e1f950f51)
2004-12-07 16:37:09 +00:00
Jeffrey Altman
e3e8a0fb1b STABLE14-pthread-event-names-20041207
pullup change for debugging purposes.
2004-12-07 16:16:09 +00:00
Matt Benjamin
550a9d37ce STABLE14-umlinux26-20041207
FIXES 16591

umlinux 26 support. i wonder what i just reverted


(cherry picked from commit 4d550ad6b6ec430e3d2564f37ed4b471f8928a38)
2004-12-07 15:59:32 +00:00
Joakim Fallsjö
54e6b437f8 STABLE14-sunx86-20041207
update to provide sun x86 support


(cherry picked from commit 1183771a422a00fcc95d47d06b71479fcc99f4b7)
2004-12-07 14:24:14 +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
Jim Rees
ee682fb4f7 STABLE14-no-oscheck-20041206
remove ostype and osrelease check; more trouble than they're worth


(cherry picked from commit d39b99f3da856672edd61adb82532039631b7cb4)
2004-12-07 06:19:16 +00:00
Jeffrey Hutzelman
769f42f1c2 STABLE14-rxdebug-more-dewarn-20041207
FIXES 16660

more dewarning


(cherry picked from commit a3b31a12531558717d46b501222040c1bf4c1402)
2004-12-07 06:17:15 +00:00
Jeffrey Altman
aadec7b865 STABLE14-windows-smb-20041206
Fixup references to SMB Dfs functions.  Now need to fill in the details


(cherry picked from commit cca8097cb99349bd57aca44113cc0c3cebb537ca)
2004-12-07 06:16:47 +00:00
Jeffrey Altman
79b97bfa9f 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)
2004-12-07 06:16:22 +00:00
Jeffrey Altman
97b3c70d76 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)
2004-12-07 06:15:56 +00:00
Jeffrey Altman
8a6bfd86a9 STABLE14-windows-version-20041204
1.3.7402


(cherry picked from commit eb164be09070dbf3aeabaa04afef5d16cdbfaa7a)
2004-12-07 06:15:27 +00:00
Jeffrey Altman
8179c7d66b 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)
2004-12-07 06:14:52 +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
8b112ce5c5 STABLE14-windows-afsd-init-20041202
Fix a memory overwrite condition caused when the BackConnectionHostNames
key does not exist


(cherry picked from commit a8d0ca81a8d79b65e265ebf67ae6b9ddc868cac6)
2004-12-07 06:13:26 +00:00
Horst Birthelmer
ae50192d23 STABLE14-afs-server-multi-rx-clesnup-20041202
clean up multirx code 's use of lock


(cherry picked from commit bdd73ef446e4fb1788f414549f39a63ac2419470)
2004-12-07 06:12:40 +00:00
Jeffrey Hutzelman
2abee44d61 STABLE14-amd64-linux-dewarn-20041202
FIXES 16342

clean up warnings for amd64


(cherry picked from commit 75e31ca662dc32581bde67ef5102ec15bac1be60)
2004-12-07 06:12:03 +00:00
Jeffrey Hutzelman
2d4e637b93 STABLE14-rx-dewarnify-20041202
FIXES 16277

dewarnify rx


(cherry picked from commit ffce916e8e37662bb032287a06ee85c28c5e2b3a)
2004-12-07 06:10:05 +00:00
Jeffrey Hutzelman
31ac462617 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)
2004-12-07 06:09:23 +00:00
Matt Benjamin
7746776a84 STABLE14-umlinux26-20041202
FIXES 16591

umlinux 26 support. i wonder what i just reverted
2004-12-07 06:08:36 +00:00
Douglas Engert
33ea19e7ef 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)
2004-12-07 06:07:20 +00:00
Matt Benjamin
288240d3fd STABLE14-rxdebug-use-afs-ntoa-r-20041202
FIXES 16050

use afs_inet_ntoa_r in rxdebug for consistency


(cherry picked from commit 40d674c9bcefc9b701a2e39edbf3f7e54c8fbcc0)
2004-12-07 06:06:50 +00:00
Jeffrey Hutzelman
5c1e9fab80 STABLE14-vol-bless-20041202
FIXES 15928

add volume blesser


(cherry picked from commit 93bc285e69f1588b04224e65424bfb7e67b14f6d)
2004-12-07 06:06:17 +00:00
Jeffrey Hutzelman
20f29046c9 STABLE14-linux26-set-mps-correctly-200412102
FIXES 15645

set MPS correctly when compiling on 2.6


(cherry picked from commit f32f9810b188878e1e79b004873f91c1c538d40e)
2004-12-07 06:05:41 +00:00
Chaskiel M Grundman
6087e81797 STABLE14-libafsrpc-assertion-failed-20041202
FIXES 16432

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


(cherry picked from commit d8e6630fffbbc6635c49c8c6d45a4550144e7f94)
2004-12-07 06:04:18 +00:00
Jeffrey Altman
f1495b70fb 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)
2004-12-07 06:03:40 +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
Jeffrey Altman
df39a2578a 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)
2004-12-07 06:02:46 +00:00
Jeffrey Altman
69baf6e0d7 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)
2004-12-07 06:02:22 +00:00
Jeffrey Altman
5b6ceee49f 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)
2004-12-07 06:01:41 +00:00
Asanka Herath
fe60f79700 STABLE14-windows-clean-20041129
Cleanup clean targets to not break with cmd shell


(cherry picked from commit 0f1892f09b123d8251c99e81106aae49b42d477e)
2004-12-07 06:00:54 +00:00
Jeffrey Altman
b30c6cd228 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)
2004-12-07 06:00:23 +00:00
Jeffrey Altman
5d93346cf7 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)
2004-12-07 05:59:54 +00:00
Jeffrey Altman
e9b4e84ea6 STABLE14-windows-freelance-init-20041127
replace the registry population scheme with cm_freelanceAddMount
based on the CellRootName


(cherry picked from commit a688328e8524f7232bfc294ea02b4d87d7172656)
2004-12-07 05:59:27 +00:00
Jeffrey Altman
8425839232 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)
2004-12-07 05:58:52 +00:00
Jeffrey Altman
81673c10c6 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)
2004-12-07 05:58:20 +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
Love Hörnquist-Åstrand
db38809159 STABLE14-netbsd21-20041124
netbsd 2.99.x (aka 3.0) support
(aka 2.1?)


(cherry picked from commit 2a7cf0d2ae5094dcf2b09e5794c86fe4326b9c4f)
2004-12-07 05:56:50 +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