3855 Commits

Author SHA1 Message Date
Jeffrey Altman
785d922f56 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)
2006-07-17 19:46:52 +00:00
Tom Keiser
d2e8463163 DEVEL15-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:35:20 +00:00
Derrick Brashear
00dd3a18d2 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)
2006-07-13 19:18:15 +00:00
Derrick Brashear
29f29dba57 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)
2006-07-13 18:58:10 +00:00
Derrick Brashear
d23dde5b91 DEVEL15-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:41:15 +00:00
Tom Keiser
e922a8b6d1 DEVEL15-aix-lam-20060712
tsm for aix5


(cherry picked from commit 4c1503ee9bf5769a9de247a86d7b9dae85bbd993)
2006-07-13 18:23:27 +00:00
Jeffrey Altman
47960a2aec 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)
2006-07-10 20:27:30 +00:00
Jeffrey Altman
2efc699306 DEVEL15-windows-dllmap-20060705
afsrpc.dll and afsauthent.dll got too big for their
allocations.


(cherry picked from commit 39af776e0e9c295aa24dcd31cd42d845980ad8d8)
openafs-devel-1_5_3
2006-07-06 01:18:33 +00:00
Derrick Brashear
420bb66890 DEVEL15-openafs-1-5-3-20060705
make openafs 1.5.3
2006-07-05 21:21:28 +00:00
Jeffrey Altman
2ffbb76bb3 DEVEL15-windows-vlserver-makefile-correction-20060705
so make clean works right (remove vldbint.h)


(cherry picked from commit 3aa506fe502f010135d25e0d6996f5cdc38a13bd)
2006-07-05 20:21:05 +00:00
Derrick Brashear
f7470f9fdf 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)
2006-07-05 19:36:14 +00:00
Jeffrey Altman
1b98ca60c2 DEVEL15-windows-version-20060705
1.5.3 == 1.5.0003
2006-07-05 18:12:50 +00:00
Jeffrey Altman
1547d8796e DEVEL15-windows-cifs-20060704
a mixture of updates to cifs compliance


(cherry picked from commit f720e922a982ec99d57adb0514878c65bafc4293)
2006-07-04 23:43:24 +00:00
Jeffrey Altman
e5befee047 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)
2006-07-04 22:24:09 +00:00
Jeffrey Altman
e3e011e64c DEVEL15-viced-uninitialized-20060704
tcon in XStatsVersion.


(cherry picked from commit 15963ecb3459f34025c0e8fdbf8f1055e1e4a294)
2006-07-04 07:18:30 +00:00
Derrick Brashear
20787e96cf 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)
2006-07-04 04:57:24 +00:00
Derrick Brashear
3172d8b053 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)
2006-07-04 04:51:30 +00:00
Tom Keiser
6aea6dcf1d 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)
2006-07-03 19:54:34 +00:00
Derrick Brashear
3d018d4b41 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)
2006-07-03 19:46:06 +00:00
Jeffrey Altman
03f383e849 DEVEL15-windows-notes-20060703
notes
2006-07-03 18:11:08 +00:00
Asanka Herath
38cc4312d1 DEVEL15-windows-wix-sdk-20060702
Move SDK to \Program Files\OpenAFS\SDK


(cherry picked from commit 277eb30d32349ad1fd24b1ea02a8dfca86c79ef5)
2006-07-03 02:46:33 +00:00
Jeffrey Altman
cc0a9b29f5 DEVEL15-windows-library-cleanup-20060702
afs_winsockCleanup


(cherry picked from commit 20b4f785b56ff604bab72d3b624aae74a9e5ae5d)
2006-07-03 02:06:44 +00:00
Jeffrey Altman
ff52c11b62 DEVEL15-windows-afsauth-krb-20060702
Build the afsuth.krb library


(cherry picked from commit e66467f382a31345f3ea9dd919ea703eccb623d9)
2006-07-03 02:06:01 +00:00
Jeffrey Altman
674e656200 DEVEL15-windows-nsis-sdk-20060702
Move SDK to Program Files\OpenAFS\SDK


(cherry picked from commit 5accc48e1b0db55c56ba64abe0450d511c0fdf2a)
2006-07-03 02:04:36 +00:00
Jeffrey Altman
9ed0a76e49 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)
2006-07-03 02:03:13 +00:00
Derrick Brashear
54c074ba67 DEVEL15-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:02:49 +00:00
Derrick Brashear
bbdcae6bff 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)
2006-06-30 20:47:08 +00:00
Tom Keiser
9f01e5e6a2 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)
2006-06-30 15:07:31 +00:00
Tom Keiser
dfa43f0deb DEVEL15-salvager-20060628
make ClearROInUseBit actually do it


(cherry picked from commit 2dcf63ef4e044019bda5889f1de332432124bb71)
2006-06-30 15:00:45 +00:00
Christopher Allen Wing
c268e0f038 DEVEL15-rxbind-typo-fix-20060629
FIXES 34634

kill this obvious typo


(cherry picked from commit bc9f256f1c6d2ac26a0b6bfc15de85de895ecf0b)
2006-06-30 01:18:43 +00:00
Jeffrey Altman
a66fa121f0 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)
2006-06-30 00:27:16 +00:00
Jeffrey Altman
d4b61eacfe 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)
2006-06-28 16:01:21 +00:00
Jeffrey Altman
89cd60d522 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)
2006-06-28 06:34:50 +00:00
Jeffrey Altman
b2cfdae0e8 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)
2006-06-28 04:24:05 +00:00
Jeffrey Altman
553300e751 DEVEL15-windows-fs-uuid-part-two-20060627
force new connections after uuid change


(cherry picked from commit 08c07df7eb8ab22857d0c23d8f7ab35532576039)
2006-06-27 23:53:42 +00:00
Jeffrey Altman
f1048e1fff DEVEL15-windows-fs-uuid-20060627
fs uuid [-generate]


(cherry picked from commit 5c563c121e853a06bb47d0b8932276982e676150)
2006-06-27 23:19:35 +00:00
Jeffrey Altman
1db82ce203 DEVEL15-windows-uninitialized-vars-20060627
uninitialized pointers when dereferenced do bad things


(cherry picked from commit a8e481ddd92744944d2b06fd5c8ed28383297f6a)
2006-06-27 22:54:31 +00:00
Jeffrey Altman
5e592de63b 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)
2006-06-27 16:40:33 +00:00
Jeffrey Altman
e89379051b DEVEL15-windows-do-not-release-null-20060626
uidp can be null.  if so, do not release.


(cherry picked from commit 8de6593c6829eab9dae15fc38ba08f382ee7b096)
2006-06-27 05:04:27 +00:00
Christopher Allen Wing
0fe6f9aaf8 DEVEL15-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:20:50 +00:00
Asanka Herath
45c77e8fe9 DEVEL15-windows-wix-path-key-fix-20060625
properly set the path key


(cherry picked from commit 2a6f610ecadcc61f7fe332e63f8ffca7942e4193)
2006-06-26 06:48:31 +00:00
Jeffrey Altman
13d15f62b3 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)
2006-06-26 03:25:49 +00:00
Jeffrey Altman
ace383d77c 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)
2006-06-26 03:19:31 +00:00
Jeffrey Altman
f47d640adb DEVEL15-windows-largefile-support-20060625
don't clear the no64bit when there is no server


(cherry picked from commit 0eb04961602949683be26cbe002677b5ee537ab6)
2006-06-25 22:45:11 +00:00
Qi Dong
16bf3f719e DEVEL15-windows-aklog-64bit-20060625
Prepare makefile to link against kfw 64-bit libs when they are
available.


(cherry picked from commit 266c9339896d75ab36dc812f1e905d05be23e0fd)
2006-06-25 18:58:06 +00:00
Qi Dong
a50e4972e5 DEVEL15-windows-64bit-type-safety-20060625
Type casting


(cherry picked from commit ebef2766358b8cca53efd5c12bc951198eb246e0)
2006-06-25 18:54:47 +00:00
Jeffrey Altman
11361e4b63 DEVEL15-windows-cleanup-20060625
cleanup AFS_component_version_number.h


(cherry picked from commit 0b9b02178e7a3d8df39fec9c83f8b49230ce30d9)
2006-06-25 17:58:00 +00:00
Jeffrey Altman
d6810b106c DEVEL15-windows-wix-tools-on-i386-only-20060625
only build the 32-bit tools installer on i386


(cherry picked from commit 8c3e1ad7578dfbfd26633fc12b91ea69c1f77436)
2006-06-25 16:01:04 +00:00
Jeffrey Altman
9fc091f57e DEVEL15-windows-nsis-help-files-install-location-20060625
place the help files in the correct location


(cherry picked from commit bfa26d1ddfc7727a9f8c2e79c8d608c586823a12)
2006-06-25 15:57:12 +00:00
Jeffrey Altman
ce4f103eb7 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)
2006-06-25 02:51:40 +00:00