3823 Commits

Author SHA1 Message Date
Jeffrey Altman
499fa6571a DEVEL15-STABLE15-windows-version-20060728
1.5.4 = 1.5.0400.0
openafs-devel-1_5_4
2006-07-28 17:28:56 +00:00
Jeffrey Altman
8fa17ab57f DEVEL15-windows-notes-20060728
updates for 1.5.4
2006-07-28 17:26:51 +00:00
Jeffrey Altman
d1b6db9e62 DEVEL15-windows-cifs-compatibility-20060728
more compatibility fixes to the CIFS gateway server


(cherry picked from commit ebcfab8d3247ff6fa98726c88a55a5cec0d91f97)
2006-07-28 14:38:13 +00:00
Jeffrey Altman
8ad395fb8b DEVEL15-windows-remove-bad-asserts-20060728
remove assert()s that should simply be if()


(cherry picked from commit a4211966d7f9d16dd2f93c9122ba09b4920dfd8e)
2006-07-28 03:10:15 +00:00
Jeffrey Altman
a6ee484aba DEVEL15-windows-cifs-undo-large-x-20060726
remove claim of support for LARGE_READX and LARGE_WRITEX


(cherry picked from commit b805981546444ba90c9d0b811358658e720f9277)
2006-07-26 14:54:41 +00:00
Jeffrey Altman
19b4ef7a59 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)
2006-07-26 14:04:08 +00:00
Jeffrey Altman
04379cf349 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)
2006-07-26 13:51:21 +00:00
Derrick Brashear
0b08ed0e21 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)
2006-07-25 15:47:41 +00:00
Derrick Brashear
ffe2bcea5a DEVEL15-cellservdb-dl-sanity-check-20060725
protect me from myself


(cherry picked from commit 238ac51e80551bf57334867521817103fddd2cbf)
2006-07-25 15:42:17 +00:00
Jeffrey Altman
3fea53a5f3 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)
2006-07-24 15:13:16 +00:00
Jeffrey Altman
ebce93b089 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)
2006-07-20 22:46:18 +00:00
Jeffrey Altman
088fa999f1 DEVEL15-windows-ifs-afsrdr-20060718
updates to ifs afsrdr code to allow it to compile.


(cherry picked from commit 8d4d47860baeb983759782f64d46ec70659e5022)
2006-07-20 07:08:07 +00:00
Jeffrey Altman
3f823a9d5d DEVEL15-windows-ifs-20060718
enable the afsifs code to build again


(cherry picked from commit 66db2c9bec2b6a38aab49eb31a992701930bd055)
2006-07-20 04:26:53 +00:00
Derrick Brashear
ffb77b32f0 DEVEL15-aix5-curpag-20060719
curpag() exists in too many places
anyway, fix em


(cherry picked from commit 72abe41e1df0e530ae73e50b0b952b26d4e26683)
2006-07-19 22:17:17 +00:00
Jeffrey Altman
b91baf8b8a 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)
2006-07-19 15:48:17 +00:00
Tom Keiser
c5b8168043 DEVEL15-rxkad-typeindex-20060718
clean up an off by one error for type index


(cherry picked from commit 51d0c3c8d1daf63e2a9d07ff5be0e649eb821b0c)
2006-07-19 05:20:35 +00:00
Jeffrey Altman
647d6d0017 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
2006-07-19 05:15:17 +00:00
Jeffrey Altman
20eeef7dd9 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)
2006-07-18 17:03:59 +00:00
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