openafs.git
17 years agomove-tasklist-lock-extern-outside-func-20070403
Peter Breitenlohner [Tue, 3 Apr 2007 19:52:44 +0000]
move-tasklist-lock-extern-outside-func-20070403

FIXES 53441

make tasklist-lock extern with pragma weak possibly work right

17 years agowindows-vista-sdk-ntsecapi-compat-20070403
Jeffrey Altman [Tue, 3 Apr 2007 15:48:37 +0000]
windows-vista-sdk-ntsecapi-compat-20070403

There is no way to replace FOO with the value of BAR in cpp.

17 years agowindows-libadmin-vos-registry-20070403
Jeffrey Altman [Tue, 3 Apr 2007 14:34:19 +0000]
windows-libadmin-vos-registry-20070403

Move the session data from TransarcCorporation to OpenAFS.

17 years agorx-dpf-20070403
Jeffrey Altman [Tue, 3 Apr 2007 14:30:25 +0000]
rx-dpf-20070403

The function rx_MakeCall was at some point renamed to rx_NewCall
but the dpf output was never changed.

Add a dpf entry for rxi_ResetCall.

17 years agowindows-vista-sdk-ntsecapi-compat-20070402
Jeffrey Altman [Tue, 3 Apr 2007 06:40:27 +0000]
windows-vista-sdk-ntsecapi-compat-20070402

fix inclusion of ntsecapi.h in network identity manager plug-in

17 years agowindows-afslogon-20070402
Jeffrey Altman [Tue, 3 Apr 2007 05:32:03 +0000]
windows-afslogon-20070402

restore token acquisition for non-interactive logons.

17 years agowindows-nim-plugin-20070331
Jeffrey Altman [Sat, 31 Mar 2007 13:52:17 +0000]
windows-nim-plugin-20070331

correct a NULL pointer de-reference introduced in
windows-nim-plugin-20070328

17 years agowindows-afslogon-20070328
Jeffrey Altman [Wed, 28 Mar 2007 23:29:49 +0000]
windows-afslogon-20070328

There are two serious problems with integrated logon:

(1) openafs afslogon.dll obtains Kerberos v5 tickets and then forwards them
    into the logon session.  This was done because MIT KFW did not have
    such functionality.   As of KFW 3.1, KFW does, so we are removing it.

    the functionality worked by copying the credentials to a FILE ccache
    and then using the Logon Event Handler to move the credentials into
    an API ccache and delete the temporary file.  For non-interactive
    logons the Logon Event handlers do not get triggered.  Neither do
    LogonScripts get executed.  As a side effect, for each logon a
    credential cache file was left behind.

(2) when combined with non-interactive logons, there are some very bad
    side effects if a network provider performs Kerberos v5 operations.
    Each logon occurs in a new logon session and will spawn a private
    copy of krbcc32s.exe.

    As a result, integrated logon is being disabled for non-interactive
    logons.

17 years agowindows-nim-plugin-20070328
Jeffrey Altman [Wed, 28 Mar 2007 23:18:41 +0000]
windows-nim-plugin-20070328

if the service ticket in the cache is expired, delete it from the cache

17 years agos390x-syscall-patch-fix-20070326
Neale Ferguson [Tue, 27 Mar 2007 04:21:09 +0000]
s390x-syscall-patch-fix-20070326

make s390x syscall table patching work correctly

17 years agowindows-vista-sdk-ntsecapi-compat-20070324
Jeffrey Altman [Sat, 24 Mar 2007 05:02:16 +0000]
windows-vista-sdk-ntsecapi-compat-20070324

When loading the Vista SDK ntsecapi.h we must set _WIN32_WINNT
to 0x0501 or greater

17 years agowindows-fs-whereis-freelance-20070324
Jeffrey Altman [Sat, 24 Mar 2007 04:59:13 +0000]
windows-fs-whereis-freelance-20070324

do not assert on the lack of a cell when calling fs whereis on the
freelance volume.  return CM_ERROR_NOCELL instead.

17 years agotvolser-locking-updates-20070322
Derrick Brashear [Thu, 22 Mar 2007 15:58:45 +0000]
tvolser-locking-updates-20070322

rework locking in tvolser slightly to avoid potential transaction leak

17 years agodarwin-remunlink-20070320
Chas Williams [Tue, 20 Mar 2007 19:29:41 +0000]
darwin-remunlink-20070320

FIXES 55280

make reumlink work the way it's supposed to

17 years agonfs-gc-fix-20070320
Douglas Engert [Tue, 20 Mar 2007 19:20:24 +0000]
nfs-gc-fix-20070320

FIXES 56459

avoid issue with nfs gc handler and mismatched types

17 years agonamei-allow-zfs-20070320
Robert Banz [Tue, 20 Mar 2007 18:59:22 +0000]
namei-allow-zfs-20070320

don't force AlwaysAttach on ZFS in namei

17 years agolinux-task-pointer-safety-20070320
Chaskiel M Grundman [Tue, 20 Mar 2007 18:45:58 +0000]
linux-task-pointer-safety-20070320

hold applicable locks while futzing with task list

17 years agokeyring-pag-finduser-requires-glock-20070320
Chaskiel M Grundman [Tue, 20 Mar 2007 18:41:02 +0000]
keyring-pag-finduser-requires-glock-20070320

identical to the fix from chas@cmf.nrl.navy.mil

17 years agono-default-setuid-20070319
Derrick Brashear [Tue, 20 Mar 2007 01:13:06 +0000]
no-default-setuid-20070319

FIXES 54713

disable default setuid for localcell

17 years agowindows-var-renaming-20070319
Jeffrey Altman [Mon, 19 Mar 2007 13:44:41 +0000]
windows-var-renaming-20070319

give rx call variables a distinct name from cm call variables
in order to avoid confusion

17 years agoobsd-kernel-opts-20070317
Jim Rees [Sat, 17 Mar 2007 18:20:15 +0000]
obsd-kernel-opts-20070317

adjust module compile opts (KOPTS) to better match those of the kernel

17 years agowindows-afsd-nat-handling-20070310
Jeffrey Altman [Sat, 10 Mar 2007 15:48:01 +0000]
windows-afsd-nat-handling-20070310

Improve cache manager performance behind NATs:

 * drop cm_daemonCheckUpInterval from 10 minutes to 4 minutes to bring
   it under the minimum recommended default port mapping idle timeout
   value for NATs

 * when a timeout on an rx connection occurs, retry the request once
   after forcing a new rx connection.  If there was a NAT and the port
   mapping changed, the server would respond to the original addr:port
   associated with the rx connection.  Forcing a new connection will
   allow the request to be responded to if the server is accessible.

   This should eliminate the UP-DOWN-UP-DOWN bouncing that user's have
   seen when working from behind a NAT.

17 years agowindows-registry-20070310
Jeffrey Altman [Sat, 10 Mar 2007 14:25:00 +0000]
windows-registry-20070310

move the AFS Server Manager and AFS Account Manager data cache from
the TransarcCorporation key to the OpenAFS key.  The data formats are
not compatible between the two versions and we don't want to be forced
to erase data if users switch back and forth between the two products
during OpenAFS evaluation.

17 years agojava-lock-fix-200702310
Derrick Brashear [Sat, 10 Mar 2007 07:11:09 +0000]
java-lock-fix-200702310

make it portable. ugh.

17 years agocellservdb-20070309
Jeffrey Hutzelman [Sat, 10 Mar 2007 04:52:04 +0000]
cellservdb-20070309

17 years agowindows-afsd-remove-generated-file-20070308
Jeffrey Altman [Thu, 8 Mar 2007 17:44:13 +0000]
windows-afsd-remove-generated-file-20070308

afsd_eventmessages.rc is a generated file.  Don't maintain in cvs.

17 years agoaf-byteorder-bis-20070307
Jim Rees [Wed, 7 Mar 2007 21:42:20 +0000]
af-byteorder-bis-20070307

everyone wants AF in host order

17 years agowindows-plug-n-play-network-fix-20070307
Jeffrey Altman [Wed, 7 Mar 2007 18:13:25 +0000]
windows-plug-n-play-network-fix-20070307

Move the detection of which LAN adapter to use from smb_Init to
smb_NetbiosInit so that it is executed after the service is resumed
via a power management event.  Otherwise, when the network comes back
up the service attempts to bind to all LAN adapters instead of just
the loopback or the configured one.

17 years agoaf-byteorder-20070307
Jim Rees [Wed, 7 Mar 2007 17:00:57 +0000]
af-byteorder-20070307

bsd wants AF in host order

17 years agowindows-fs-checkserver-20070302
Jeffrey Altman [Sat, 3 Mar 2007 01:29:11 +0000]
windows-fs-checkserver-20070302

FIXES 55234

The "fs checkservers" command when not being used to change the check
interval should not require admin privilege.

17 years agowindows-partially-restore-find-lana-by-name-20070227
Jeffrey Altman [Wed, 28 Feb 2007 00:38:04 +0000]
windows-partially-restore-find-lana-by-name-20070227

find lana by name is used by the afs control panel to populate the
lana list box.  don't use the function to find by name.  just use
it to generate the list of all lana names.

17 years agowindows-afsd-no-krb_h-20070226
Jeffrey Altman [Tue, 27 Feb 2007 01:30:39 +0000]
windows-afsd-no-krb_h-20070226

Don't include krb.h when we don't use it for anything

17 years agoforcenewconns-even-with-one-interface-20070226
Chaskiel M Grundman [Mon, 26 Feb 2007 22:13:33 +0000]
forcenewconns-even-with-one-interface-20070226

otherwise we don't discard vlserver connections when a server is "down"

17 years agouae-etoomanyrefs-avoid-dup-20070222
Derrick Brashear [Mon, 26 Feb 2007 18:48:22 +0000]
uae-etoomanyrefs-avoid-dup-20070222

when ETOOMANYREFS is EIO don't rewrite the EIO slot with UAETOOMANYREFS

17 years agoconditionalize-tasklist-lock-20070226
Stephan Wiesand [Mon, 26 Feb 2007 17:55:55 +0000]
conditionalize-tasklist-lock-20070226

FIXES 54922

make rx_knet use tasklist_lock conditionally also

17 years agoupdate-tasklist-lock-test-20070226
Stephan Wiesand [Mon, 26 Feb 2007 17:50:37 +0000]
update-tasklist-lock-test-20070226

FIXES 54916

make the tasklist lock test actually detect GPL stupidity

17 years agomd5-inum-round-down-20070223
Derrick Brashear [Fri, 23 Feb 2007 00:42:46 +0000]
md5-inum-round-down-20070223

make our computed md5-style inode numbers be actually 32 bit

17 years agolinux-2621-20070222
Marc Dionne [Thu, 22 Feb 2007 21:46:13 +0000]
linux-2621-20070222

FIXES 54645

configure support for new sysctl api

17 years agolinux-unlink-avoid-infrequent-leak-20070222
Rainer Toebbicke [Thu, 22 Feb 2007 21:40:11 +0000]
linux-unlink-avoid-infrequent-leak-20070222

FIXES 54689

avoid minor leak

17 years agolinux-lookup-crfree-20070220
Kevin Hildebrand [Tue, 20 Feb 2007 18:03:26 +0000]
linux-lookup-crfree-20070220

FIXES 54549

add missing crfree to avoid leak

17 years agowindows-afs3-directory-format-20070219
Jeffrey Altman [Tue, 20 Feb 2007 03:13:41 +0000]
windows-afs3-directory-format-20070219

correct the documentation of the directory format in the headers

17 years agoremove-find-lana-by-name-20070219
Jeffrey Altman [Tue, 20 Feb 2007 03:06:05 +0000]
remove-find-lana-by-name-20070219

Remove the find lana by name functionality.  It is crucial that the
name computed by the afs service can also be computed by the pioctl
function executed by generic end users without privilege.  Unfortunately,
the undocumented functions used to implement find lana by name require
access to registry keys that a generic user cannot read.

17 years agowindows-netidmgr-help-registration-20070215
Asanka Herath [Thu, 15 Feb 2007 21:51:00 +0000]
windows-netidmgr-help-registration-20070215

In preparation for KFW 3.2, add conditional help registration.
When used with a version of NetIdMgr that supports the functionality
the OpenAFS plug-in will register its HtmlHelp on the NetIdMgr Help
menu.

17 years agowindows-move-rxdebug-20070215
Jeffrey Altman [Thu, 15 Feb 2007 18:09:36 +0000]
windows-move-rxdebug-20070215

back in 2001 rxdebug was moved from src/rx to src/rxdebug for Unix
but not for Windows.  Move it for Windows as well.

17 years agorxdebug-backoff-20070215
Jeffrey Hutzelman [Thu, 15 Feb 2007 17:11:09 +0000]
rxdebug-backoff-20070215

make rxdebug be less aggressive when retransmitting

17 years agorx-rxdebug-long-option-20070215
Jeffrey Altman [Thu, 15 Feb 2007 11:47:24 +0000]
rx-rxdebug-long-option-20070215

add the -long option from src/rxdebug/rxdebug.c to src/rx/rdebug.c

17 years agowindows-rmdir-not-empty-error-code-20070215
Jeffrey Altman [Thu, 15 Feb 2007 05:59:14 +0000]
windows-rmdir-not-empty-error-code-20070215

Ensure that removing a directory containing existing files returns
the correct error to the caller.

17 years agojava-locking-redux-20070214
Adam Megacz [Thu, 15 Feb 2007 00:33:39 +0000]
java-locking-redux-20070214

change the -1 len check for java locks slightly

17 years agodarwin-missing-dropnames-20070214
Chaskiel M Grundman [Thu, 15 Feb 2007 00:27:09 +0000]
darwin-missing-dropnames-20070214

for correctness, not to fix anything which has yet been observed

17 years agolibafsdep-correction-20070214
Jeffrey Hutzelman [Wed, 14 Feb 2007 23:55:09 +0000]
libafsdep-correction-20070214

FIXES 53441

apply the rest of the patch

17 years agoosi-probe-harder-20070213
Jeffrey Hutzelman [Tue, 13 Feb 2007 22:54:00 +0000]
osi-probe-harder-20070213

2.6.16 i386 didn't probe successfully before in at least one case

17 years agoamd64-syscall-probe-20070212
Derrick Brashear [Tue, 13 Feb 2007 18:39:34 +0000]
amd64-syscall-probe-20070212

FIXES 53441

based on suggested change from cg2v@andrew.cmu.edu
tasklist_lock not being exported makes this useless otherwise
S: ----------------------------------------------------------------------

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

based on suggested change from cg2v@andrew.cmu.edu
tasklist_lock not being exported makes this useless otherwise

17 years agowindows-afsd-symlink-to-dot-20070213
Jeffrey Altman [Tue, 13 Feb 2007 05:45:47 +0000]
windows-afsd-symlink-to-dot-20070213

FIXES 53878

When parsing a path containing a symlink to ".", do not short circuit
the evaluation.  Allow cm_Lookup to do its job.  Its slower but correct.

17 years agowindows-netidmgr-20070212
Jeffrey Altman [Tue, 13 Feb 2007 03:48:27 +0000]
windows-netidmgr-20070212

combo boxes should drop down.

17 years agowindows-unused-vars-20070212
Jeffrey Altman [Tue, 13 Feb 2007 03:07:55 +0000]
windows-unused-vars-20070212

remove unused vars

17 years agolock-mask-64bit-negative-1-for-java-20070212
Adam Megacz [Tue, 13 Feb 2007 01:33:20 +0000]
lock-mask-64bit-negative-1-for-java-20070212

java sends a 64 bit long -1... which isn't going to be useful most of the time

17 years agoaklog-krb5-referrals-compat-20070210
Jeffrey Altman [Sat, 10 Feb 2007 13:56:11 +0000]
aklog-krb5-referrals-compat-20070210

MIT Kerberos version 5 release 1.6 adds support for referrals in the
client.  As a result krb5_get_host_realm() returns the nul-string for
the realm whenever there is no local domain-realm mapping in the
profile.

aklog must now manually perform the fallback to using the domain of
the vlserver as basis for the realm name if referrals fail.

17 years agowindows-smb-file-lock-20070209
Asanka Herath [Sat, 10 Feb 2007 00:00:01 +0000]
windows-smb-file-lock-20070209

When processing exclusive locks for files that were opened read-only,
obtain a read-lock instead of a write-lock.

In NTCreateX, if the file is being opened as OPEN_ALWAYS and the file
already exists, do not require write permission

17 years agowindows-access-check-20070209
Jeffrey Altman [Fri, 9 Feb 2007 23:53:11 +0000]
windows-access-check-20070209

disable the test for the EACCESS flag in cm_HaveAccessRights.

17 years agowindows-fs-memdump-20070209
Jeffrey Altman [Fri, 9 Feb 2007 23:50:06 +0000]
windows-fs-memdump-20070209

only dump the dead smb_vcp list once

17 years agowindows-nim-plugin-krb5-referrals-compat-20070209
Jeffrey Altman [Fri, 9 Feb 2007 19:56:47 +0000]
windows-nim-plugin-krb5-referrals-compat-20070209

MIT Kerberos version 5 release 1.6 adds support for referrals in the
client.  As a result krb5_get_host_realm() returns the nul-string for
the realm whenever there is no local domain-realm mapping in the
profile.

aklog must now manually perform the fallback to using the domain of
the vlserver as basis for the realm name if referrals fail.

This will be required for KFW 3.2 support.

17 years agolibafsdep-mods-20070209
Peter Breitenlohner [Fri, 9 Feb 2007 18:41:46 +0000]
libafsdep-mods-20070209

FIXES 53381

don't break vpath builds

17 years agolinux-compile-test-24-20070209
Jeffrey Hutzelman [Fri, 9 Feb 2007 18:26:57 +0000]
linux-compile-test-24-20070209

FIXES 53385

no linux/namei.h on 2.4

17 years agowindows-aklog-krb5-referrals-compat-20070209
Jeffrey Altman [Fri, 9 Feb 2007 17:29:01 +0000]
windows-aklog-krb5-referrals-compat-20070209

MIT Kerberos version 5 release 1.6 adds support for referrals in the
client.  As a result krb5_get_host_realm() returns the nul-string for
the realm whenever there is no local domain-realm mapping in the
profile.

aklog must now manually perform the fallback to using the domain of
the vlserver as basis for the realm name if referrals fail.

This will be required for KFW 3.2 support.

17 years agoktc-cleanup-20070208
Marcus Watts [Fri, 9 Feb 2007 03:12:51 +0000]
ktc-cleanup-20070208

FIXES 53212

clean up ktc code, prototyping et al

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

restore ktc_GetToken prototype

17 years agolinux-locking-pre-2618-20070208
Christopher Allen Wing [Fri, 9 Feb 2007 01:34:08 +0000]
linux-locking-pre-2618-20070208

FIXES 53457

deal with pre 2.6.18 locking behavior

17 years agotasklist-export-check-20070208
Derrick Brashear [Fri, 9 Feb 2007 01:30:00 +0000]
tasklist-export-check-20070208

work around tasklist lock export harder

17 years agoafs-magic-for-linux-20070208
Adam Megacz [Fri, 9 Feb 2007 01:22:03 +0000]
afs-magic-for-linux-20070208

FIXES 52442

use the afs magic number

17 years agoobsd40-initial-20070208
Dave Cottle [Fri, 9 Feb 2007 01:12:16 +0000]
obsd40-initial-20070208

FIXES 53283

doesn't work right, and the patch in 53296 can't be taken as is

17 years agolinux24-update-20070208
Marcus Watts [Fri, 9 Feb 2007 01:04:28 +0000]
linux24-update-20070208

FIXES 53199

update for linux 2.4

17 years agoauth-cleanup-20070208
Marcus Watts [Fri, 9 Feb 2007 00:57:39 +0000]
auth-cleanup-20070208

FIXES 53208

remove unneeded includes of auth.h

17 years agobozo-cleanup-20070208
Marcus Watts [Fri, 9 Feb 2007 00:54:22 +0000]
bozo-cleanup-20070208

FIXES 53202

clean up bosserver

17 years agokeyring-pag-avoid-shadowing-20070208
Marc Dionne [Fri, 9 Feb 2007 00:25:42 +0000]
keyring-pag-avoid-shadowing-20070208

FIXES 38959

avoid shadowing the pag variable

17 years agogetcbi-limit-addresses-20070208
Derrick Brashear [Fri, 9 Feb 2007 00:17:24 +0000]
getcbi-limit-addresses-20070208

FIXES 36643

don't write addresses (if we have too many) over random memory

17 years agouse-unix-sockets-20070208
Derrick Brashear [Thu, 8 Feb 2007 23:59:16 +0000]
use-unix-sockets-20070208

option to use unix socket for fssync

17 years agolinux-lock-tracking-20070208
Jeffrey Hutzelman [Thu, 8 Feb 2007 22:37:41 +0000]
linux-lock-tracking-20070208

FIXES 31818

avoid a potential leaked lock when closing firefox.

17 years agowindows-scp-recycle-init-20070208
Jeffrey Altman [Thu, 8 Feb 2007 13:49:58 +0000]
windows-scp-recycle-init-20070208

when we recycle a stat cache object be sure to clear the file type so
we don't inherit the previous file type if the fetch status fails.

in merge status, clear the file type if the errorCode is EACCESS

17 years agowindows-merge-parent-fid-20070207
Jeffrey Altman [Wed, 7 Feb 2007 17:34:09 +0000]
windows-merge-parent-fid-20070207

modify cm_MergeStatus to take a pointer to the parent stat cache entry
so that the parent fid can be set when bulk status returns an error.

17 years agowindows-mounttab-remove-debugging-20070207
Jeffrey Altman [Wed, 7 Feb 2007 16:37:42 +0000]
windows-mounttab-remove-debugging-20070207

remove unused variables

17 years agowindows-merge-eaccess-20070207
Jeffrey Altman [Wed, 7 Feb 2007 08:12:27 +0000]
windows-merge-eaccess-20070207

when merging status info that has an errorCode of EACCESS set,
merge the garbage we received.

When checking the access to the object return EACCESS if the
stat cache object has the EACCESS flag set.  This will be cleared
the next time a BulkStatus succeeds.

17 years agomultiple-local-realms-20070201
Olivier Calle [Wed, 7 Feb 2007 04:52:18 +0000]
multiple-local-realms-20070201

FIXES 52459

when the name is foreign, execute the body of afs_is_foreign_ticket_name

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

The Name to ID RPC must distinguish between local and foreign names

17 years agowindows-merge-status-20070206
Jeffrey Altman [Tue, 6 Feb 2007 16:46:09 +0000]
windows-merge-status-20070206

when merging status for store data ops, use the fileHashTable to reduce
the number of buffers we must examine

17 years agowindows-merge-status-20070204
Jeffrey Altman [Mon, 5 Feb 2007 11:07:44 +0000]
windows-merge-status-20070204

For each StoreData operation the dataVersion on the object is incremented.
To prevent all of the cached buffers from being considered out of date,
if the dataVersion has been incremented by exactly one, then update the
dataVersion of the buffers that match the FID and the previous dataVersion

17 years agowindows-buffer-mgmt-20070204
Jeffrey Altman [Mon, 5 Feb 2007 03:41:06 +0000]
windows-buffer-mgmt-20070204

Instead of using a fixed sized hashtable of 1024 entries regardless
of the number of buffers, compute the hashtable to be large enough
for on average 7 buffers per bucket.

Remove the 'size' field from cm_buf_t since it is never used.

Add more info to the output of cm_buf_t objects when using "fs memdump"

17 years agowindows-store-biod-20070204
Jeffrey Altman [Sun, 4 Feb 2007 15:37:34 +0000]
windows-store-biod-20070204

Add a 'failed' parameter to the cm_ReleaseBIOD function.  This enables
the clearing of the CM_BUF_DIRTY flag to be conditional upon successful
completion of the store operation.

17 years agowindows-mounttab-remove-debugging-20070203
Jeffrey Altman [Sun, 4 Feb 2007 02:49:28 +0000]
windows-mounttab-remove-debugging-20070203

no longer need the Debug Output String statements

17 years agowindows-bkgdaemon-retry-failed-requests-20070203
Jeffrey Altman [Sun, 4 Feb 2007 02:45:21 +0000]
windows-bkgdaemon-retry-failed-requests-20070203

background request functions such as BkgFetch and BkgStore do not
return success or failure.  the bkgDaemon thread simply executes
the request and discards it regardless of whether or not the request
was completed.  this can result in background store event failing
to be written to the file server.

modify the background request functions to return success or failure.

modify the background daemon to put failed requests back onto the queue
if the reason for failure was transient.

modify the background daemon only to process requests when the servers
for the volume are marked up.

17 years agowindows-buf-refcount-leak-fix-20070203
Jeffrey Altman [Sun, 4 Feb 2007 02:01:12 +0000]
windows-buf-refcount-leak-fix-20070203

Plug a buffer refcount leak.   This is why the client slows down over
time.  It runs out of buffers it can use.

17 years agowindows-buf-dump-fix-20070203
Jeffrey Altman [Sat, 3 Feb 2007 18:03:55 +0000]
windows-buf-dump-fix-20070203

  restore the missing format string to the Buffer Hash Table Dump routine

17 years agowindows-log-eol-20070203
Jeffrey Altman [Sat, 3 Feb 2007 17:48:07 +0000]
windows-log-eol-20070203

ensure that log files use CR-LF for end of line.   the "fs memdump"
output and the afsd_init.log initialization output were still using LF.

17 years agowindows-drive-mappings-20070202
Jeffrey Altman [Sat, 3 Feb 2007 04:47:41 +0000]
windows-drive-mappings-20070202

FIXES 45545

Correct the return types and values of the Window Procedures.
This fixes the drive mappings problems.

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

Remove "Drive " from the drive mappings.  This way the drive letters
can be selected with a single key press.

17 years agolinux-and-locks-cleanup-20070202
Chaskiel M Grundman [Sat, 3 Feb 2007 03:23:16 +0000]
linux-and-locks-cleanup-20070202

fix linux flock, remove a bogus lock assert, and fix pid tracking to avoid useless panic

17 years agowindows-afsd-volume-ref-leak-20070202
Jeffrey Altman [Fri, 2 Feb 2007 15:43:07 +0000]
windows-afsd-volume-ref-leak-20070202

When looking up a volume by ID or Name, if the volume server data requires
refreshing and the UpdateVolume operation failed, do not leak the refCount.

17 years agowindows-nsis-20070202
Jeffrey Altman [Fri, 2 Feb 2007 15:36:45 +0000]
windows-nsis-20070202

even if afsd_service.exe can be shut down the binary might still not
be able to be replaced due to the windows Protection Service.
Use the ReplaceDLL macro

17 years agovenus-include-afs-com_err-20070201
Jeffrey Altman [Thu, 1 Feb 2007 13:23:45 +0000]
venus-include-afs-com_err-20070201

FIXES 51424

include afs/com_err.h for error_message() prototype to prevent crashes
on platforms with 64-bit pointers and 32-bit int

17 years agowindows-freelance-20070131
Jeffrey Altman [Thu, 1 Feb 2007 04:28:37 +0000]
windows-freelance-20070131

FIXES 52069

If an app tries to open the freelance directory for WRITE then the
default anonymous access privileges, read/lookup, are not sufficient
and cm_HaveAccessRights will fail.  Freelance can't get access rights
from anywhere.  Therefore, cm_HaveAccessRights should special case
the Freelance directory.

17 years agowindows-delete-test-file-not-dir-20070131
Jeffrey Altman [Wed, 31 Jan 2007 17:02:02 +0000]
windows-delete-test-file-not-dir-20070131

the cm_CheckNTDelete function was testing the permissions of the
directory and not the permissions of the file being deleted.
This resulted in inconsistencies between the attributes of the
file and the ability to delete it.

this patch also adds a large amount of trace log entries as there
was none in this section of the code before.

17 years agowindows-shell-ext-reformat-20070130
Jeffrey Altman [Tue, 30 Jan 2007 12:41:19 +0000]
windows-shell-ext-reformat-20070130

reformat the source code to make it easier to read/edit

17 years agowindows-netidmgr-string-updates-20070130
Jeffrey Altman [Tue, 30 Jan 2007 12:28:29 +0000]
windows-netidmgr-string-updates-20070130

As per the NetIdMgr model, refer to credentials instead of tokens.

Update the copyright strings

17 years agowindows-vol-fssync-debug-20070130
Jeffrey Altman [Tue, 30 Jan 2007 12:23:28 +0000]
windows-vol-fssync-debug-20070130

add a resource file for fssync-debug for when we decide to build it