Commit Graph

3938 Commits

Author SHA1 Message Date
Russ Allbery
71a1d8a025 docbook-quickguide-cleanup-20061201
Remove generated files from CVS.

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

Some initial obvious cleanup.  Removed all the sections on Digital UNIX,
changed IBM AFS to OpenAFS throughout, and reformatted and cleaned up the
front matter and some of the first few pages.
2006-12-02 03:56:17 +00:00
Russ Allbery
f544468443 docbook-quickguide-makefile-20061201
Add some comments to the makefile, set up dependencies to build the index
automatically, remove a bunch of unnecessary @-signs in front of commands,
and add a clean target.
2006-12-02 02:22:34 +00:00
Russ Allbery
ddc66bbff0 pam-aklog-now-external-20061201
Remove pam_aklog.  pam_afs_session will be developed and distributed as an
external project instead.
2006-12-02 01:44:50 +00:00
Derrick Brashear
b81763506f give-s390x-syscall-table-the-big-hammer-20061201
Neale Ferguson contributed the assembler.

The false illusion of security some people want to play under is usually good for wasting a few hours; it was here. making the sys_call_table read nly for real of course fixes it, let's just hope keyrings come along before then on such platforms.
2006-12-01 18:48:26 +00:00
Derrick Brashear
9ba1d32b4b redhat-packaging-updates-20061201
updates from derek

updates for s390x

updates to handle suse
2006-12-01 18:32:49 +00:00
Derrick Brashear
af6af0bbc4 redhat-initscripts-update-for-suse-20061201
suse lacks /etc/init.d/functions
2006-12-01 12:52:38 +00:00
Derrick Brashear
45425b2f22 cprivate-ticketlen-is-32-not-16-20061129
everyone else thinks ticketLen is 32 bits. contrary to what arby's says, different is not necessarily better.
2006-11-29 21:22:38 +00:00
Jeffrey Altman
d253bde457 windows-dirty-buffer-optimization-20061128
The old dirty buffer synchronization algorithm had a buf_IncrSyncer
thread walking the all buffer list periodically searching for dirty
buffers to write to the file server.  This had several negative
results.  The alogirithm ate up ever increasing amounts of CPU time
even when AFS is idle as the size of the cache increases.  Also,
buffers were written to the file server in an order based upon the
original buffer allocation which has nothing to do with the order
in which the buffers became dirty.

The new algorithm maintains a dirty buffer list.  Items are added
when the buffer is originally marked dirty.  A buffer is only
removed from the list by the buf_IncrSyncer when the buffer is no
longer dirty.  If the list is empty the thread goes back to thread
immediately without additional processing requirements.
2006-11-29 06:23:00 +00:00
Jeffrey Altman
1c661a198e volser-cleanup-xx-20061128
cleanup the return code handling from

  DELTA volser-dump-validate-input-20060417
2006-11-28 09:30:58 +00:00
Jeffrey Altman
1ed0460435 windows-smb-dont-crash-vista-20061128
Unlike previous versions of the OS, Vista performs a shutdown on
the Microsoft Loopback adapter just like it would on a real adapter.
This causes the smb_Listener threads to trigger a panic during a
suspend/hibernate power event.

The fix is to unbind from the network adapters in response to a
suspend/hibernate power event and then rebind to the adapters
when a resume power event is received.  Note that the resume events
are not reliably delivered so it is possible the afs service will
not be accessible.  However, this is the best we can do.
2006-11-28 09:16:36 +00:00
Jeffrey Altman
cb1997aad8 windows-conn-analyze-20061128
force an rx connection reset if VICECONNBAD or VICETOKENDEAD are
received
2006-11-28 09:05:10 +00:00
Jeffrey Altman
97733f8dcf windows-afslogon-dont-modify-environment-20061128
don't allow environment variables we set to be inherited by child
processes
2006-11-28 08:59:43 +00:00
Russ Allbery
769f4e49b6 thiscell-whitespace-20061120
Be more liberal when parsing ThisCell.  Accept and ignore leading and
trailing whitespace and anything after the first whitespace character on
the first line.  Return an error for a read error or for an empty cell
name.
2006-11-21 00:56:14 +00:00
Russ Allbery
40976a1f88 param-common-fix-20061120
Rather than setting AFS_PARAM_COMMON as part of the sysname guessing code,
guess the sysname first and then sent AFS_PARAM_COMMON in a separate case
statement based on the results.  Otherwise, it isn't set when
--with-afs-sysname is used explicitly, resulting in a broken Linux build.
2006-11-20 23:50:42 +00:00
Russ Allbery
778e2d5f18 relative-path-canonicalization-20061120
Path canonicalization for commands such as bos getlog was only applied for
absolute paths; relative paths were still constructed relative to the
canonical directory.  Modify the path canonicalization routines to also
canonicalize the base directory for relative paths.
2006-11-20 23:33:33 +00:00
Jeffrey Altman
848d2f1caa windows-netidmgr-plugin-vista-vs2005-20061120
Define _USE_32BIT_TIME_T since that is what tokens contain.

Use cflagsdll instead of cflagsmt to avoid multiply defined entry points
2006-11-20 18:53:28 +00:00
Jeffrey Altman
4a3482f9e6 windows-remove-unused-libs-20061120
rpcndr.lib and largeint.lib are no longer used.
rpcndr.lib no longer exists in the Vista SDK.
2006-11-20 18:03:03 +00:00
Jeffrey Altman
7fff96e0cf windows-smb-rename-offline-folders-20061111
FIXES 45692

when offline folders are enabled, the old file name sent in a rename
operation is sent in all uppercase even when the file name is not.
this patch attempts a case insensitive match after the case sensitive
match fails.
2006-11-11 07:12:10 +00:00
Derrick Brashear
1d6da37c59 revert-inactivevcache-hold-lock-20061109
fails verification. come back to it
2006-11-10 04:33:59 +00:00
Derrick Brashear
6766285fc2 macos-preupgrade-script-20061109
update the preupgrade script
2006-11-10 04:09:16 +00:00
Chas Williams
2110d5e843 kill-stat-blksize-20061109
FIXES 42663

don't provide a bogus hint
2006-11-10 04:02:01 +00:00
Derrick Brashear
24487b5ba2 leopard-updates-20061109
make things work with current seeds
2006-11-10 00:14:16 +00:00
Chas Williams
789bf060d2 linux-blkbits-20061109
FIXES 42671

set blkbits if we have it
2006-11-10 00:06:44 +00:00
Marc Dionne
c12c958feb linux-statfs-dentry-20061109
FIXES 42788

statfs changed in recent linux kernels. cope.
2006-11-09 23:40:20 +00:00
Chas Williams
ee8ae61a4d linux-config-h-died-20061109
FIXES 42662

config.h vanished. deal.
2006-11-09 23:10:51 +00:00
Chas Williams
6975fcb202 inactivevcache-hold-lock-20061109
FIXES 42798

hold a lock while we are in InactiveVCache
2006-11-09 23:02:32 +00:00
Chas Williams
dd508cf7b4 linux26-disable-backing-readahead-20061109
FIXES 42797

disable vm readahead, we don't want it
2006-11-09 22:53:46 +00:00
Jeffrey Altman
398ceb0775 windows-buf-flush-20061109
FIXES 44330

The return value of buf_CleanAsync is not an error value but a flag
indicating whether or not the buffer was in fact dirty.  Do not treat
it as an error.  The error state is stored in the buffer itself.
2006-11-09 21:25:28 +00:00
Jeffrey Hutzelman
ea4e9f1841 bozo-avoid-garbage-in-allprocs-20061108
if we error, don't put garbage in allProcs
2006-11-09 02:13:13 +00:00
Jeffrey Hutzelman
9ea216fc98 amd64-better-range-checking-20061108
FIXES 44198

check entire mapped space
2006-11-08 18:56:08 +00:00
Russ Allbery
46cfe72898 aklog-doc-improvements-20061105
Document (at least partially) AFS's mapping of Kerberos v5 principal names
to Kerberos v4 format in the aklog man page.  Also document that -setpag
may not always work.
2006-11-06 04:24:42 +00:00
Russ Allbery
f820125521 afsd-shutdown-doc-improvement-20061105
Change the CAUTIONS about afsd -shutdown to be less dire and more accurate,
as this now mostly works on Linux.
2006-11-06 04:16:09 +00:00
Jeffrey Altman
bf5bfc0663 rxkad-server-bad-ticket-part-two-20061103
FIXES 43862

Ensure that tkt_DecodeTicket and rxkad_CheckResponse return the right
RXKAD errors for ticket expiration or invalidity.  Avoid calling
tkt_CheckTimes twice in rxkad_CheckResponse
2006-11-04 23:49:45 +00:00
Jeffrey Altman
799caa43b5 rxkad-server-bad-ticket-20061103
FIXES 43862

The file server has been returning RXKADNOAUTH when the time between
the client and server is out of sync.  tkt_CheckTimes returns -1 for
recently expired tickets and -2 for tickets that have been expired for
a while.  In the -2 case we must return RXKADBADTICKET not RXKADNOAUTH.
2006-11-04 15:34:58 +00:00
Jeffrey Altman
8dd192a8dd windows-afs-config-stat-entries-20061103
raise max stat entries in the control from 10000
to 262144
2006-11-03 07:54:22 +00:00
Jim Rees
b0ac8662ab fix-help-msg-20061031
Fix -help message, which was chopping off the "Usage: fileserver " part.
Get rid of silly private buffer and use stdio while we're at it.
2006-10-31 17:03:51 +00:00
Marcus Watts
9dc762e8e6 k5-klog-20061026
k5 version of klog
2006-10-27 00:39:15 +00:00
Marcus Watts
db4faa0656 aklog-lib-order-20061026
fix lib ordering
2006-10-26 17:49:38 +00:00
Jim Rees
c5fd006bf8 use-strdup-20061026
use strdup instead of rolling our own
2006-10-26 17:34:31 +00:00
Jim Rees
997454bd10 more-small-obsd-tweaks-20061026
Mention how to build aklog.
Don't even try to build kdump for [ofn]bsd.
2006-10-26 17:13:32 +00:00
Jim Rees
a51a33beb3 obsd-20061026
OpenBSD:
deprecate --with-krb5
warn about AUTOCONF_VERSION
package builder is now just a tarball builder
2006-10-26 16:06:57 +00:00
Jim Rees
2145b549b3 proto-20061026
prototypes for dbread/dbwrite
2006-10-26 15:54:12 +00:00
Jim Rees
04a3a95da3 strcpy-is-bad-20061023
eliminate strcpy
2006-10-23 20:42:00 +00:00
Jeffrey Altman
eecdb30c47 windows-readme-20061023 2006-10-23 05:07:38 +00:00
Jeffrey Altman
c484781531 windows-smb_fid_t-deadlock-20061022
smb_ReleaseFID cannot be called while a cm_scache_t->mx is held

shuffle the order of the smb_ReleaseFID calls so they are always after
cm_XXXRelease calls for performance.
2006-10-22 13:23:59 +00:00
Jeffrey Altman
77d210cde7 windows-delonclose-20061021
set delonclose after obtaining the smb_fid_t
2006-10-22 03:29:05 +00:00
Tom Keiser
e6b719a4c0 parallel-attaching-20061021
FIXES 43332

Some sites expect single-threaded volume attaches to happen in a specific
order. The parallel attach patch also changed the attach order for sites
not specifying -vattachpar.
2006-10-22 02:58:37 +00:00
Jeffrey Hutzelman
e720779b7c kreltime-20061021
FIXES 43551

kreltime-guard-against-null-tm-20060731 was apparently an
attempt to deal with the possibility of localtime() returning NULL by
using localtime_r instead, and zeroing the tm structure first. This has
two problems. First, localtime_r is not guaranteed to leave its output
buffer untouched or in a sane state in the event it is given invalid
input. More importantly, the second half of this delta fixed the build
on Windows (which apparently lacks localtime_r) at the expense of using
the wrong level of indirection on other platforms.

Simple is nice, but correct is important too. There is nothing wrong
with switching to localtime_r to avoid thread safety issues. However,
the correct fix for the anticipated problem was and is to check the
return value of localtime (or localtime_r), and if it is NULL, fill in
the ktime_date with suitable default values.

The attached patch does not implement the correct fix, but does fix the
double-indirection problem, so butc will again perform correctly instead
of crashing.
2006-10-22 02:48:35 +00:00
Jeffrey Altman
4f26bcfdb3 windows-misc-20061021
* don't DebugBreak unless a debugger is attached

* replace afsdcell.ini with CellServDB in error message

* do not NetBIOS Reset adapters when checking to see if only the loopback
  is in use because doing so breaks the existing LANA bind

* remove a deadlock in smb3.c

* do not retry dirty buffer writes when flushing in response to a suspend

* do not flush in response to a suspend when only the loopback is present
2006-10-21 21:46:17 +00:00
Jeffrey Altman
740013fcbf windows-dbg-refcount-20061016
more code to assist in debugging scache refcount leaks
2006-10-17 01:32:06 +00:00