openafs.git
14 years agoDEVEL15-ifdef-nfs-translator-20070102
Marc Dionne [Tue, 2 Jan 2007 15:41:41 +0000]
DEVEL15-ifdef-nfs-translator-20070102

FIXES 50602

appropriately wrap nfs translator code in ifdefs

(cherry picked from commit 84cfee7d07510d007df63788ffce028255829d41)

14 years agoDEVEL15-solaris10-suser-replace-20070102
Dale Ghent [Tue, 2 Jan 2007 07:34:46 +0000]
DEVEL15-solaris10-suser-replace-20070102

FIXES 50246

suser is dead, long live suser

(cherry picked from commit 71f6f346caa9f501a0b7af23c9d4425d9357f3eb)

14 years agoDEVEL15-windows-readme-20061230
Jeffrey Altman [Sat, 30 Dec 2006 17:50:06 +0000]
DEVEL15-windows-readme-20061230

updates for VS2005, Vista, etc.

(cherry picked from commit 1a9ba9aa4bdb2424a49396e0d8e9345a91e4ba90)

14 years agoDEVEL15-windows-remove-junk-20061230
Jeffrey Altman [Sat, 30 Dec 2006 17:41:38 +0000]
DEVEL15-windows-remove-junk-20061230

remove old win9x installers that are no longer used.

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

remove InstallShield5 installer that is no longer used

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

Remove Win9x read me files since we don't support them anyway

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

Remove Win9x makefile since we don't support it

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

Remove Win9xpanel since we no longer build it

14 years agoDEVEL15-kaserver-deprecation-warning-20061230
Jeffrey Altman [Sat, 30 Dec 2006 17:04:11 +0000]
DEVEL15-kaserver-deprecation-warning-20061230

The following message is now logged to both the BosLog and the AuthLog
at startup.

  WARNING: kaserver is deprecated due to its weak security properties.
  Migrating to a Kerberos 5 KDC is advised.
  http://www.openafs.org/no-more-des.html

(cherry picked from commit 0995d4d9b3059569d1fa2ed330982e4dfe021cac)

14 years agoDEVEL15-afsdb-resolver-reinit-20061230
Jeffrey Altman [Sat, 30 Dec 2006 16:58:15 +0000]
DEVEL15-afsdb-resolver-reinit-20061230

FIXES 50576

replace 'try' with 'try_init' and declare 'try_init'.
'try' is a reserved word on some compilers.  not sure how this code
was compiling on MacOS X and Windows as 'try' was not declared.

(cherry picked from commit 47b4f514cadb815fff7be99726911599cacfb287)

14 years agoDEVEL15-windows-notes-20061229
Jeffrey Altman [Sat, 30 Dec 2006 02:49:22 +0000]
DEVEL15-windows-notes-20061229

1.5.13a

14 years agoDEVEL15-windows-optimize-smb-dir-search-if-no-wildcard-20061229
Jeffrey Altman [Sat, 30 Dec 2006 02:45:46 +0000]
DEVEL15-windows-optimize-smb-dir-search-if-no-wildcard-20061229

do not follow mountpoints when calling cm_Lookup as part of the
optimization.  otherwise the shortname is computed incorrectly.

(cherry picked from commit a305a8c3c7fff86ffcfce500150883262c1c6caf)

14 years agoDEVEL15-windows-version-20061229
Jeffrey Altman [Sat, 30 Dec 2006 02:36:39 +0000]
DEVEL15-windows-version-20061229

1.5.13a == 1.5.1302

14 years agoDEVEL15-proc-unixusers-cleanup-on-linux-20061228
Derrick Brashear [Thu, 28 Dec 2006 22:36:33 +0000]
DEVEL15-proc-unixusers-cleanup-on-linux-20061228

FIXES 49978

maybe

(cherry picked from commit 224eb9ff60ffc7658428557cb98dfdf59b61b8d5)

14 years agoDEVEL15-null-terminate-solaris-ops-20061228
Dale Ghent [Thu, 28 Dec 2006 22:28:10 +0000]
DEVEL15-null-terminate-solaris-ops-20061228

FIXES 50340

vfsops and vnodeops need a NULL at the end of the structs

(cherry picked from commit c4c90e33be7ce0954b603455c0aa77b667803d7a)

14 years agoDEVEL15-add-solaris-11-support-v2-20061228
Dale Ghent [Thu, 28 Dec 2006 22:02:14 +0000]
DEVEL15-add-solaris-11-support-v2-20061228

FIXES 50343

initial 5.11 support

(cherry picked from commit a537d3ae9621ade7d03f289980eb340e435c0d8a)

14 years agoDEVEL15-solaris10-suser-replace-20061228
Dale Ghent [Thu, 28 Dec 2006 21:49:33 +0000]
DEVEL15-solaris10-suser-replace-20061228

FIXES 50246

suser is dead, long live suser

(cherry picked from commit 7756a870f37134d33d1c3ceb4ef780e0cfd4beb0)

14 years agoDEVEL15-linux-2620-rc1-update-20061228 openafs-devel-1_5_13
Marc Dionne [Thu, 28 Dec 2006 21:30:25 +0000]
DEVEL15-linux-2620-rc1-update-20061228

FIXES 49890

updates for linux 2.6.20-rc1

(cherry picked from commit 064926fd1b664b143e1389516c63bacb124b5f9f)

14 years agoDEVEL15-afsdb-resolver-reinit-20061228
Derrick Brashear [Thu, 28 Dec 2006 20:37:21 +0000]
DEVEL15-afsdb-resolver-reinit-20061228

as reported by Adam Megacz, but my own version of the fix

(cherry picked from commit fe649aac819839d84e6cecdbccdc5becc36fa968)

14 years agoDEVEL15-macos-installer-fix-20061227
Derrick Brashear [Wed, 27 Dec 2006 15:49:02 +0000]
DEVEL15-macos-installer-fix-20061227

make the installer build correctly again

(cherry picked from commit c454508d396fd361565f5e62da4ded7c735f5074)

14 years agoDEVEL15-windows-notes-20061226
Jeffrey Altman [Tue, 26 Dec 2006 20:31:40 +0000]
DEVEL15-windows-notes-20061226

more notes for 1.5.13

14 years agoDEVEL15-windows-version-20061226
Jeffrey Altman [Tue, 26 Dec 2006 20:28:32 +0000]
DEVEL15-windows-version-20061226

1.5.1301 == 1.5.13

14 years agoDEVEL15-windows-server-config-20061226
Jeffrey Altman [Tue, 26 Dec 2006 20:22:28 +0000]
DEVEL15-windows-server-config-20061226

Reformat the entire directory.

Add Freelance mode awareness.

Map the root.afs volume starting from Z: and work down.

(cherry picked from commit 2a9d3e91d0edd9e5afe43793bf8ced5dd6b2701a)

14 years agoDEVEL15-windows-optimize-smb-dir-search-if-no-wildcard-20061226
Jeffrey Altman [Tue, 26 Dec 2006 20:18:30 +0000]
DEVEL15-windows-optimize-smb-dir-search-if-no-wildcard-20061226

fix the computation of the ShortName.  Take into account the network
byte order of the cm_dirFid_t fields.

send error packets from within the function as needed.  do not return
the error to the caller.

(cherry picked from commit 432bede1e52245b6565c8970e96ee83c14e135fc)

14 years agoDEVEL15-bosserver-avoid-bosconfig-truncation-20061221
Derrick Brashear [Fri, 22 Dec 2006 06:48:50 +0000]
DEVEL15-bosserver-avoid-bosconfig-truncation-20061221

why the heck would it be a good idea to rewrite the BosConfig while we are starting, exactly?

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

why the heck would it be a good idea to rewrite the BosConfig while we are start
ing, exactly?

(cherry picked from commit b2601916f6b3a95d5adcaf0091232acc759870df)

14 years agoDEVEL15-split-cache-update-20061220
Derrick Brashear [Wed, 20 Dec 2006 21:18:11 +0000]
DEVEL15-split-cache-update-20061220

move closer to 1.4 implementation esp when split cache is turned off

(cherry picked from commit 04208276307d407c3e14828e6c8402345f6c0592)

14 years agoDEVEL15-solaris10-avoid-direct-cred-access-20061220
Dale Ghent [Wed, 20 Dec 2006 20:08:32 +0000]
DEVEL15-solaris10-avoid-direct-cred-access-20061220

avoid a panic after we muck with groups by being less evil

(cherry picked from commit c1c2a80c1bc34b23507bf80a6fb12a672c94097c)

14 years agoDEVEL15-windows-afslogon-20061219
Jeffrey Altman [Tue, 19 Dec 2006 17:56:30 +0000]
DEVEL15-windows-afslogon-20061219

Initialize Winsock from within afslogon.c so that ka_UserAuth will
work again.

(cherry picked from commit ea60a4dd395d0b14db1da2e5fec7d8dea48b2e70)

14 years agoDEVEL15-openafs-1-5-13-20061218
Derrick Brashear [Tue, 19 Dec 2006 04:55:13 +0000]
DEVEL15-openafs-1-5-13-20061218

make 1.5.13

14 years agoDEVEL15-volser-dumpstuff-20061218
Hartmut Reuter [Tue, 19 Dec 2006 04:50:46 +0000]
DEVEL15-volser-dumpstuff-20061218

FIXES 46937

"vos release" per default does an incremental dump.
volser-dump-validate-input-20060417 ends up with keeping dead vnodes and
data in the remote RO-volume.  This patch corrects the behavior for
RO-volumes.

See ticket for extensive discussion.

(cherry picked from commit 7a2d34be17d3ea1a24ab1362698de212c7d8008d)

14 years agoDEVEL15-kernel-endianness-test-fix-20061218
Derrick Brashear [Tue, 19 Dec 2006 04:31:30 +0000]
DEVEL15-kernel-endianness-test-fix-20061218

FIXES 47893

ok, so, when we're in the kernel, do something

(cherry picked from commit d229d72fa7719b947460674cdba203aab0c2a548)

14 years agoDEVEL15-openafs-kernel-src-fix-20061218
Derrick Brashear [Tue, 19 Dec 2006 04:20:09 +0000]
DEVEL15-openafs-kernel-src-fix-20061218

FIXES 44573

ok, so, we need to emit Makefile.version when we build openafs-kernel

(cherry picked from commit 8a7e66fb28b96888eeb9c36d27b855caa178566f)

14 years agoDEVEL15-volser-undo-cleanup-20061218
Jeffrey Altman [Tue, 19 Dec 2006 03:42:21 +0000]
DEVEL15-volser-undo-cleanup-20061218

uncommit an inappropriate commit

  DELTA volser-cleanup-xx-20061128

(cherry picked from commit 13cc6c5c376878f0ebbe86cae1fa2849d0aafd2f)

14 years agoDEVEL15-rx-globals-avoid-INIT-reuse-20061218
Derrick Brashear [Tue, 19 Dec 2006 03:19:08 +0000]
DEVEL15-rx-globals-avoid-INIT-reuse-20061218

FIXES 45515

avoid calling our macro INIT

(cherry picked from commit acca80fd673b2d4bbf39dec6231d08f2373f518e)

14 years agoDEVEL15-volume-dont-artificially-untimeout-vlservers-20061218
Jeffrey Hutzelman [Tue, 19 Dec 2006 02:34:05 +0000]
DEVEL15-volume-dont-artificially-untimeout-vlservers-20061218

FIXES 48959

remove synthetic event to undo timeouts of vlservers we "haven't talked to yet"

(cherry picked from commit c4adc63872d720b43d2ff99fd780046a4ba9883b)

14 years agoDEVEL15-linux-osi-cred-pool-byebye-20061218
Chas Williams [Tue, 19 Dec 2006 02:29:39 +0000]
DEVEL15-linux-osi-cred-pool-byebye-20061218

ok, unneeded abstraction removed.

(cherry picked from commit 01c0e029f7eea96f2892df9dd570f019660cfd8b)

14 years agoDEVEL15-windows-afslogon-20061218
Jeffrey Altman [Mon, 18 Dec 2006 23:57:04 +0000]
DEVEL15-windows-afslogon-20061218

test for the existence of the mutex and not the bInit flag
during the DLL attach

(cherry picked from commit 8a1debde84c7bacb103bb1a9c3d82a1f352f441f)

14 years agoDEVEL15-windows-notes-20061218
Jeffrey Altman [Mon, 18 Dec 2006 23:40:25 +0000]
DEVEL15-windows-notes-20061218

updates for 1.5.13

14 years agoDEVEL15-windows-version-20061218
Jeffrey Altman [Mon, 18 Dec 2006 23:31:25 +0000]
DEVEL15-windows-version-20061218

1.5.1300 == 1.5.13

14 years agoDEVEL15-windows-release-notes-20061218
Jeffrey Altman [Mon, 18 Dec 2006 23:20:57 +0000]
DEVEL15-windows-release-notes-20061218

update information on afs server installs for 1.5.13

14 years agoDEVEL15-windows-install-wix-20061218
Asanka Herath [Mon, 18 Dec 2006 22:34:24 +0000]
DEVEL15-windows-install-wix-20061218

remove the AFS Server wizard shortcut

add AFS Server dependencies (tcpip and PNP_TDI)

(cherry picked from commit a1c31b6637fe44f2a2ebd4be491b71cc4e0fa922)

14 years agoDEVEL15-windows-nsis-20061218
Jeffrey Altman [Mon, 18 Dec 2006 21:45:26 +0000]
DEVEL15-windows-nsis-20061218

remove the autorun for the AFS Server Wizard

remove the shortcut to the AFS Server Wizard

update the service dependencies for the bosctlsvc (tcpip and PNP_TDI)

(cherry picked from commit a7ea1f2efd616149b2419bb394f54d4828d316b9)

14 years agoDEVEL15-windows-optimize-smb-dir-search-if-no-wildcard-20061217
Asanka Herath [Sun, 17 Dec 2006 21:07:22 +0000]
DEVEL15-windows-optimize-smb-dir-search-if-no-wildcard-20061217

When performing a SMB FindFirst/FindNext/FindClose operation if there
are no wildcards involved, we can optimize the case and turn it from
O(n) to O(1) where 'n' is the number of entries in the directory.
This can be done by performing a cm_Lookup() and if it succeeds,
constructing the appropriate response instead of parsing the contents
of each buffer associated with the directory looking for matches.

Without this optimization, FindFirst operations on directories containing
thousands of entries can take a large number of seconds to complete.

(cherry picked from commit a57531592bfab0b36a4d7fb58b556b848e6f75c8)

14 years agoDEVEL15-rx-fix-lock-init-20061216
Jeffrey Altman [Sun, 17 Dec 2006 01:23:30 +0000]
DEVEL15-rx-fix-lock-init-20061216

When rxBind was added it made an assumption that rx_GetIFInfo could be
called before rx_InitXYZ.  This is true on non-Windows platforms, but
on Windows rxGetIFInfo relies on an initialized mutex.  This patch adds
a DllMain for Windows in order to initialize the mutex object upon DLL
load.

(cherry picked from commit 5b56a0b8ebbdfffa46b90d45b06253c3c6fade15)

14 years agoDEVEL15-ubik-better-debug-logging-in-remote-20061215
Derrick Brashear [Fri, 15 Dec 2006 16:39:46 +0000]
DEVEL15-ubik-better-debug-logging-in-remote-20061215

log when we get errors doing remote sync what it was, rather than covering it up

(cherry picked from commit 35fae890e298b6d43990c2bccfe2a67c9d555ec3)

14 years agoDEVEL15-windows-release-hotes-20061212
Jeffrey Altman [Wed, 13 Dec 2006 04:28:01 +0000]
DEVEL15-windows-release-hotes-20061212

updates for 1.5.13

14 years agoDEVEL15-windows-custom-control-subclassing-bis-20061212
Jeffrey Altman [Wed, 13 Dec 2006 00:26:35 +0000]
DEVEL15-windows-custom-control-subclassing-bis-20061212

Do not link to both talocale.lib and taafsapplib.lib.

If you do, then there are duplicate functions in both the .EXE and
the TaAfsAppLib.DLL.

(cherry picked from commit 04daebb95ebc15ece05f6f42aec1a3a7e9bd1bbf)

14 years agoDEVEL15-windows-custom-control-subclassing-20061212
Jeffrey Altman [Tue, 12 Dec 2006 20:40:52 +0000]
DEVEL15-windows-custom-control-subclassing-20061212

While investigating the reasons behind the Drive Mapping listbox
failing to permit entries 2 or above to be edited or removed and
the text string being truncated to two characters (on some systems)
I discovered that the subclasses were being recompiled into each
application instead of linking against the DLL that contains the
controls.

The custom controls have been renamed to address name space issues.

The "Drive X:" label changed to "X:" to permit single character item
selection within the listbox.

Still have no idea what is really going on.  Spy++ shows the Windows
messages being sent to the correct Windows.  However, the getcount
message never obtains a value other than 0 or 1.  This is probably
why the selection code is broken.  Still working on it.

(cherry picked from commit 70c350c6d04176a9f58fa7ab00c92511f3ca039b)

14 years agoDEVEL15-windows-sleep-when-out-of-buffers-20061212
Jeffrey Altman [Tue, 12 Dec 2006 17:04:41 +0000]
DEVEL15-windows-sleep-when-out-of-buffers-20061212

When there are no free buffers, don't loop continuously.
Sleep so that the other threads that are holding the buffers
can grab the global buffer lock and release them.

(cherry picked from commit f126802236bb059b8f0e804c76aef1031beb8a44)

14 years agoDEVEL15-STABLE15-windows-afsd-20061211
Jeffrey Altman [Tue, 12 Dec 2006 04:01:26 +0000]
DEVEL15-STABLE15-windows-afsd-20061211

(1) Power Management improvements.  Maintain a global flag that
    specifies whether or not the service is in a suspend state.
    Do not panic if Netbios() returns NRC_BRIDGE meaning that the
    lana is no longer valid.  Instead, stop the listener threads
    and if all listener threads are stopped, reset the lana_list.
    Allow the cm_Daemon() thread to periodically check the state
    of the smb listeners.  If they are all stopped and the service
    is not suspended, attempt to restart them.  If there are no valid
    lanas, return to the stopped state.

(2) CreateX and NTCreateX use cm_CheckNTOpen() to test whether or not
    the user is permitted to obtain read or write locks.  This function
    would obtain the lock and then drop it returning whether or not
    the lock could be obtained.  If the lock was in fact required,
    CreateX/NTCreateX would then obtain it with cm_Lock().  The problem
    of course being that this pattern results in three RPCs to the
    file server (lock, unlock, lock).  This is reduced to one RPC by
    implementing cm_CheckNTOpenDone() which frees the allocated byte
    range lock from cm_CheckNTOpen() after the cm_Lock() call is
    performed.

(3) Remove unused code.

(4) Add debugging to SMB Directory Search functions.

(5) Increase the SMB Ioctl MaxData size

14 years agoDEVEL15-rx-preparesendpacket-avoid-double-free-20061205
Derrick Brashear [Tue, 5 Dec 2006 19:41:34 +0000]
DEVEL15-rx-preparesendpacket-avoid-double-free-20061205

wow, this is special

existed forever but only when we stopped leaking packets did it become a problem

anyway, don't free packets and forget to reduce the number of packets in play

(cherry picked from commit 112604e9c31cba4f9605b6b53918aafa8cac77d0)

14 years agoDEVEL15-openafs-1-5-12-20061201 openafs-devel-1_5_12
Derrick Brashear [Fri, 1 Dec 2006 20:45:28 +0000]
DEVEL15-openafs-1-5-12-20061201

1.5.12

14 years agoDEVEL15-give-s390x-syscall-table-the-big-hammer-20061201
Derrick Brashear [Fri, 1 Dec 2006 18:50:51 +0000]
DEVEL15-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.

(cherry picked from commit b81763506fdf29f3df66d811e2d299cc4c9acec0)

14 years agoDEVEL15-redhat-packaging-updates-20061201
Derrick Brashear [Fri, 1 Dec 2006 18:35:33 +0000]
DEVEL15-redhat-packaging-updates-20061201

updates from derek

updates for s390x

updates to handle suse

(cherry picked from commit 9ba1d32b4ba8aac1d7e2c7f7489739e0e4ca5475)

14 years agoDEVEL15-redhat-initscripts-update-for-suse-20061201
Derrick Brashear [Fri, 1 Dec 2006 13:00:44 +0000]
DEVEL15-redhat-initscripts-update-for-suse-20061201

suse lacks /etc/init.d/functions

(cherry picked from commit af6af0bbc4d874a42f0640eaafd762ebfc1bc872)

14 years agoDEVEL15-windows-notes-20061130
Jeffrey Altman [Thu, 30 Nov 2006 06:50:58 +0000]
DEVEL15-windows-notes-20061130

updates for 1.5.12

14 years agoDEVEL15-STABLE15-windows-version-20061130
Jeffrey Altman [Thu, 30 Nov 2006 06:46:28 +0000]
DEVEL15-STABLE15-windows-version-20061130

1.5.1200 = 1.5.12

14 years agoDEVEL15-windows-release-notes-20061129
Jeffrey Altman [Thu, 30 Nov 2006 04:40:07 +0000]
DEVEL15-windows-release-notes-20061129

1.5.12 Release Notes

14 years agoDEVEL15-cprivate-ticketlen-is-32-not-16-20061129
Derrick Brashear [Wed, 29 Nov 2006 21:25:09 +0000]
DEVEL15-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.

(cherry picked from commit 45425b2f222d5c0a8dd56695587b6cdeba581b6a)

14 years agoDEVEL15-windows-dirty-buffer-optimization-20061128
Jeffrey Altman [Wed, 29 Nov 2006 06:23:44 +0000]
DEVEL15-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.

(cherry picked from commit d253bde4574e34ee08cf326ec4c481b57c230476)

14 years agoDEVEL15-volser-cleanup-20061128
Jeffrey Altman [Tue, 28 Nov 2006 09:29:28 +0000]
DEVEL15-volser-cleanup-20061128

cleanup the return code handling from

  DELTA volser-dump-validate-input-20060417

14 years agoDEVEL15-windows-smb-dont-crash-vista-20061128
Jeffrey Altman [Tue, 28 Nov 2006 09:17:14 +0000]
DEVEL15-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.

(cherry picked from commit 1ed0460435ec05150526c951d1ff32dd3b5a9c39)

14 years agoDEVEL15-windows-conn-analyze-20061128
Jeffrey Altman [Tue, 28 Nov 2006 09:08:04 +0000]
DEVEL15-windows-conn-analyze-20061128

force an rx connection reset if VICECONNBAD or VICETOKENDEAD are
received

(cherry picked from commit cb1997aad8a62b31f1e890dfe093a2d4845e0086)

14 years agoDEVEL15-windows-afslogon-dont-modify-environment-20061128
Jeffrey Altman [Tue, 28 Nov 2006 09:01:14 +0000]
DEVEL15-windows-afslogon-dont-modify-environment-20061128

don't allow environment variables we set to be inherited by child
processes

(cherry picked from commit 97733f8dcfd08968da5173ceb5976143728b5eab)

14 years agoDEVEL15-thiscell-whitespace-20061120
Russ Allbery [Tue, 21 Nov 2006 00:56:56 +0000]
DEVEL15-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.

(cherry picked from commit 769f4e49b60b15b27eb2898a5b28c2d99fc0238c)

14 years agoDEVEL15-relative-path-canonicalization-20061120
Russ Allbery [Mon, 20 Nov 2006 23:49:18 +0000]
DEVEL15-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.

(cherry picked from commit 778e2d5f18c1d0c93a073c137bb36e56f64747ef)

14 years agoDEVEL15-windows-netidmgr-plugin-vista-vs2005-20061120
Jeffrey Altman [Mon, 20 Nov 2006 18:54:31 +0000]
DEVEL15-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

(cherry picked from commit 848d2f1caa8d196831a1fe599694fdce0018136d)

14 years agoDEVEL15-windows-remove-unused-libs-20061120
Jeffrey Altman [Mon, 20 Nov 2006 18:04:53 +0000]
DEVEL15-windows-remove-unused-libs-20061120

rpcndr.lib and largeint.lib are no longer used.
rpcndr.lib no longer exists in the Vista SDK.

(cherry picked from commit 4a3482f9e6b5fdac731da45cc4f4179fd5db7046)

14 years agoDEVEL15-windows-notes-20061111 openafs-devel-1_5_11
Jeffrey Altman [Sun, 12 Nov 2006 00:22:59 +0000]
DEVEL15-windows-notes-20061111

more notes for 1.5.11

14 years agoDEVEL15-windows-smb-rename-offline-folders-20061111
Jeffrey Altman [Sat, 11 Nov 2006 07:13:48 +0000]
DEVEL15-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.

(cherry picked from commit 7fff96e0cf113a34d3001282807b6bd04375f5b1)

14 years agoDEVEL15-revert-inactivevcache-hold-lock-20061109
Derrick Brashear [Fri, 10 Nov 2006 04:36:34 +0000]
DEVEL15-revert-inactivevcache-hold-lock-20061109

fails verification. come back to it

(cherry picked from commit 1d6da37c594e3f379473aebc2a7345dc41bfff15)

14 years agoDEVEL15-macos-preupgrade-script-20061109
Derrick Brashear [Fri, 10 Nov 2006 04:11:33 +0000]
DEVEL15-macos-preupgrade-script-20061109

update the preupgrade script

(cherry picked from commit 6766285fc24e8ebc087e57085097106e1bb61425)

14 years agoDEVEL15-kill-stat-blksize-20061109
Chas Williams [Fri, 10 Nov 2006 04:05:31 +0000]
DEVEL15-kill-stat-blksize-20061109

FIXES 42663

don't provide a bogus hint

(cherry picked from commit 2110d5e843aef69b0753370cd5ad705b5d5afb8e)

14 years agoDEVEL15-openafs-1-5-11-20061109
Derrick Brashear [Fri, 10 Nov 2006 00:22:27 +0000]
DEVEL15-openafs-1-5-11-20061109

make 1.5.11

14 years agoDEVEL15-leopard-updates-20061109
Derrick Brashear [Fri, 10 Nov 2006 00:20:19 +0000]
DEVEL15-leopard-updates-20061109

make things work with current seeds

(cherry picked from commit 24487b5ba24ef5a5d6ee269e880dbcdfd2b7cc6d)

14 years agoDEVEL15-linux-blkbits-20061109
Chas Williams [Fri, 10 Nov 2006 00:11:01 +0000]
DEVEL15-linux-blkbits-20061109

FIXES 42671

set blkbits if we have it

(cherry picked from commit 789bf060d28465edc996b07b7f4bc21fc051515d)

14 years agoDEVEL15-aklog-doc-improvements-20061105
Russ Allbery [Fri, 10 Nov 2006 00:01:26 +0000]
DEVEL15-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.

(cherry picked from commit 46cfe728987b8d2f45a7dc718234f83fccbda9eb)

14 years agoDEVEL15-afsd-shutdown-doc-improvement-20061105
Russ Allbery [Thu, 9 Nov 2006 23:58:43 +0000]
DEVEL15-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.

(cherry picked from commit f82012552166a51edf6931b05abd0380c429d6b6)

14 years agoDEVEL15-linux-statfs-dentry-20061109
Marc Dionne [Thu, 9 Nov 2006 23:43:29 +0000]
DEVEL15-linux-statfs-dentry-20061109

FIXES 42788

statfs changed in recent linux kernels. cope.

(cherry picked from commit c12c958febfd6f7667345baec164b617f44f8bb9)

14 years agoDEVEL15-linux-config-h-died-20061109
Chas Williams [Thu, 9 Nov 2006 23:18:45 +0000]
DEVEL15-linux-config-h-died-20061109

FIXES 42662

config.h vanished. deal.

(cherry picked from commit ee8ae61a4d9610fea16473d87b471cd4fc128804)

14 years agoDEVEL15-inactivevcache-hold-lock-20061109
Chas Williams [Thu, 9 Nov 2006 23:03:15 +0000]
DEVEL15-inactivevcache-hold-lock-20061109

FIXES 42798

hold a lock while we are in InactiveVCache

(cherry picked from commit 6975fcb202f2a599814ce9f26cda1999163050f8)

14 years agoDEVEL15-linux26-disable-backing-readahead-20061109
Chas Williams [Thu, 9 Nov 2006 22:56:11 +0000]
DEVEL15-linux26-disable-backing-readahead-20061109

FIXES 42797

disable vm readahead, we don't want it

(cherry picked from commit dd508cf7b4553b13872335ec1eb84401bc61435f)

14 years agoDEVEL15-windows-notes-20061109
Jeffrey Altman [Thu, 9 Nov 2006 21:52:21 +0000]
DEVEL15-windows-notes-20061109

notes for 1.5.11

14 years agoDEVEL15-windows-release-notes-20061109
Jeffrey Altman [Thu, 9 Nov 2006 21:35:43 +0000]
DEVEL15-windows-release-notes-20061109

updates for 1.5.11

14 years agoDEVEL15-windows-version-20061109
Jeffrey Altman [Thu, 9 Nov 2006 21:29:21 +0000]
DEVEL15-windows-version-20061109

1.5.11 == 1.5.1100

14 years agoDEVEL15-windows-buf-flush-20061109
Jeffrey Altman [Thu, 9 Nov 2006 21:26:51 +0000]
DEVEL15-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.

(cherry picked from commit 398ceb0775a0663829ce4c44a8ec08d9e63bd1ca)

14 years agoDEVEL15-bozo-avoid-garbage-in-allprocs-20061108
Jeffrey Hutzelman [Thu, 9 Nov 2006 02:16:23 +0000]
DEVEL15-bozo-avoid-garbage-in-allprocs-20061108

if we error, don't put garbage in allProcs

(cherry picked from commit ea4e9f1841dccebf37e9287334442a1ac2f928b3)

14 years agoDEVEL15-amd64-better-range-checking-20061108
Jeffrey Hutzelman [Wed, 8 Nov 2006 18:57:45 +0000]
DEVEL15-amd64-better-range-checking-20061108

FIXES 44198

check entire mapped space

(cherry picked from commit 9ea216fc9837eb6922ce365aa3eedafdb8564d94)

14 years agoDEVEL15-rxkad-server-bad-ticket-part-two-20061103
Jeffrey Altman [Sat, 4 Nov 2006 23:55:22 +0000]
DEVEL15-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

(cherry picked from commit bf5bfc06638b028335ecdc19ce35315195fc6ffe)

14 years agoDEVEL15-rxkad-server-bad-ticket-20061103
Jeffrey Altman [Sat, 4 Nov 2006 15:39:01 +0000]
DEVEL15-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.

(cherry picked from commit 799caa43b5417b40e43f38a690962b1d53bca374)

14 years agoDEVEL15-windows-afs-config-stat-entries-20061103
Jeffrey Altman [Fri, 3 Nov 2006 07:57:15 +0000]
DEVEL15-windows-afs-config-stat-entries-20061103

raise max stat entries in the control from 10000
to 262144

(cherry picked from commit 8dd192a8dd5b516aaa6f1f74d7c1979b004e358f)

15 years agoDEVEL15-windows-readme-20061023 openafs-devel-1_5_10
Jeffrey Altman [Mon, 23 Oct 2006 05:08:48 +0000]
DEVEL15-windows-readme-20061023

(cherry picked from commit eecdb30c47b4c1a12011d2bf9bf0b6eb07797427)

15 years agoDEVEL15-windows-smb_fid_t-deadlock-20061022
Jeffrey Altman [Sun, 22 Oct 2006 13:25:38 +0000]
DEVEL15-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.

(cherry picked from commit c484781531ce29d3d1b5c3753322be4a87dd0841)

15 years agoDEVEL15-windows-delonclose-20061021
Jeffrey Altman [Sun, 22 Oct 2006 03:29:58 +0000]
DEVEL15-windows-delonclose-20061021

set delonclose after obtaining the smb_fid_t

(cherry picked from commit 77d210cde774995bffdebf3347847afebd6f7cfd)

15 years agoDEVEL15-parallel-attaching-20061021
Tom Keiser [Sun, 22 Oct 2006 03:00:12 +0000]
DEVEL15-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.

(cherry picked from commit e6b719a4c0a33b0b020c07c20124a40a245dbe9e)

15 years agoDEVEL15-kreltime-20061021
Jeffrey Hutzelman [Sun, 22 Oct 2006 02:53:46 +0000]
DEVEL15-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.

(cherry picked from commit e720779b7c8472a0d928b0e1429b476f073309aa)

15 years agoDEVEL15-windows-version-20061021
Jeffrey Altman [Sat, 21 Oct 2006 21:55:41 +0000]
DEVEL15-windows-version-20061021

1.5.10 == 1.5.1000

15 years agoDEVEL15-windows-notes-20061021
Jeffrey Altman [Sat, 21 Oct 2006 21:53:11 +0000]
DEVEL15-windows-notes-20061021

1.5.10

15 years agoDEVEL15-windows-release-notes-20061021
Jeffrey Altman [Sat, 21 Oct 2006 21:49:45 +0000]
DEVEL15-windows-release-notes-20061021

1.5.10

15 years agoDEVEL15-windows-misc-20061021
Jeffrey Altman [Sat, 21 Oct 2006 21:47:48 +0000]
DEVEL15-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

(cherry picked from commit 4f26bcfdb3c6a47d17f825e99f9d5a1bc97eba45)

15 years agoDEVEL15-windows-version-20061017 openafs-devel-1_5_9a
Jeffrey Altman [Tue, 17 Oct 2006 15:35:29 +0000]
DEVEL15-windows-version-20061017

1.5.903 == 1.5.9a

15 years agoDEVEL15-windows-version-20061016
Jeffrey Altman [Tue, 17 Oct 2006 01:38:52 +0000]
DEVEL15-windows-version-20061016

1.5.1000 == 1.5.10

15 years agoDEVEL15-windows-dbg-refcount-20061016
Jeffrey Altman [Tue, 17 Oct 2006 01:32:57 +0000]
DEVEL15-windows-dbg-refcount-20061016

more code to assist in debugging scache refcount leaks

(cherry picked from commit 740013fcbf2273287414dd399b3020ed09cf07ba)

15 years agoDEVEL15-windows-scache-ref-leak-20061016
Jeffrey Altman [Tue, 17 Oct 2006 01:21:36 +0000]
DEVEL15-windows-scache-ref-leak-20061016

more reference count leaks

(cherry picked from commit 6bc62e6c906174ef76759d77b3c6c9067a424455)