openafs.git
17 years agoDEVEL15-bucoord-64-bit-cleanup-20060701
Christopher Allen Wing [Mon, 31 Jul 2006 17:37:19 +0000]
DEVEL15-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)

(cherry picked from commit 57ef7a5d999de2829e2f205f2308101819e7f08a)

17 years agoDEVEL15-fbsd-ifnet-flags-20060731
Alessandro Dellavedova [Mon, 31 Jul 2006 17:16:52 +0000]
DEVEL15-fbsd-ifnet-flags-20060731

FIXES 35757

i should really fix this right

(cherry picked from commit c04c2a0b1aa266c67d2e7e056e6c3f9518a39a2a)

17 years agoDEVEL15-windows-cifs-vista-20060731
Jeffrey Altman [Mon, 31 Jul 2006 16:51:38 +0000]
DEVEL15-windows-cifs-vista-20060731

remove claim of support for Vista CIFS protocol version

(cherry picked from commit 5a0c56d33b9bc842cee10afc977f59b04e46d728)

17 years agoDEVEL15-windows-version-20060731
Jeffrey Altman [Mon, 31 Jul 2006 16:48:43 +0000]
DEVEL15-windows-version-20060731

1.5.5 = 1.5.0500.0

17 years agoDEVEL15-libafsauthent-avoid-global-host-20060731
Hans-Werner Paulsen [Mon, 31 Jul 2006 16:34:27 +0000]
DEVEL15-libafsauthent-avoid-global-host-20060731

FIXES 36411

defining host globally in the rmtsysc interface: dumb

(cherry picked from commit e6f6adc1bc310482baa868046e68c386ab1c822b)

17 years agoDEVEL15-vos-avoid-freeing-null-pointers-20060731
Derrick Brashear [Mon, 31 Jul 2006 16:24:45 +0000]
DEVEL15-vos-avoid-freeing-null-pointers-20060731

FIXES 36441

pretty obvious. don't.

(cherry picked from commit 77c502047025d8073e4cd35c5e4851fd1d2eb369)

17 years agoDEVEL15-call-bzero-in-convertvolumeinfo-with-correct-size-for-dotreadonly-20060731
Derrick Brashear [Mon, 31 Jul 2006 16:19:36 +0000]
DEVEL15-call-bzero-in-convertvolumeinfo-with-correct-size-for-dotreadonly-20060731

FIXES 36442

and slipstream in bzero() killing

(cherry picked from commit 8d2dbc51f40e61cbe6157c910dff18606cf84282)

17 years agoDEVEL15-rx-readpacket-leak-20060728
Tom Keiser [Mon, 31 Jul 2006 16:09:09 +0000]
DEVEL15-rx-readpacket-leak-20060728

avoid just allocating packets forever

(cherry picked from commit e199597d529a035f50e57e7dd653a8095313d246)

17 years agoDEVEL15-STABLE15-windows-version-20060728 openafs-devel-1_5_4
Jeffrey Altman [Fri, 28 Jul 2006 17:28:56 +0000]
DEVEL15-STABLE15-windows-version-20060728

1.5.4 = 1.5.0400.0

17 years agoDEVEL15-windows-notes-20060728
Jeffrey Altman [Fri, 28 Jul 2006 17:26:51 +0000]
DEVEL15-windows-notes-20060728

updates for 1.5.4

17 years agoDEVEL15-windows-cifs-compatibility-20060728
Jeffrey Altman [Fri, 28 Jul 2006 14:38:13 +0000]
DEVEL15-windows-cifs-compatibility-20060728

more compatibility fixes to the CIFS gateway server

(cherry picked from commit ebcfab8d3247ff6fa98726c88a55a5cec0d91f97)

17 years agoDEVEL15-windows-remove-bad-asserts-20060728
Jeffrey Altman [Fri, 28 Jul 2006 03:10:15 +0000]
DEVEL15-windows-remove-bad-asserts-20060728

remove assert()s that should simply be if()

(cherry picked from commit a4211966d7f9d16dd2f93c9122ba09b4920dfd8e)

17 years agoDEVEL15-windows-cifs-undo-large-x-20060726
Jeffrey Altman [Wed, 26 Jul 2006 14:54:41 +0000]
DEVEL15-windows-cifs-undo-large-x-20060726

remove claim of support for LARGE_READX and LARGE_WRITEX

(cherry picked from commit b805981546444ba90c9d0b811358658e720f9277)

17 years agoDEVEL15-windows-cifs-rewrite-20060726
Jeffrey Altman [Wed, 26 Jul 2006 14:04:08 +0000]
DEVEL15-windows-cifs-rewrite-20060726

 delta windows-cifs-rewrite-20060717 introduced a bug in Tran2SetFileInfo
 which would cause data loss by inappropriately truncating the file
 instead of setting the file length.

 this commit adds a new smb_SetSMBParmLong() function

 fix smb_ReceiveCoreWrite to check for locks before truncation and
 adds much debugging

 fix CIFS protocol negotiation and declares support for large readx
 and writex

 updates debugging strings for Tran2 functions

 configures the windows firewall before sleeping in cm_Daemon()

(cherry picked from commit d42394946fc8c4da27361e3ad39766f83b659fd1)

17 years agoDEVEL15-windows-integrated-logon-20060726
Jeffrey Altman [Wed, 26 Jul 2006 13:51:21 +0000]
DEVEL15-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)

17 years agoDEVEL15-des-no-obsolete-encrypt-20060725
Derrick Brashear [Tue, 25 Jul 2006 15:47:41 +0000]
DEVEL15-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)

17 years agoDEVEL15-cellservdb-dl-sanity-check-20060725
Derrick Brashear [Tue, 25 Jul 2006 15:42:17 +0000]
DEVEL15-cellservdb-dl-sanity-check-20060725

protect me from myself

(cherry picked from commit 238ac51e80551bf57334867521817103fddd2cbf)

17 years agoDEVEL15-windows-integrated-logon-20060724
Jeffrey Altman [Mon, 24 Jul 2006 15:13:16 +0000]
DEVEL15-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)

17 years agoDEVEL15-windows-ifs-cleanup-20060720
Jeffrey Altman [Thu, 20 Jul 2006 22:46:18 +0000]
DEVEL15-windows-ifs-cleanup-20060720

* fix up prototypes

* remove unused variables

* re-organize code for readability

* fix type safety issues

(cherry picked from commit 22f43b30a094669cc8b52bfb416ef6fb099bb93c)

17 years agoDEVEL15-windows-ifs-afsrdr-20060718
Jeffrey Altman [Thu, 20 Jul 2006 07:08:07 +0000]
DEVEL15-windows-ifs-afsrdr-20060718

updates to ifs afsrdr code to allow it to compile.

(cherry picked from commit 8d4d47860baeb983759782f64d46ec70659e5022)

17 years agoDEVEL15-windows-ifs-20060718
Jeffrey Altman [Thu, 20 Jul 2006 04:26:53 +0000]
DEVEL15-windows-ifs-20060718

enable the afsifs code to build again

(cherry picked from commit 66db2c9bec2b6a38aab49eb31a992701930bd055)

17 years agoDEVEL15-aix5-curpag-20060719
Derrick Brashear [Wed, 19 Jul 2006 22:17:17 +0000]
DEVEL15-aix5-curpag-20060719

curpag() exists in too many places
anyway, fix em

(cherry picked from commit 72abe41e1df0e530ae73e50b0b952b26d4e26683)

17 years agoDEVEL15-viced-checkrights-loglevel-20060719
Jeffrey Altman [Wed, 19 Jul 2006 15:48:17 +0000]
DEVEL15-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)

17 years agoDEVEL15-rxkad-typeindex-20060718
Tom Keiser [Wed, 19 Jul 2006 05:20:35 +0000]
DEVEL15-rxkad-typeindex-20060718

clean up an off by one error for type index

(cherry picked from commit 51d0c3c8d1daf63e2a9d07ff5be0e649eb821b0c)

17 years agoDEVEL15-windows-relnotes-20060718
Jeffrey Altman [Wed, 19 Jul 2006 05:15:17 +0000]
DEVEL15-windows-relnotes-20060718

 Updates for 1.5.x

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

add new files and remove dead files

17 years agoDEVEL15-windows-wix-2_0_4221-20060718
Jeffrey Altman [Tue, 18 Jul 2006 17:03:59 +0000]
DEVEL15-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)

17 years agoDEVEL15-windows-cifs-rewrite-20060717
Jeffrey Altman [Mon, 17 Jul 2006 19:46:52 +0000]
DEVEL15-windows-cifs-rewrite-20060717

a re-write of the Tran2 Query File Info, Query Path Info, Set File Info,
and Set Path Info functions to make them more readable and ensure
correctness.

(cherry picked from commit 94e2fd2f51b671ee44e9ddd12b44c6d26aa149fe)

17 years agoDEVEL15-aix-largefile-20060714
Tom Keiser [Fri, 14 Jul 2006 20:35:20 +0000]
DEVEL15-aix-largefile-20060714

FDH_WRITE can return something great \7fer than an int32 size for largefile

(cherry picked from commit 7cb94029ce2092f2117742047cffd3c6b58292cd)

17 years agoDEVEL15-vpurge-needs-no-lock-20060713
Derrick Brashear [Thu, 13 Jul 2006 19:18:15 +0000]
DEVEL15-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)

17 years agoDEVEL15-rxkad-private-reorder-structures-20060713
Derrick Brashear [Thu, 13 Jul 2006 18:58:10 +0000]
DEVEL15-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)

17 years agoDEVEL15-tsm-interface-simple-uid-20060713
Derrick Brashear [Thu, 13 Jul 2006 18:41:15 +0000]
DEVEL15-tsm-interface-simple-uid-20060713

for now we use afs_uint32 as a uid in the exported interface

(cherry picked from commit 8b898261c1c682f819856966f8158aba36d9abdb)

17 years agoDEVEL15-aix-lam-20060712
Tom Keiser [Thu, 13 Jul 2006 18:23:27 +0000]
DEVEL15-aix-lam-20060712

tsm for aix5

(cherry picked from commit 4c1503ee9bf5769a9de247a86d7b9dae85bbd993)

17 years agoDEVEL15-windows-wait-rx-hard-dead-time-20060710
Jeffrey Altman [Mon, 10 Jul 2006 20:27:30 +0000]
DEVEL15-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)

17 years agoDEVEL15-windows-dllmap-20060705 openafs-devel-1_5_3
Jeffrey Altman [Thu, 6 Jul 2006 01:18:33 +0000]
DEVEL15-windows-dllmap-20060705

afsrpc.dll and afsauthent.dll got too big for their
allocations.

(cherry picked from commit 39af776e0e9c295aa24dcd31cd42d845980ad8d8)

17 years agoDEVEL15-openafs-1-5-3-20060705
Derrick Brashear [Wed, 5 Jul 2006 21:21:28 +0000]
DEVEL15-openafs-1-5-3-20060705

make openafs 1.5.3

17 years agoDEVEL15-windows-vlserver-makefile-correction-20060705
Jeffrey Altman [Wed, 5 Jul 2006 20:21:05 +0000]
DEVEL15-windows-vlserver-makefile-correction-20060705

so make clean works right (remove vldbint.h)

(cherry picked from commit 3aa506fe502f010135d25e0d6996f5cdc38a13bd)

17 years agoDEVEL15-libafsrpc-export-xdr-20060705
Derrick Brashear [Wed, 5 Jul 2006 19:36:14 +0000]
DEVEL15-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)

17 years agoDEVEL15-windows-version-20060705
Jeffrey Altman [Wed, 5 Jul 2006 18:12:50 +0000]
DEVEL15-windows-version-20060705

1.5.3 == 1.5.0003

17 years agoDEVEL15-windows-cifs-20060704
Jeffrey Altman [Tue, 4 Jul 2006 23:43:24 +0000]
DEVEL15-windows-cifs-20060704

a mixture of updates to cifs compliance

(cherry picked from commit f720e922a982ec99d57adb0514878c65bafc4293)

17 years agoDEVEL15-ubik-call-sucks-20060704
Jeffrey Altman [Tue, 4 Jul 2006 22:24:09 +0000]
DEVEL15-ubik-call-sucks-20060704

make ubik_Call removal work on Windows.

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

another fix for Windows

(cherry picked from commit 941ac04165a9239a11b4ab908350dbfae24edfb9)

17 years agoDEVEL15-viced-uninitialized-20060704
Jeffrey Altman [Tue, 4 Jul 2006 07:18:30 +0000]
DEVEL15-viced-uninitialized-20060704

tcon in XStatsVersion.

(cherry picked from commit 15963ecb3459f34025c0e8fdbf8f1055e1e4a294)

17 years agoDEVEL15-fileserver-hates-pruclient-20060626
Derrick Brashear [Tue, 4 Jul 2006 04:57:24 +0000]
DEVEL15-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 e117599fe17fdfca9c61d1883fe9bf9aa95e3918)

17 years agoDEVEL15-ubik-call-sucks-20060703
Derrick Brashear [Tue, 4 Jul 2006 04:51:30 +0000]
DEVEL15-ubik-call-sucks-20060703

ubik_Call's pseudo-varargs construction is hideous

put it out of its misery where possible

(cherry picked from commit 4478d3a99a1baaee081048a20ac50e7af0223647)

17 years agoDEVEL15-sol10u2-rename-20060703
Tom Keiser [Mon, 3 Jul 2006 19:54:34 +0000]
DEVEL15-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)

17 years agoDEVEL15-fileserver-hates-pruclient-20060626
Derrick Brashear [Mon, 3 Jul 2006 19:46:06 +0000]
DEVEL15-fileserver-hates-pruclient-20060626

right now there is one struct ubik_client shared by all threads in the fileserver, which sucks when one has it locked

let's, uh, fix that.

(cherry picked from commit 791b2141809fc0ad2da78ab3cd91303ac0ec482d)

17 years agoDEVEL15-windows-notes-20060703
Jeffrey Altman [Mon, 3 Jul 2006 18:11:08 +0000]
DEVEL15-windows-notes-20060703

notes

17 years agoDEVEL15-windows-wix-sdk-20060702
Asanka Herath [Mon, 3 Jul 2006 02:46:33 +0000]
DEVEL15-windows-wix-sdk-20060702

Move SDK to \Program Files\OpenAFS\SDK

(cherry picked from commit 277eb30d32349ad1fd24b1ea02a8dfca86c79ef5)

17 years agoDEVEL15-windows-library-cleanup-20060702
Jeffrey Altman [Mon, 3 Jul 2006 02:06:44 +0000]
DEVEL15-windows-library-cleanup-20060702

afs_winsockCleanup

(cherry picked from commit 20b4f785b56ff604bab72d3b624aae74a9e5ae5d)

17 years agoDEVEL15-windows-afsauth-krb-20060702
Jeffrey Altman [Mon, 3 Jul 2006 02:06:01 +0000]
DEVEL15-windows-afsauth-krb-20060702

Build the afsuth.krb library

(cherry picked from commit e66467f382a31345f3ea9dd919ea703eccb623d9)

17 years agoDEVEL15-windows-nsis-sdk-20060702
Jeffrey Altman [Mon, 3 Jul 2006 02:04:36 +0000]
DEVEL15-windows-nsis-sdk-20060702

Move SDK to Program Files\OpenAFS\SDK

(cherry picked from commit 5accc48e1b0db55c56ba64abe0450d511c0fdf2a)

17 years agoDEVEL15-windows-afslogon-pr_end-20060702
Jeffrey Altman [Mon, 3 Jul 2006 02:03:13 +0000]
DEVEL15-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)

17 years agoDEVEL15-butc-prototyping-20060701
Derrick Brashear [Sat, 1 Jul 2006 06:02:49 +0000]
DEVEL15-butc-prototyping-20060701

have some prototypes
happy july 1
and what a crappy day it is

(cherry picked from commit 1947002d11358b9427adce1d6e03f5357a416ad8)

17 years agoDEVEL15-libcmd-support-version-switch-20060630
Derrick Brashear [Fri, 30 Jun 2006 20:47:08 +0000]
DEVEL15-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)

17 years agoDEVEL15-solaris-vfsops-20060629
Tom Keiser [Fri, 30 Jun 2006 15:07:31 +0000]
DEVEL15-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)

17 years agoDEVEL15-salvager-20060628
Tom Keiser [Fri, 30 Jun 2006 15:00:45 +0000]
DEVEL15-salvager-20060628

make ClearROInUseBit actually do it

(cherry picked from commit 2dcf63ef4e044019bda5889f1de332432124bb71)

17 years agoDEVEL15-rxbind-typo-fix-20060629
Christopher Allen Wing [Fri, 30 Jun 2006 01:18:43 +0000]
DEVEL15-rxbind-typo-fix-20060629

FIXES 34634

kill this obvious typo

(cherry picked from commit bc9f256f1c6d2ac26a0b6bfc15de85de895ecf0b)

17 years agoDEVEL15-rxkad-rt34568-20060629
Jeffrey Altman [Fri, 30 Jun 2006 00:27:16 +0000]
DEVEL15-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)

17 years agoDEVEL15-windows-bulkstat-eaccess-20060628
Jeffrey Altman [Wed, 28 Jun 2006 16:01:21 +0000]
DEVEL15-windows-bulkstat-eaccess-20060628

New CM_SCACHEFLAG_EACCESS flag is used to track whether the status
information was the result of an EACCESS error during an inline bulk
status call.  If so, we have a callback but did not get any status
info.  When this flag is set we include the entry in future bulk status
calls but otherwise treat the cm_scache entry as if it has a valid
callback.  The callback will be revoked if the ACLs on the object
changes.

(cherry picked from commit a8dc93bf9f93a1ab74972c41d09af01da93ff230)

17 years agoDEVEL15-windows-inlinebulkstat-20060628
Jeffrey Altman [Wed, 28 Jun 2006 06:34:50 +0000]
DEVEL15-windows-inlinebulkstat-20060628

fix the timeout conditional and error handling so that all directory
entries will be processed.

now there is a problem in which transitioning from no tokens to tokens
does not result in refreshed data.  something to look into.

(cherry picked from commit cb395ac70a2387723b0eceb33afe293d2cbfbf71)

17 years agoDEVEL15-windows-inlinebulkstat-20060627
Jeffrey Altman [Wed, 28 Jun 2006 04:24:05 +0000]
DEVEL15-windows-inlinebulkstat-20060627

Activate previously implemented TryBulkStat code.  Due to incorrect
comparisons the code was never executed.  Add support for InlineBulkStat
with fallback to BulkStat and increase the size of CM_BULKMAX to 150.
(3 * AFSCBMAX)

Add CM_SERVERFLAG_NOINLINEBULK to track support for InlineBulkStat.
Clear flag during InitCallbackState.

(cherry picked from commit 7fa3d8d735779c263eec66fecec5255d8407b2be)

17 years agoDEVEL15-windows-fs-uuid-part-two-20060627
Jeffrey Altman [Tue, 27 Jun 2006 23:53:42 +0000]
DEVEL15-windows-fs-uuid-part-two-20060627

force new connections after uuid change

(cherry picked from commit 08c07df7eb8ab22857d0c23d8f7ab35532576039)

17 years agoDEVEL15-windows-fs-uuid-20060627
Jeffrey Altman [Tue, 27 Jun 2006 23:19:35 +0000]
DEVEL15-windows-fs-uuid-20060627

 fs uuid [-generate]

(cherry picked from commit 5c563c121e853a06bb47d0b8932276982e676150)

17 years agoDEVEL15-windows-uninitialized-vars-20060627
Jeffrey Altman [Tue, 27 Jun 2006 22:54:31 +0000]
DEVEL15-windows-uninitialized-vars-20060627

uninitialized pointers when dereferenced do bad things

(cherry picked from commit a8e481ddd92744944d2b06fd5c8ed28383297f6a)

17 years agoDEVEL15-windows-cleanup-20060627
Jeffrey Altman [Tue, 27 Jun 2006 16:40:33 +0000]
DEVEL15-windows-cleanup-20060627

 * fix UAEACCES debug string

 * assign scachetype invalid when invalid

 * smb_WriteData prototype

 * update T2 search dir debug message to include unique

(cherry picked from commit f2c64e15995abc6791923013805cca402e6f4e8e)

17 years agoDEVEL15-windows-do-not-release-null-20060626
Jeffrey Altman [Tue, 27 Jun 2006 05:04:27 +0000]
DEVEL15-windows-do-not-release-null-20060626

uidp can be null.  if so, do not release.

(cherry picked from commit 8de6593c6829eab9dae15fc38ba08f382ee7b096)

17 years agoDEVEL15-afsutil-includes-20060623
Christopher Allen Wing [Mon, 26 Jun 2006 17:20:50 +0000]
DEVEL15-afsutil-includes-20060623

Include <afs/afsutil.h> for prototypes of afs_inet_ntoa and afs_inet_ntoa_r.

(cherry picked from commit 2a1aff4104dd9a71bebf1a63ca85ac86338b3b1b)

17 years agoDEVEL15-windows-wix-path-key-fix-20060625
Asanka Herath [Mon, 26 Jun 2006 06:48:31 +0000]
DEVEL15-windows-wix-path-key-fix-20060625

properly set the path key

(cherry picked from commit 2a6f610ecadcc61f7fe332e63f8ffca7942e4193)

17 years agoDEVEL15-windows-32bit-tools-client-dir-20060625
Jeffrey Altman [Mon, 26 Jun 2006 03:25:49 +0000]
DEVEL15-windows-32bit-tools-client-dir-20060625

Modify afssw_GetClientInstallDir to check both the registry for both
the full client installation as well as the 32-bit tools installation
for the Client Install Pathname.

(cherry picked from commit 83e22d270ea07cd473bc98a5fb2e7191cb840a40)

17 years agoDEVEL15-windows-wix-client-path-20060625
Jeffrey Altman [Mon, 26 Jun 2006 03:19:31 +0000]
DEVEL15-windows-wix-client-path-20060625

move <Environment> tag to a component that will be installed
as part of the 32-bit tools so that Client\Program is added to
the PATH.

(cherry picked from commit ea499821f73a9f27aad36b1878cccd26b2dc55c5)

17 years agoDEVEL15-windows-largefile-support-20060625
Jeffrey Altman [Sun, 25 Jun 2006 22:45:11 +0000]
DEVEL15-windows-largefile-support-20060625

don't clear the no64bit when there is no server

(cherry picked from commit 0eb04961602949683be26cbe002677b5ee537ab6)

17 years agoDEVEL15-windows-aklog-64bit-20060625
Qi Dong [Sun, 25 Jun 2006 18:58:06 +0000]
DEVEL15-windows-aklog-64bit-20060625

Prepare makefile to link against kfw 64-bit libs when they are
available.

(cherry picked from commit 266c9339896d75ab36dc812f1e905d05be23e0fd)

17 years agoDEVEL15-windows-64bit-type-safety-20060625
Qi Dong [Sun, 25 Jun 2006 18:54:47 +0000]
DEVEL15-windows-64bit-type-safety-20060625

Type casting

(cherry picked from commit ebef2766358b8cca53efd5c12bc951198eb246e0)

17 years agoDEVEL15-windows-cleanup-20060625
Jeffrey Altman [Sun, 25 Jun 2006 17:58:00 +0000]
DEVEL15-windows-cleanup-20060625

cleanup AFS_component_version_number.h

(cherry picked from commit 0b9b02178e7a3d8df39fec9c83f8b49230ce30d9)

17 years agoDEVEL15-windows-wix-tools-on-i386-only-20060625
Jeffrey Altman [Sun, 25 Jun 2006 16:01:04 +0000]
DEVEL15-windows-wix-tools-on-i386-only-20060625

only build the 32-bit tools installer on i386

(cherry picked from commit 8c3e1ad7578dfbfd26633fc12b91ea69c1f77436)

17 years agoDEVEL15-windows-nsis-help-files-install-location-20060625
Jeffrey Altman [Sun, 25 Jun 2006 15:57:12 +0000]
DEVEL15-windows-nsis-help-files-install-location-20060625

place the help files in the correct location

(cherry picked from commit bfa26d1ddfc7727a9f8c2e79c8d608c586823a12)

17 years agoDEVEL15-windows-report-quota-diskfull-20060624
Jeffrey Altman [Sun, 25 Jun 2006 02:51:40 +0000]
DEVEL15-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)

17 years agoDEVEL15-windows-largefile-support-20060623
Asanka Herath [Sat, 24 Jun 2006 21:41:54 +0000]
DEVEL15-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)

17 years agoDEVEL15-rhel3-krb524-checking-20060624
Russ Allbery [Sat, 24 Jun 2006 17:24:19 +0000]
DEVEL15-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)

17 years agoDEVEL15-windows-viced-cbd-20060624
Jeffrey Altman [Sat, 24 Jun 2006 15:10:46 +0000]
DEVEL15-windows-viced-cbd-20060624

don't break platforms other than Windows

(cherry picked from commit 830756f8f73e1f67da6ec916cdfc3e4b9a677f71)

17 years agoDEVEL15-windows-wix-help-files-install-location-20060623
Asanka Herath [Sat, 24 Jun 2006 03:49:43 +0000]
DEVEL15-windows-wix-help-files-install-location-20060623

place the help files in the correct location

(cherry picked from commit e264711295275b7b1372e701bf106cf75b342007)

17 years agoDEVEL15-windows-cm_syncop-buflocked-20060622
Jeffrey Altman [Fri, 23 Jun 2006 04:34:40 +0000]
DEVEL15-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)

17 years agoDEVEL15-windows-no-freelance-vldb-failover-20060622
Jeffrey Altman [Thu, 22 Jun 2006 22:54:40 +0000]
DEVEL15-windows-no-freelance-vldb-failover-20060622

When Freelance mode is not in use the cache manager must load the root.afs
volume of the default cell in order to be able to start.   Unfortunately,
if the first vlserver fails the request to obtain the volume information
will timeout and no retries will be performed.  This patch performs up
to 10 retries in the initialization code in order to enable the vlservers
to be marked down so that failover can occur.

(cherry picked from commit 4859232df55c94232a70d602cafe6a8bcc72d9dd)

17 years agoDEVEL15-windows-viced-cbd-20060621
Jeffrey Altman [Wed, 21 Jun 2006 21:40:31 +0000]
DEVEL15-windows-viced-cbd-20060621

typo

(cherry picked from commit d53a0a8d5e58d6bb0a979d977889aa2bfcb19829)

17 years agoDEVEL15-windows-viced-cbd-20060620
Jeffrey Altman [Tue, 20 Jun 2006 23:10:53 +0000]
DEVEL15-windows-viced-cbd-20060620

build the callback debug utility

(cherry picked from commit f3a7cd67c5d9d225a688892b3d5948db11e9a82e)

17 years agoDEVEL15-aix-largefile-cleanup-20060620
Tom Keiser [Tue, 20 Jun 2006 22:40:04 +0000]
DEVEL15-aix-largefile-cleanup-20060620

some largefile cleanup and other minor aix tweaking

(cherry picked from commit 7826b313868ec8ce975b65e5c430a9503fca4dd5)

17 years agoDEVEL15-windows-afsrpc-exports-20060620
Jeffrey Altman [Tue, 20 Jun 2006 21:59:25 +0000]
DEVEL15-windows-afsrpc-exports-20060620

New functions: rx_InitHost, rx_NewServiceHost

(cherry picked from commit 840ef4a80f3ec8378865232f23171c7c3485626b)

17 years agoDEVEL15-rxbind-for-servers-20060620
Jeffrey Altman [Tue, 20 Jun 2006 21:37:10 +0000]
DEVEL15-rxbind-for-servers-20060620

do not call parseNetFile on Windows where the function does not exist

(cherry picked from commit 7af6b06cb6611a8925e3fa887ddf0a03542ee4dc)

17 years agoDEVEL15-viced-findclient-do-not-return-wrong-client-20060620
Jeffrey Hutzelman [Tue, 20 Jun 2006 21:03:16 +0000]
DEVEL15-viced-findclient-do-not-return-wrong-client-20060620

In h_FindClient_r it was possible for the wrong client to be returned
and worse for it to be returned without the reference count being
incremented.

(cherry picked from commit 06fa1f9c40432747724e6e55154bf54e1e3e94c5)

17 years agoDEVEL15-viced-deadlock-20060620
Rainer Toebbicke [Tue, 20 Jun 2006 15:53:18 +0000]
DEVEL15-viced-deadlock-20060620

FIXES 34073

* checks for client == oldClient

* drops the H_LOCK prior to obtaining the WriteLock on oldClient
  in order to prevent a deadlock

(cherry picked from commit efd74baa950133de6ed92b7395be6d14ef63a58e)

17 years agoDEVEL15-fs-getcache-show-more-20060615
Troy Benjegerdes [Thu, 15 Jun 2006 16:52:59 +0000]
DEVEL15-fs-getcache-show-more-20060615

show more info about cache usage, optionally

(cherry picked from commit 176c2fddb95ced6c13e04e7492fc09b5551f273c)

17 years agoDEVEL15-linux-current-already-used-20060615
Troy Benjegerdes [Thu, 15 Jun 2006 16:45:19 +0000]
DEVEL15-linux-current-already-used-20060615

don;'t conflict on use of current

(cherry picked from commit 463d899a4f6527fc26d29e4cff31f65028cfa43f)

17 years agoDEVEL15-getaddr-avoid-looping-20060615
Derrick Brashear [Thu, 15 Jun 2006 16:20:56 +0000]
DEVEL15-getaddr-avoid-looping-20060615

so it would be good to count these all off

oops

(cherry picked from commit 2e691074fb6ce70e8352da3e57a746a77f7489f1)

17 years agoDEVEL15-getaddr-skip-loopbacks-version-for-macos-20060613
Derrick Brashear [Tue, 13 Jun 2006 04:52:39 +0000]
DEVEL15-getaddr-skip-loopbacks-version-for-macos-20060613

so rxbind does something sensible

(cherry picked from commit 3d1fc22c6ba5d07c831da79ffa01e3cf4d95322a)

17 years agoDEVEL15-rxbind-for-servers-20060612
Derrick Brashear [Tue, 13 Jun 2006 01:29:15 +0000]
DEVEL15-rxbind-for-servers-20060612

FIXES 32308

support -rxbind switch for servers

(cherry picked from commit 592d97f9472abcf77496cef07261fa8766f60b9f)

17 years agoDEVEL15-namei-dec-drop-lock-20060612
Derrick Brashear [Tue, 13 Jun 2006 01:01:51 +0000]
DEVEL15-namei-dec-drop-lock-20060612

FIXES 17638

unsure why yet, or even if, but this is all that makes sense

(cherry picked from commit 1e5f6a17fcf4f7039bae756c22735b77a31ceec5)

17 years agoDEVEL15-linux-enable-gcpags-20060612
Derrick Brashear [Mon, 12 Jun 2006 17:25:47 +0000]
DEVEL15-linux-enable-gcpags-20060612

enable gcpags

(cherry picked from commit 33418253e06534b43ad44eaa71b7c4a84be7cb49)

17 years agoDEVEL15-recvackpkt-count-acks-and-open-cong-window-20060612
Chas Williams [Mon, 12 Jun 2006 05:27:07 +0000]
DEVEL15-recvackpkt-count-acks-and-open-cong-window-20060612

"the non AFS_GLOBAL_RXLOCK_KERNEL version of
rxi_ReceiveAckPacket() wasnt counting 'hard' acks and not opening the
congestion window.  using rx_Readv() directs the incoming packets into
the target iov, and sends a hard ack (skipping soft acks).  "

(cherry picked from commit b365b06d34a9450dc53ad22e8ecb3f6d922af5f4)

17 years agoDEVEL15-windows-scache-recycle-fix-20060608 openafs-devel-1_5_2
Jeffrey Altman [Thu, 8 Jun 2006 22:22:20 +0000]
DEVEL15-windows-scache-recycle-fix-20060608

do not special case freelance entries

(cherry picked from commit 40b690803a928da8bf25b1e03745e95f14fd1743)

17 years agoDEVEL15-windows-cifs-std-info-take-two-20060607
Jeffrey Altman [Thu, 8 Jun 2006 00:31:55 +0000]
DEVEL15-windows-cifs-std-info-take-two-20060607

The "is a directory" value was being set one field beyond the end of
the Standard Info reply structure.

(cherry picked from commit 2c20a3d603fcc654759b8c90924f36468f8aae81)

17 years agoDEVEL15-openafs-devel-1-5-2-20060607
Derrick Brashear [Wed, 7 Jun 2006 06:03:06 +0000]
DEVEL15-openafs-devel-1-5-2-20060607

1.5.2