3676 Commits

Author SHA1 Message Date
Jeffrey Altman
d42394946f 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()
2006-07-26 14:01:55 +00:00
Jeffrey Altman
3167f707fd windows-integrated-logon-20060726
delta windows-integrated-logon-20060724 would cause Windows 2000
 systems to blue screen with an exception in winlogon.exe.
2006-07-26 13:49:41 +00:00
Derrick Brashear
68e8e996b6 des-no-obsolete-encrypt-20060725
this version of encrypt() conflicts with current linux (which returns void)

we don't use it, so, buh-bye
2006-07-25 15:44:46 +00:00
Derrick Brashear
238ac51e80 cellservdb-dl-sanity-check-20060725
protect me from myself
2006-07-25 15:38:31 +00:00
Jeffrey Altman
1a0329fef0 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
2006-07-24 15:06:15 +00:00
Jeffrey Altman
22f43b30a0 windows-ifs-cleanup-20060720
* fix up prototypes

* remove unused variables

* re-organize code for readability

* fix type safety issues
2006-07-20 22:44:30 +00:00
Jeffrey Altman
8d4d47860b windows-ifs-afsrdr-20060718
updates to ifs afsrdr code to allow it to compile.
2006-07-20 07:06:42 +00:00
Jeffrey Altman
66db2c9bec windows-ifs-20060718
enable the afsifs code to build again
2006-07-20 04:23:09 +00:00
Derrick Brashear
72abe41e1d aix5-curpag-20060719
curpag() exists in too many places
anyway, fix em
2006-07-21 00:27:15 +00:00
Jeffrey Altman
14ed562c4b viced-checkrights-loglevel-20060719
increase the log level on the "CheckRights: len=%u, for host=%s:%d\n"
message to 5.
2006-07-19 15:41:48 +00:00
Tom Keiser
51d0c3c8d1 rxkad-typeindex-20060718
clean up an off by one error for type index
2006-07-19 05:11:06 +00:00
Jeffrey Altman
436e8fe17b windows-wix-2_0_4221-20060718
* Updates to WIX installer to support the 2.0.4221 build

 * Removes unnecessary files from Release Notes
2006-07-18 17:02:04 +00:00
Jeffrey Altman
94e2fd2f51 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.
2006-07-17 19:45:27 +00:00
Tom Keiser
7cb94029ce aix-largefile-20060714
FDH_WRITE can return something great er than an int32 size for largefile
2006-07-14 20:22:51 +00:00
Jim Rees
d335c636e2 discon-20060714
Implement PDiscon. Right now only sets nat mode. Untested.
2006-07-14 18:48:18 +00:00
Derek Atkins
3a8a83c061 linux-posix-lock-file-api-fix-20060714
fix lock enrollment for older kernels
2006-07-14 15:53:05 +00:00
Derrick Brashear
6878e0b634 vpurge-needs-no-lock-20060713
don't hold the VOL_LOCK during vpurgevolume
volserver's transaction stuff (NewTrans, actually) precludes any problem
2006-07-13 19:17:20 +00:00
Derrick Brashear
845b4ac1cf 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
2006-07-13 18:55:10 +00:00
Derrick Brashear
8b898261c1 tsm-interface-simple-uid-20060713
for now we use afs_uint32 as a uid in the exported interface
2006-07-13 18:38:21 +00:00
Tom Keiser
4c1503ee9b aix-lam-20060712
tsm for aix5
2006-07-13 18:24:29 +00:00
Jeffrey Altman
8f2aba6581 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.
2006-07-10 20:24:08 +00:00
Jeffrey Altman
39af776e0e windows-dllmap-20060705
afsrpc.dll and afsauthent.dll got too big for their
allocations.
2006-07-06 01:15:14 +00:00
Jeffrey Altman
3aa506fe50 windows-vlserver-makefile-correction-20060705
so make clean works right (remove vldbint.h)
2006-07-05 20:18:55 +00:00
Derrick Brashear
3d4b126261 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
2006-07-05 19:34:01 +00:00
Jeffrey Altman
f720e922a9 windows-cifs-20060704
a mixture of updates to cifs compliance
2006-07-04 23:42:37 +00:00
Jeffrey Altman
941ac04165 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
2006-07-04 22:22:35 +00:00
Jeffrey Altman
15963ecb34 viced-uninitialized-20060704
tcon in XStatsVersion.
2006-07-04 07:15:17 +00:00
Derrick Brashear
e117599fe1 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.
2006-07-04 04:57:05 +00:00
Derrick Brashear
4478d3a99a ubik-call-sucks-20060703
ubik_Call's pseudo-varargs construction is hideous

put it out of its misery where possible
2006-07-04 04:50:46 +00:00
Tom Keiser
a2d5bb078f 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.
2006-07-03 19:41:31 +00:00
Asanka Herath
277eb30d32 windows-wix-sdk-20060702
Move SDK to \Program Files\OpenAFS\SDK
2006-07-03 02:45:35 +00:00
Jeffrey Altman
20b4f785b5 windows-library-cleanup-20060702
Export rx_Finalize and rx_InitHost

====================
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 afs_winsockCleanup() call to rx_Finalize

* do not start listener threads multiple times

====================

* export rx_Finalize and pr_End

====================

afs_winsockCleanup
2006-07-03 02:00:51 +00:00
Jeffrey Altman
e66467f382 windows-afsauth-krb-20060702
Build the afsuth.krb library
2006-07-03 01:57:37 +00:00
Jeffrey Altman
5accc48e1b windows-nsis-sdk-20060702
Move SDK to Program Files\OpenAFS\SDK
2006-07-03 01:55:54 +00:00
Jeffrey Altman
61df8d9fc8 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
2006-07-03 01:54:19 +00:00
Derrick Brashear
1947002d11 butc-prototyping-20060701
have some prototypes
happy july 1
and what a crappy day it is
2006-07-01 06:01:29 +00:00
Derrick Brashear
350c140d89 libcmd-support-version-switch-20060630
well, i guess adm will be sad until it exports AFSVersion, but, life is hard.
2006-06-30 20:44:19 +00:00
Tom Keiser
8a1a06b5eb solaris-vfsops-20060629
fix symbol binding for modern solaris 10 patches (6/06)
which kills a few we didn't need anyway
2006-06-30 15:03:04 +00:00
Tom Keiser
2dcf63ef4e salvager-20060628
make ClearROInUseBit actually do it
2006-06-30 14:57:43 +00:00
Christopher Allen Wing
bc9f256f1c rxbind-typo-fix-20060629
FIXES 34634

kill this obvious typo
2006-06-30 01:17:06 +00:00
Jeffrey Altman
f0830f89a1 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".
2006-06-30 00:24:20 +00:00
Jeffrey Altman
a8dc93bf9f 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.
2006-06-28 16:00:33 +00:00
Jeffrey Altman
cb395ac70a 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.
2006-06-28 06:33:28 +00:00
Jeffrey Altman
7fa3d8d735 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.
2006-06-28 04:22:40 +00:00
Jeffrey Altman
08c07df7eb windows-fs-uuid-part-two-20060627
force new connections after uuid change
2006-06-27 23:52:37 +00:00
Jeffrey Altman
5c563c121e windows-fs-uuid-20060627
fs uuid [-generate]
2006-06-27 23:18:29 +00:00
Jeffrey Altman
a8e481ddd9 windows-uninitialized-vars-20060627
uninitialized pointers when dereferenced do bad things
2006-06-27 22:48:23 +00:00
Jeffrey Altman
f2c64e1599 windows-cleanup-20060627
* fix UAEACCES debug string

 * assign scachetype invalid when invalid

 * smb_WriteData prototype

 * update T2 search dir debug message to include unique
2006-06-27 16:39:04 +00:00
Jeffrey Altman
8de6593c68 windows-do-not-release-null-20060626
uidp can be null.  if so, do not release.
2006-06-27 05:02:57 +00:00
Derrick Brashear
791b214180 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.
2006-06-27 04:16:46 +00:00