2518 Commits

Author SHA1 Message Date
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
Jeffrey Altman
93fc7897ec 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)
2004-12-07 05:54:43 +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
Ken Hornstein
f8cdb410d2 STABLE14-aklog-intergration-20041119
Import the aklog source from the MIT AFS-Kerberos 5 migration kit.
2004-12-07 05:51:24 +00:00
Derrick Brashear
875982f746 STABLE14-proc-cellservdb-20041110
put a cellservdb in /proc/fs/openafs


(cherry picked from commit 9b579bf0f77b6832897c5b50fa6a5f6b40940717)
2004-12-07 05:50:07 +00:00
Nathan Neulinger
33fe4bd130 STABLE14-update-objdir-20041110
make objdir builds work (with fix from shadow@dementia.org in src/rxkad/...)


(cherry picked from commit fbec56963df5d556056e4da37c3b6468a1ca69c5)
2004-12-07 05:49:33 +00:00
Derrick Brashear
5b9660aba0 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)
2004-12-07 05:48:55 +00:00
Derrick Brashear
c5d4566e9c STABLE14-provide-fPIC-method-for-amd64-20040508
FIXES 3680

allow building fPIC on amd64
openafs-devel-1_3_74
2004-11-09 19:35:50 +00:00
Derrick Brashear
3af0bff587 STABLE14-openafs-1374-20041109
make this openafs 1.3.74
2004-11-09 19:31:00 +00:00
Horst Birthelmer
c8bc0854f8 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)
2004-11-09 17:20:26 +00:00
Sam Hartman
baf6965f15 STABLE14-ppc-linux26-20041108
FIXES 15770

support ppc linux 2.6


(cherry picked from commit 565126d68eed60e5787be6202fb38619baeab3e5)
2004-11-09 17:19:55 +00:00
Jeffrey Hutzelman
ef34968228 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)
2004-11-09 17:19:16 +00:00
Douglas Engert
96d3312db9 STABLE14-vfsck-sol9-breadwrite-args-20041108
FIXES 15927

fix arg types for bread/bwrite for solaris 9


(cherry picked from commit 40c1d00508b3ad9e4384ad7cc3f39f7a206c4014)
2004-11-09 17:18:48 +00:00
Jeffrey Hutzelman
9e5997c9f5 STABLE14-nfs3-no-readdirplus-20041108
FIXES 15961

don't support readdirplus in nfsv3


(cherry picked from commit 31dd436712c7119a0bcb0ad534b7e9e6304dd298)
2004-11-09 17:18:18 +00:00
Chaskiel M Grundman
8808a9baa6 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)
2004-11-09 17:17:49 +00:00
Jeffrey Hutzelman
91945cb5f4 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)
2004-11-09 17:17:25 +00:00
Derrick Brashear
7801a69a06 STABLE14-any-way-damnit-20041107
no comment.


(cherry picked from commit ee23c5f90a7069bd8203fbf44575da361a63d7b8)
2004-11-09 17:16:40 +00:00
Derrick Brashear
525f42ea0d 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)
2004-11-09 17:16:12 +00:00
Chaskiel M Grundman
68bb96e98a 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)
2004-11-09 17:14:57 +00:00
Kris Van Hees
46e061df9c STABLE14-vos-timestamp-handling-20041106
FIXES 15708

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


(cherry picked from commit 756488a8395b5c45ceb383ca0106164e24bcb66c)
2004-11-09 17:13:45 +00:00
Chas Williams
42b78bdd10 STABLE14-irix-largefile-update-20041104
from peter tripician via chas. update so largefile support stands a chance of working


(cherry picked from commit 6dce8ba4e23c6482856aaf35cb5dc5168ef054cc)
2004-11-09 17:13:17 +00:00
Jim Rees
db648ba791 STABLE14-openbsd36-20041104
auto-detect OpenBSD 3.6.


(cherry picked from commit df99b514f619cde44b223a0e1f22ba856e548842)
2004-11-09 17:12:27 +00:00