Commit Graph

4676 Commits

Author SHA1 Message Date
Simon Wilkinson
98a68f9b02 rxkad-v5-dot-check-20080122
LICENSE IPL10
FIXES 75101

give an option to not enforce the dotted principal check. document it.
2008-01-23 04:13:55 +00:00
Derrick Brashear
0e8adf6953 viced-fsync-glock-creation-20080122
LICENSE IPL10

create fsync glock and cond before we initialize volume package. oops?
2008-01-23 03:20:13 +00:00
Derrick Brashear
0fab6d9600 redhat-packaging-keep-up-with-the-joneses-20080122
LICENSE IPL10

track new manpages
2008-01-22 21:03:51 +00:00
Derrick Brashear
e1c4e77d13 vos-volser-enhancements-20080121
LICENSE IPL10

add option to addsite to allow adding a site where there is already a release-
equivalent volume resident, where thus we don't want to mark unreleased

(possible by dumping an existing RO and restoring with -readonly at the
 new site)

add ability to vos clone to a readonly or backup with the correct ID and name

add ability when restoring a RW to a new site to leave the volume at the old
site intact

all changes are internal to vos and can be used with any OpenAFS from 2006
or later (supporting changes in namei to not create volumes with bad parent
id went in in December 2005)
2008-01-22 05:15:15 +00:00
Mike Meffie
1181ea0346 tests-update-20080121
LICENSE IPL10

update test scripting
2008-01-21 21:04:35 +00:00
Evan Broder
82e389f56f macos-packaging-using-afs-conf-when-possible-20080121
LICENSE IPL10
FIXES 81825

switch to afs.conf as other ports use instead of afsd.options,
when possible
2008-01-21 21:03:48 +00:00
Derrick Brashear
6a7461e6f8 make-avoid-double-slash-20080121
LICENSE IPL10

avoid having double / in make commands
2008-01-21 18:36:02 +00:00
Jeffrey Hutzelman
fc91cf4314 solaris-vfsroot-refcount-issue-20080121
LICENSE IPL10

fix issue with afs root vnode refcount dropping to 0
2008-01-21 17:34:00 +00:00
Simon Wilkinson
75c10322ff redhat-spec-update-20080121
LICENSE IPL10

update specfile to default to fedorakmod
2008-01-21 17:08:22 +00:00
Derrick Brashear
9d22f7702e libafs-linux-dest-right-things-20080121
LICENSE IPL10

"duh"

make it like the install rules
2008-01-21 14:18:11 +00:00
Derrick Brashear
22c059a913 vos-restore-incrementals-no-orphans-really-20080121
LICENSE IPL10
FIXES 46937

based on comments from jhutz@cmu.edu; runnign thread in the ticket
2008-01-21 14:04:34 +00:00
Jason Edgecombe
efba39ead0 man-page-fileserver-limits-20080119
LICENSE BSD

Document the 2TB volume and partition limits and the -abortthreshold flag
to the AFS fileserver.
2008-01-20 00:06:49 +00:00
Jeffrey Altman
88e915d8f9 windows-cm_ioctl_query_opts-20080115
LICENSE MIT

The path ioctl operations have several issues:

(1) the specified path for "fs examine, whereis, whichcell, flush" and so
    always has the follow symlinks and mount points semantics.  This makes
    it impossible to determine what the FID of a symlink or mount point is.

(2) "fs examine" out is not the result of a single pioctl operation but is
    actually the combined output of half a dozen operations.  Path evaluation
    is an expensive operation.  It would be faster if the caller could
    evaluate the FID first and then perform all of the rest of the operations
    by specifying the FID instead of the path.

(3) fs output reports all objects as files.  By adding a GetFileType
    pioctl more informative output can be provided that indicates what
    type of object the path evaluates to.

(4) the Windows fs command includes a number of commands that do nothing
    but exist only because the Unix cache manager supports them.

This delta adds a new extendible data structure cm_ioctl_query_opts_t which
can be optionally specified with pioctls that do not already require
input data.  The first two fields of this structure are 'literal' and
'fid'.  The literal field is used to indicate whether the last component
of the path should be evaluated following symlinks and mount points.
The fid field permits a fid to be specified.

A new GetFileType pioctl has been added. The type of objects are now
output.

A new "-literal" option is available for "fs examine, flush, whereis, and
whichcell.

Unimplemented fs commands have been removed.
2008-01-16 03:16:19 +00:00
Derrick Brashear
64ef3f518e redhat-makesrpm-deal-with-cellservdb-20080115
LICENSE IPL10

autofetch the CellServDB based on the spec or let one be provided
2008-01-15 23:42:08 +00:00
Matt Benjamin
c386499fbe fbsd-70-updates-20080115
LICENSE IPL10
FIXES 82847

updates to make us build on freebsd 7.0
2008-01-15 06:04:49 +00:00
Derrick Brashear
08d71812fe arm-linux-20080115
LICENSE IPL10

make an arm linux port.
2008-01-15 05:20:49 +00:00
Jason Edgecombe
110d5702ea man-page-cmdebug-updates-20080113
LICENSE BSD

Add -ctime and -cellservdb options to the cmdebug man page and improve
example host names and SEE ALSO references.
2008-01-14 04:55:21 +00:00
Jeffrey Altman
d581109199 cmd-nname-20080113
LICENSE MIT

Nname() is used to concatenate two strings and is frequently used with
the first string being the name of the executable perhaps with a full
path.  The static buffer specified is too small for a full path and
there was no protection against writing beyond the end of it.
2008-01-13 15:32:24 +00:00
Jeffrey Altman
84989e6584 windows-pioctl-parse-path-20080113
LICENSE MIT

Apply the desired "follow symlinks/mountpoints" semantics to the single
component non-UNC case.
2008-01-13 14:37:04 +00:00
Jeffrey Altman
7a40c73476 windows-explorer-shell-symlinks-show-20080112
LICENSE MIT

Add AFS->Symlnks->Show dialog to the explorer shell menu
2008-01-12 23:29:59 +00:00
Jeffrey Altman
b3fe9727b3 cmdebug-cellservdb-20080112
LICENSE MIT

Add -cellservdb option to the cmdebug command.

This option will retrieve the volume location database information
for all cells known to the cache manager and output the data in the
format required by the CellServDB file.

This functionality is supported by the UNIX cache managers and
Windows cache managers 1.5.31 and later.
2008-01-12 15:43:37 +00:00
Derrick Brashear
bda66877dd config-cvsignore-update-20080111
LICENSE IPL10

ignore generated Makefile.SYSNAME.in
2008-01-11 22:38:48 +00:00
Jeffrey Altman
ae9dc9ad4d windows-callback-getcellservdb-20080111
LICENSE MIT

Add support for RXAFS_GetCellServDB.  Implemented by generalizing
RXAFS_GetCellByNum and special casing the index values to do the
right thing.

Conditionalize grabbing the callp->lock in the callback functions.
The race conditions in rx have long since been fixed and the potential
for deadlocks are too great.

Add a new flag CM_FLAG_NOPROBE for use in calls to cm_GetCell.  When
set the newly discovered servers will not be immediately probed.  Useful
when setting tokens, setting server preferences, or responding to cmdebug
callbacks.
2008-01-11 19:09:20 +00:00
Jeffrey Altman
8b82cbeef7 windows-smb-synchronization-20080110
LICENSE MIT

1. prevent stopping the smb_Listeners due to an ip addr change when the
LANA is determined either by registry assignment or loopback detection

2. add synchronization logic to prevent smb_Listener restarts prior to
   smb_Listener thread stoppage

3. no longer permit panics from smb_Listener threads

4. move the probe logic from cm_IPAddrDaemon thread to the cm_Daemon
   thread in order to avoid the loss of ip addr change events.  If an
   adapter stops and restarts fast enough there might not be anything
   for us to do.
2008-01-10 23:48:02 +00:00
Matt Benjamin
8569f67aee linux-2624-rc5-updates-20080110
LICENSE IPL10
FIXES 80463


Include linux/key-type.h in osi_groups.c, if it exists. Fix
do_sync_read test for recent kbuild (maybe break it for [some older 2.6]).
2008-01-10 16:58:30 +00:00
Simon Wilkinson
5011ea88ba redhat-make-srpm-script-20080109
LICENSE IPL10

srpm builder script
2008-01-09 19:36:59 +00:00
Jeffrey Altman
a1b7be4ac3 windows-smb-name-deleted-20080109
LICENSE MIT

if the smb_Listener receives NRC_NAMERR (name deleted) it must be because
an smb shutdown has occurred.  do not panic.
2008-01-09 15:25:07 +00:00
Jeffrey Altman
845fb28de6 windows-pioctl-follow-mountpoints-registry-20080108
LICENSE MIT

Add a registry value "PioctlFollowMountPoint" to permit the use of the
old pioctl path evaluation behavior that always followed mountpoints
and symlinks.
2008-01-09 06:03:10 +00:00
Jeffrey Altman
f2fd97bfb0 smb-even-less-chatty-20080108
LICENSE MIT

remove the smb_RestartListeners message entirely
2008-01-08 22:28:39 +00:00
Jeffrey Altman
110f74bcb8 windows-daemon-20080108
LICENSE MIT

sleep 10 seconds between cycles.  should make this configurable.
2008-01-08 22:03:12 +00:00
Jeffrey Altman
05e5b9129f windows-smb-logging-20080108
LICENSE MIT

Be less chatty
2008-01-08 21:59:28 +00:00
Jeffrey Altman
69c9ab66a4 windows-callback-missing-bang-20080108
LICENSE MIT

Insert a missing bang that results in a null pointer dereference
when processing a callback from an unrecognized server.
2008-01-08 21:26:46 +00:00
Jim Rees
a731801899 obsd-more-stack-20080108
make stack bigger in volserver and fileserver
eliminates overflow in k5 library
2008-01-08 17:18:57 +00:00
Jim Rees
2927287f13 obsd-lock-no-interlock-20080108
restore lock vnode op, but without vnode interlock for obsd 4.2
2008-01-08 17:04:30 +00:00
Asanka Herath
521f139a89 windows-nim-afscred-identity-initialization-20080108
LICENSE MIT

One of the challenges to deploying NIM has been the configuration of
AFS token acquisition.  This patch adds a new registry key hierarchy

  HKLM\SOFTWARE\OpenAFS\Client\Realms

which is used to configure the AFS Provider for a new identity based
upon the realm of the identity.  The Realms key contains subkeys for
each realm for which configuration data is being provided

  HKLM\SOFTWARE\OpenAFS\Client\Realms\"RealmName"

"RealmName" contains one optional value, "AFSEnabled", and subkeys for
each Cell that is to be added to the configuration.  "AFSEnabled" defaults
to 0x01.

   HKLM\SOFTWARE\OpenAFS\Client\Realms\"RealmName"\"CellName"

In "CellName", there are two optional values, "Realm" and "MethodName".
If the values are not specified, the automatic realm and method determination
algorithms are used.

These values can be added to an MSI transform or deployed via Group Policy.
2008-01-08 17:04:19 +00:00
Jeffrey Altman
5979a37e4e windows-smb-started-synchronization-20080108
LICENSE MIT

Add a new mutex "smb_StartedMutex" which is used to protect the
transitions between the various smb_ListenerState values.
2008-01-08 07:04:51 +00:00
Jeffrey Altman
a05df91550 windows-printf-format-string-protection-20080108
LICENSE MIT

Do not pass strings generated from incoming network data to ??printf
as the format string.  Instead use a format string of "%s".  This protects
against %? expansions being inserted in the string.
2008-01-08 06:27:36 +00:00
Derrick Brashear
be4da54fa0 viced-hpr-error-handling-20080107
LICENSE IPL10

fix ubik reinit issue reported by jhutz@cs
2008-01-07 20:22:10 +00:00
Derrick Brashear
777a284087 sys-syscall-object-dependency-20080107
LICENSE IPL10

make syscall.o always be created, some makes don't deal with the implicit requirement
2008-01-07 20:10:27 +00:00
Russ Allbery
58efc5029c linux-probe-warning-case-20080107
LICENSE MIT

Some older Linux kernels prefix warnings with "Warning:" rather than
"WARNING:", so do the grep case-insensitively when finding missing symbols.
2008-01-07 18:14:54 +00:00
Jeffrey Altman
b19c56edfa windows-bkg-prefetch-buf-refcount-leak-20080107
LICENSE MIT

Close a refcount leak in bkg prefetch.

Do not stop prefetching simply because a buffer we want is already being
fetched.  Instead skip the buffer and try to fetch the next one we require.
2008-01-07 17:54:06 +00:00
Jeffrey Altman
049bc4a637 windows-ipaddr-change-server-deadlock-20080106
LICENSE MIT

avoid a deadlock during server probes initiated by the ipaddr change
daemon thread.
2008-01-06 23:11:01 +00:00
Derrick Brashear
342595b2aa viced-threadquota-release-holds-20080106
LICENSE IPL10

release a hold when we decline to service a host
2008-01-06 15:57:05 +00:00
Jeffrey Altman
6887c0e5b2 windows-power-mgmt-20080105
LICENSE MIT

Log more power mgmt events.

Do not permit a smb reinitialization when in a suspended state

Periodically check to see if the LAN adapter is -1.  If so, try to
reinitialize the smb stack.
2008-01-06 06:25:08 +00:00
Jeffrey Altman
d27e82c8e2 windows-follow-backup-path-20080105
LICENSE MIT

parens are required in order to get the desired behavior
2008-01-05 22:19:12 +00:00
Jeffrey Altman
f789f943f6 windows-nim-afscred-referrals-two-20080105
LICENSE MIT

compatibility with Visual Studio 2005/2008
2008-01-05 18:55:55 +00:00
Jeffrey Altman
f970985bc3 windows-vista-network-change-20080105
LICENSE MIT

After a network change, test to see if the desired LAN adapter to bind
the Netbios Name to has changed.  If so, stop the Netbios Network and
restart with the new LAN adapter.

This can happen on Vista after a suspend if the service wakes up before
the Loopback adapter re-initializes.
2008-01-05 17:55:20 +00:00
Jeffrey Altman
53acd2042d windows-nim-afscred-referrals-20080105
LICENSE MIT

If the requestd realm name is the empty string, copy the realm from the
resulting ticket for use in pts registration.
2008-01-05 17:28:59 +00:00
Derrick Brashear
8e3940c461 windows-aklog-referrals-20080105
LICENSE IPL10

If the realm name of the requested ticket is the empty string, decode
the actual service ticket to determine the actual realm.  Obtaining the
actual realm prevents unnecessary pts registration failures.
2008-01-05 16:59:56 +00:00
Marc Horowitz
2d15ac7934 aklog-referral-support-20080104
LICENSE IPL10

with updates and configure support from Simon Wilkinson.

make aklog able to cope with referrals.
2008-01-05 04:43:09 +00:00