3689 Commits

Author SHA1 Message Date
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
Jeffrey Altman
68169f767c STABLE14-windows-wix-2_0_4221-20060718
* Updates to WIX installer to support the 2.0.4221 build

 * Removes unnecessary files from Release Notes


(cherry picked from commit 436e8fe17b2051db806e386db86b3de789afb2f0)
2006-07-18 18:00:35 +00:00
Tom Keiser
c3e99276c1 STABLE14-aix-largefile-20060714
FDH_WRITE can return something great er than an int32 size for largefile


(cherry picked from commit 7cb94029ce2092f2117742047cffd3c6b58292cd)
2006-07-14 20:24:06 +00:00
Derek Atkins
97faefba68 STABLE14-linux-posix-lock-file-api-fix-20060714
fix lock enrollment for older kernels


(cherry picked from commit 3a8a83c061965195c4842d89b888e37cd4b33ee3)
2006-07-14 15:56:02 +00:00
Derrick Brashear
af4757a1ec STABLE14-vpurge-needs-no-lock-20060713
don't hold the VOL_LOCK during vpurgevolume
volserver's transaction stuff (NewTrans, actually) precludes any problem


(cherry picked from commit 6878e0b6348a649768274adbce77500fbd45caa4)
2006-07-13 19:20:32 +00:00
Derrick Brashear
913d0efa5c STABLE14-rxkad-private-reorder-structures-20060713
based on fix from tkeiser@gmail.com for aix segfaulting issue; keep offsets of
cprivate and sprivate's copies of type and level the same


(cherry picked from commit 845b4ac1cf8f97c5c4d84e36109ef477edef4a31)
2006-07-13 18:56:33 +00:00
Derrick Brashear
4beaec411e STABLE14-tsm-interface-simple-uid-20060713
for now we use afs_uint32 as a uid in the exported interface


(cherry picked from commit 8b898261c1c682f819856966f8158aba36d9abdb)
2006-07-13 18:39:44 +00:00
Tom Keiser
f327b76fb1 STABLE14-aix-lam-20060712
tsm for aix5
2006-07-13 18:19:39 +00:00
Jim Rees
b02c8d517e STABLE14-fix-includes-merge-20060712
Now that we include arpa/inet.h, also include its prerequisites,
and fix the ordering.
2006-07-12 14:42:25 +00:00
Jeffrey Altman
337ab068b4 STABLE14-windows-wait-rx-hard-dead-time-20060710
Don't timeout based upon the LAN Workstation Session Timeout value.
Instead wait for the rx hard dead timeout.


(cherry picked from commit 8f2aba65819a668fc4a78c0ab929932c23cbc381)
2006-07-10 20:25:41 +00:00
Jeffrey Altman
0efa9141e7 STABLE14-windows-release-notes-20060706
Update the release notes for the 1.4.2 build.  Generate from WinWord
as "filtered html".  This should make the files smaller.
2006-07-07 02:15:19 +00:00
Derrick Brashear
503182dbde STABLE14-openafs-1-4-2b2-20060705
make openafs 1.4.2-b2
openafs-stable-1_4_2-beta2
2006-07-05 21:42:18 +00:00
Jeffrey Altman
aa9942b8aa STABLE14-windows-vlserver-makefile-correction-20060705
so make clean works right (remove vldbint.h)


(cherry picked from commit 3aa506fe502f010135d25e0d6996f5cdc38a13bd)
2006-07-05 20:19:44 +00:00
Derrick Brashear
ad0a3f05f0 STABLE14-libafsrpc-export-xdr-20060705
"       ld: warning: relocation warning: R_SPARC_COPY: file
       /usr/local/lib/libafsrpc.so: symbol
        rx_enable_stats: relocation bound to a symbol with STV_PROTECTED
       visibility
       Undefined                       first referenced
        symbol                             in file
       xdr_afs_uint32
       /usr/local/lib/libafsauthent.a(ptint.xdr.o)
       ld: fatal: Symbol referencing errors. No output written to slapd
       collect2: ld returned 1 exit status
"

one can guess how that might be less than useful


(cherry picked from commit 3d4b12626136a59bd876648e0d1360f629998df8)
2006-07-05 19:34:41 +00:00
Jeffrey Altman
65338800bc STABLE14-windows-version-20060705
1.4.2-beta2 == 1.4.1052
2006-07-05 18:11:16 +00:00
Jeffrey Altman
6d0686bccd STABLE14-viced-uninitialized-20060704
tcon in XStatsVersion.


(cherry picked from commit 15963ecb3459f34025c0e8fdbf8f1055e1e4a294)
2006-07-04 07:16:42 +00:00
Tom Keiser
30a18e7234 STABLE14-sol10u2-rename-20060703
FIXES 34774

In s10u2 the vnode path cache code was modified so that we're no longer
guaranteed of having a valid path cache pointer for the lofs mount case.
Attached patch changes gafs_rename to deal with this. Patch also removes
unnecessary MODLOAD32 build rule from sun4x_510 case.


(cherry picked from commit a2d5bb078f3df6dc6fe992fdcaaf8b5a5607c0d6)
2006-07-03 19:43:39 +00:00
Jeffrey Altman
7037c2210d STABLE14-windows-notes-20060703
notes
2006-07-03 18:12:31 +00:00
Jeffrey Altman
d48cc9d32a STABLE14-windows-afslogon-pr_end-20060702
* do not attempt to copy kfw krb5 creds if integrated logon disabled

* disable use of automatic registration from afslogon.dll.  calling
  pr_Initialize() results in rx_Init() being called which creates
  threads that prevent safe unloading of the dll.  This is causing
  crashes in third party applications that call CreateProcessAsUser()
  which in turn temporarily loads afslogon.dll.

* add life_to_time to afskfw.c in order remove the link to the rxkad
  and des libraries


(cherry picked from commit 61df8d9fc834b87d758d8581e73fa7c05198ecf4)
2006-07-03 02:20:45 +00:00
Jeffrey Altman
19e7a9b587 STABLE14-windows-nsis-sdk-20060702
Move SDK to Program Files\OpenAFS\SDK


(cherry picked from commit 5accc48e1b0db55c56ba64abe0450d511c0fdf2a)
2006-07-03 02:16:57 +00:00
Jeffrey Altman
1e0e5254cb STABLE14-windows-library-cleanup-20060702
afs_winsockCleanup


(cherry picked from commit 20b4f785b56ff604bab72d3b624aae74a9e5ae5d)
2006-07-03 02:16:35 +00:00
Jeffrey Altman
3514aec55d STABLE14-windows-afsauth-krb-20060702
Build the afsuth.krb library


(cherry picked from commit e66467f382a31345f3ea9dd919ea703eccb623d9)
2006-07-03 02:12:01 +00:00
Christopher Allen Wing
e631787fb7 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-01 16:24:35 +00:00
Derrick Brashear
2d8a492bae STABLE14-butc-prototyping-20060701
have some prototypes
happy july 1
and what a crappy day it is


(cherry picked from commit 1947002d11358b9427adce1d6e03f5357a416ad8)
2006-07-01 06:04:12 +00:00
Derrick Brashear
741c999083 STABLE14-libcmd-support-version-switch-20060630
well, i guess adm will be sad until it exports AFSVersion, but, life is hard.


(cherry picked from commit 350c140d89198cb7f9f8b241188f9937d7da119e)
2006-06-30 20:45:48 +00:00
Tom Keiser
8bd16e78ae STABLE14-solaris-vfsops-20060629
fix symbol binding for modern solaris 10 patches (6/06)
which kills a few we didn't need anyway


(cherry picked from commit 8a1a06b5eb0e415859fd841c3c4a6b578eaea022)
2006-06-30 15:06:11 +00:00
Tom Keiser
765728c339 STABLE14-salvager-20060628
make ClearROInUseBit actually do it


(cherry picked from commit 2dcf63ef4e044019bda5889f1de332432124bb71)
2006-06-30 14:59:10 +00:00
Christopher Allen Wing
40d4cb36d9 STABLE14-rxbind-typo-fix-20060629
FIXES 34634

kill this obvious typo


(cherry picked from commit bc9f256f1c6d2ac26a0b6bfc15de85de895ecf0b)
2006-06-30 01:20:10 +00:00
Jeffrey Altman
fbe651dc36 STABLE14-rxkad-rt34568-20060629
FIXES 34568

The use of strncmp() results in p->v5_str being treated as matching
prefix instead of as the complete string.  This causes "ftpa" to be
considered a match for "ftp".


(cherry picked from commit f0830f89a11a2fea06a26270a90c7ddf8365a533)
2006-06-30 00:25:49 +00:00
Jeffrey Altman
55f0f45a09 STABLE14-windows-uninitialized-vars-20060627
uninitialized pointers when dereferenced do bad things


(cherry picked from commit a8e481ddd92744944d2b06fd5c8ed28383297f6a)
2006-06-27 22:56:12 +00:00
Christopher Allen Wing
866666cfda STABLE14-afsutil-includes-20060623
Include <afs/afsutil.h> for prototypes of afs_inet_ntoa and afs_inet_ntoa_r.


(cherry picked from commit 2a1aff4104dd9a71bebf1a63ca85ac86338b3b1b)
2006-06-26 17:19:06 +00:00
Jeffrey Altman
f2c56c5568 STABLE14-windows-cleanup-20060625
cleanup AFS_component_version_number.h


(cherry picked from commit 0b9b02178e7a3d8df39fec9c83f8b49230ce30d9)
2006-06-25 17:56:30 +00:00
Jeffrey Altman
fbf29b6193 STABLE14-windows-nsis-help-files-install-location-20060625
place the help files in the correct location


(cherry picked from commit bfa26d1ddfc7727a9f8c2e79c8d608c586823a12)
2006-06-25 15:55:35 +00:00
Jeffrey Altman
613db5946c STABLE14-windows-report-quota-diskfull-20060624
overquota and diskfull errors are detected while writing dirty buffers
to the file server.  A flag is set on the scp so that the error can
be returned to the caller.  cm_FSync was clearing the flag without
returning the error. This permitted calls to Win32 WriteFile to report
success even when they failed.


(cherry picked from commit 8e0033ba73ef9551cb24052ef90db677e4adad50)
2006-06-25 02:49:59 +00:00
Russ Allbery
52fda2385e STABLE14-rhel3-krb524-checking-20060624
FIXES 30589

Check for krb524 functions in libkrb524 if not found in libkrb5 so that the
Kerberos v5 support will build on RHEL3.  Thanks to Derek Atkins for the
debugging and testing.


(cherry picked from commit a4cb03504075771e0f2cfebf931f91f29553c73a)
2006-06-24 17:22:13 +00:00
Asanka Herath
385c742df5 STABLE14-windows-wix-help-files-install-location-20060623
place the help files in the correct location


(cherry picked from commit e264711295275b7b1372e701bf106cf75b342007)
2006-06-24 04:05:44 +00:00
Jim Rees
35c8a3599b STABLE14-obsd-39-141-20060623
By popular demand, merge OpenBSD 3.9 changes to 1.4.x branch
2006-06-23 15:21:12 +00:00
Jeffrey Altman
bb5a4fa334 STABLE14-windows-cm_syncop-buflocked-20060622
If cm_SyncOp is called with the buffer locked, it must be returned
locked even on error.


(cherry picked from commit ae9a07a8e0a5d0e83e138ef9bbd71b3e7e0072ea)
2006-06-23 04:37:57 +00:00