3626 Commits

Author SHA1 Message Date
Derrick Brashear
cd9a91c6bb STABLE14-darwin90-updates-20060813
make things compile cleanly


(cherry picked from commit 202efcf9f5707785ba4c7dab05de9d8dba11952c)
2006-08-13 21:19:57 +00:00
Chas Williams
544358cd9a STABLE14-linux-dentry-iput-20060813
FIXES 37576

update the put_inode handler on linux to avoid some possible deadlocks in situations where we need to swap


(cherry picked from commit b21c13dc3ab751118220dc31276995050841a1ae)
2006-08-13 17:50:43 +00:00
Chas Williams
2a9c655223 STABLE14-fix-congestion-tracking-20060813
FIXES 36951

fix congestion tracking


(cherry picked from commit 031c1819239b5ece45027b25283d980ddc507c93)
2006-08-13 17:41:54 +00:00
Derrick Brashear
8fde8feb1c STABLE14-linux-updates-20060811
fix for current fc kernels, and clean up linux nfs translator
2006-08-11 22:43:33 +00:00
Derrick Brashear
cef102918d STABLE14-macos-install-vos-20060810
install vos in /usr/sbin


(cherry picked from commit 677add475009261b8c1cc4b0cd8cbda985616a54)
2006-08-10 18:07:33 +00:00
Jeffrey Altman
819d96843b STABLE14-windows-buf-queue-handling-20060809
don't free objects that are still on the queue.  remove them first.


(cherry picked from commit aa4d289b87cda5790b268bbb44fd7806379d267f)
2006-08-10 03:47:58 +00:00
Jeffrey Altman
2c5f39a145 STABLE14-windows-backconnectionhostnames-fix-20060809
The previous code failed to specify the correct size of the REG_MULTI_SZ
being written to the registry when appending an additional name to the
list of Back Connection Host names.  This would cause the written string
to contain

   FOO\0B

instead of

   FOO\0\BAR\0\0

this caused problems for Windows 2000 lsass.exe which failed to properly
allocate the buffer for RegQueryValueEx and failed to check that it did
not read beyond the buffer.   If the list was not terminated with two
nuls an exception would be thrown that could result in a lock being
orphaned on the NTLMNameTable.  This would in turn prevent authentications
to UNC resources from completing.  As a result, the startup of
afsd_service.exe would fail if a GlobalAutoMapper drive was configured.

The work around is to set the correct value in the registry before
switching machine names or installing/removing the Microsoft Loopback
Adapter.


(cherry picked from commit cca848edb12abea4deb8f676b07182575d61186d)
2006-08-10 03:46:58 +00:00
Russ Allbery
ac87e9083e STABLE14-rxdebug-man-formatting-20060803
Add missing B<> and S<> markup to the SYNOPSIS.


(cherry picked from commit 5c03f31406276490f05ac2ce1325709447be7df6)
2006-08-04 05:08:26 +00:00
Jeffrey Altman
3e69568534 STABLE14-windows-smb-no-showerrors-20060803
pop up error dialogs prevent auto shutdown and restart of afsd service
on network adapater error


(cherry picked from commit 2247c0e499df70f2de1797e674ce1035514fc05c)
2006-08-04 00:29:43 +00:00
Jeffrey Altman
a8b8c6d78b STABLE14-windows-afslogon-null-ptr-20060803
FIXES 33962

do not dereference a null pointer effDomain


(cherry picked from commit 3002d38bcd30a1ac20c77a2c30a6858435f6d604)
2006-08-03 22:50:05 +00:00
Derrick Brashear
485f884088 STABLE14-aklog-stds-krb5-order-20060802
kfm needs this first so when you include com_err.h from afs as a side effect of krb5.h we don't explode


(cherry picked from commit aebadcd5478994fec011368597004bef2439ccb6)
openafs-stable-1_4_2b3
2006-08-02 20:53:20 +00:00
Derrick Brashear
b98145bd76 STABLE14-endian-fixes-20060802
macos needs us to do weird stuff so -arch i386 -arch ppc works


(cherry picked from commit fd099b3e763b6b2c5bfb87db0cae8a900f031ad3)
2006-08-02 20:06:56 +00:00
Derrick Brashear
c57cf980f7 STABLE14-macos-use-platform-copy-of-afssettings-20060802
we moved this to be made for real; use it


(cherry picked from commit 4ea8536c908871f173d776fc475064761d47d85d)
2006-08-02 05:02:17 +00:00
Derrick Brashear
73576f1eb6 STABLE14-macos-platform-update-20060801
minor cleanup of the platform stuff


(cherry picked from commit 4d67cb2f1645239d1ef73a8847b17275e4cb3feb)
2006-08-02 04:48:47 +00:00
Derrick Brashear
b7067ceec7 STABLE14-darwin-platform-fix-20060801
get rid of tabs


(cherry picked from commit d1da98ac49860379f772bc27bdd86ac410592ad3)
2006-08-01 23:51:52 +00:00
Derrick Brashear
308d02d8cd STABLE14-openafs-stable-1-4-2b3-20060801
make openafs 1.4.2 b3
2006-08-01 23:42:37 +00:00
Jeffrey Altman
67155bbb6f STABLE14-viced-capability-writelock-20060801
add write loc king capability


(cherry picked from commit 80e88d6a80fc3fc0d15650f20ea7fc3fece1a1e4)
2006-08-01 23:33:47 +00:00
Derrick Brashear
434404a50f STABLE14-macos-installer-20060801
partial updates
2006-08-01 23:13:34 +00:00
Russ Allbery
1b0bbe11bf STABLE14-platform-build-fixes-20060801
Add dummy makefiles for all the other supported architectures and fix a
few issues with makefile inclusion in the Makefile.in and
DARWIN/Makefile.in.


(cherry picked from commit 088e1409f8d318697023341e2050a3e58708b0fd)
2006-08-01 22:54:19 +00:00
Derrick Brashear
32560b1bb7 STABLE14-macos-move-afssettings-20060801
build this as part of the build


(cherry picked from commit 86a29ebd32fd9cc48e367930709276a7c489e085)
2006-08-01 22:42:17 +00:00
Jeffrey Altman
1a4cd4a6fc STABLE14-windows-server-ping-20060216
add logging of server addresses, status and capabilities

prevent multiple threads from pinging the same server simultaneously.
instead, threads block and then use the result of the ping that was
already taking place.


(cherry picked from commit 424ae50d1f7dfe0c3557d98f8ae9bc03a8265a21)
2006-08-01 04:22:07 +00:00
Asanka Herath
02b479cbf1 STABLE14-windows-largefile-support-20060623
This patch adds large file support (> 2GB) to the CIFS server and
the cache manager.

It also corrects a significant oversight where the definition of
struct rx_call was inconsistent due to a failure to define AFS_PTHREAD_ENV
prior to including rx.h in all source files.  This prevented all errors
during rx_Read and rx_Write to be ignored.


(cherry picked from commit 015f9ce287c22df7a0b967ee0357d0816b4e0e54)
2006-07-31 23:13:14 +00:00
Jeffrey Altman
5642ff5848 STABLE14-ubik-call-sucks-20060704
make ubik_Call removal work on Windows.


(cherry picked from commit 941ac04165a9239a11b4ab908350dbfae24edfb9)
2006-07-31 22:51:17 +00:00
Derrick Brashear
5f7e8c36bf STABLE14-kreltime-guard-against-null-tm-20060731
so we can memset 0 and get defaults


(cherry picked from commit 67f04fa714580016bdbb707d962ce763023e31aa)
2006-07-31 22:12:59 +00:00
Derrick Brashear
179c941fad STABLE14-fslog-dpf-20060731
turns out it's nice to log why we exit


(cherry picked from commit 75922872e6c29bd059db3b07b7b274e3c4172715)
2006-07-31 20:01:19 +00:00
Jeffrey Altman
64def71c46 STABLE14-viced-write-locking-fix-20060425
According to src/libacl/prs_fs.h the PRSFS_LOCK privilege is only supposed
to control read-locks.  The PRSFS_WRITE and PRSFS_INSERT privileges are
supposed to control write-locks.


(cherry picked from commit ecdc5aca34b0f0dc6bf67eb95f8e6506c556ca26)
2006-07-31 19:35:50 +00:00
Derrick Brashear
27f21f7e8d STABLE14-va-copy-instead-of-just-pointering-20060731
FIXES 35559

va_list isn't integral on ppc


(cherry picked from commit da4775909094e8dc1e14fa9cdbf8ba3baaebf23a)
2006-07-31 19:15:34 +00:00
Russ Allbery
c99a7f176c STABLE14-aklog-man-page-20060731
Rewrite the aklog man page in POD and add documentation of the new flags
and .xlog.

RCS file: /cvs/openafs/src/aklog/Attic/aklog.1,v
Working file: src/aklog/aklog.1
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 3;	selected revisions: 0
description:

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

Fix unterminated B<>.


(cherry picked from commit 5f434b8087d3c73123860f853d15a0f51c03bf73)
2006-07-31 18:49:31 +00:00
Derrick Brashear
6629b2af2c STABLE14-ubik-call-sucks-20060703
ubik_Call's pseudo-varargs construction is hideous

put it out of its misery where possible
2006-07-31 18:42:20 +00:00
Derrick Brashear
3cf6d9ced0 STABLE14-macos-packaging-update-20060405
FIXES 29226

copy cellservdb if there is none


(cherry picked from commit b3120246765e9f5d144ac470b66269ccbbce48a9)
2006-07-31 18:37:51 +00:00
Derrick Brashear
55227d9357 STABLE14-fileserver-hates-pruclient-20060626
right now there is one struct ubik_client shared by all threads in the fileserve
r, which sucks when one has it locked

let's, uh, fix that.


(cherry picked from commit 791b2141809fc0ad2da78ab3cd91303ac0ec482d)
2006-07-31 18:15:48 +00:00
Derrick Brashear
ba9e369629 STABLE14-ubik-call-sucks-20060703
ubik_Call's pseudo-varargs construction is hideous

put it out of its misery where possible
2006-07-31 18:07:47 +00:00
Derrick Brashear
e2a3556e49 STABLE14-namei_mapper-20060731
add chaskiel's namei mapping tool to cvs and make a rule to build it


(cherry picked from commit 8c4496602badc1b0aa2642e061a720d4d1f108b8)
2006-07-31 17:50:52 +00:00
Christopher Allen Wing
64ba11890f STABLE14-bucoord-64-bit-cleanup-20060701
However, in bucoord/commands.c, bc_VolRestoreCmd(), bc_DiskRestoreCmd(),
bc_VolsetRestoreCmd(), and bc_DumpCmd() were passing '0' as arguments
instead of NULL.  Because there is no prototype for bc_StartDmpRst() this
results in a crash on 64-bit Linux.  (when running 'volrestore' from an
interactive backup session)
2006-07-31 17:36:32 +00:00
Alessandro Dellavedova
14d2c07f5d STABLE14-fbsd-ifnet-flags-20060731
FIXES 35757

i should really fix this right


(cherry picked from commit c04c2a0b1aa266c67d2e7e056e6c3f9518a39a2a)
2006-07-31 17:16:18 +00:00
Jim Rees
767c03a4ba STABLE14-fbsd61-20060221
Param file for FreeBSD 6.1. Builds, untested.


(cherry picked from commit d7a60f50a40da4acc28fe7ebbd145a25a9ba8b6d)
2006-07-31 17:06:33 +00:00
Hans-Werner Paulsen
abc8692fe9 STABLE14-libafsauthent-avoid-global-host-20060731
FIXES 36411

defining host globally in the rmtsysc interface: dumb


(cherry picked from commit e6f6adc1bc310482baa868046e68c386ab1c822b)
2006-07-31 16:33:46 +00:00
Derrick Brashear
14842c6a0a STABLE14-vos-avoid-freeing-null-pointers-20060731
FIXES 36441

pretty obvious. don't.


(cherry picked from commit 77c502047025d8073e4cd35c5e4851fd1d2eb369)
2006-07-31 16:24:09 +00:00
Derrick Brashear
0f94fd9eb5 STABLE14-call-bzero-in-convertvolumeinfo-with-correct-size-for-dotreadonly-20060731
FIXES 36442

and slipstream in bzero() killing


(cherry picked from commit 8d2dbc51f40e61cbe6157c910dff18606cf84282)
2006-07-31 16:18:51 +00:00
Tom Keiser
8662becccc STABLE14-rx-readpacket-leak-20060728
avoid just allocating packets forever


(cherry picked from commit e199597d529a035f50e57e7dd653a8095313d246)
2006-07-31 16:08:20 +00:00
Jeffrey Altman
a4abf6eb05 STABLE14-windows-version-20060728
1.4.2-beta3 == 1.4.0153.0
2006-07-28 17:34:26 +00:00
Jeffrey Altman
4a9d9f9051 STABLE14-windows-notes-20060728
updates for 1.4.2-beta2
2006-07-28 17:30:53 +00:00
Jeffrey Altman
9de260a4c7 STABLE14-windows-remove-bad-asserts-20060728
remove assert()s that should simply be if()


(cherry picked from commit a4211966d7f9d16dd2f93c9122ba09b4920dfd8e)
2006-07-28 03:08:41 +00:00
Jeffrey Altman
41da99898e STABLE14-windows-integrated-logon-20060726
delta windows-integrated-logon-20060724 would cause Windows 2000
 systems to blue screen with an exception in winlogon.exe.


(cherry picked from commit 3167f707fdf582c8ca851a353ca0c82b92ccc947)
2006-07-26 13:54:36 +00:00
Derrick Brashear
8603e2c7f5 STABLE14-des-no-obsolete-encrypt-20060725
this version of encrypt() conflicts with current linux (which returns void)

we don't use it, so, buh-bye


(cherry picked from commit 68e8e996b6cc82d5097e82a4c9c8af9eb8c3c093)
2006-07-25 15:46:18 +00:00
Derrick Brashear
653ffda60f STABLE14-cellservdb-dl-sanity-check-20060725
protect me from myself


(cherry picked from commit 238ac51e80551bf57334867521817103fddd2cbf)
2006-07-25 15:39:51 +00:00
Jeffrey Altman
0bf95ab57b STABLE14-windows-integrated-logon-20060724
* apply ACL restrictions to credential cache immediately after
   initialization

 * move file from system temp directory to user temp directory
   prior to starting executable as user to perform credential
   import


(cherry picked from commit 1a0329fef030fedce3fb12d9c641825b0d49f053)
2006-07-24 15:11:30 +00:00
Derrick Brashear
21fdbc0ecf STABLE14-aix5-curpag-20060719
curpag() exists in too many places
anyway, fix em


(cherry picked from commit 72abe41e1df0e530ae73e50b0b952b26d4e26683)
2006-07-21 00:35:43 +00:00
Jeffrey Altman
13a3f435c1 STABLE14-viced-checkrights-loglevel-20060719
increase the log level on the "CheckRights: len=%u, for host=%s:%d\n"
message to 5.


(cherry picked from commit 14ed562c4b576bcfe6b0147b86fa5f7899d22c16)
2006-07-19 15:43:18 +00:00
Tom Keiser
41280c590d STABLE14-rxkad-typeindex-20060718
clean up an off by one error for type index


(cherry picked from commit 51d0c3c8d1daf63e2a9d07ff5be0e649eb821b0c)
2006-07-19 05:11:42 +00:00