openafs.git
19 years agoprototyping-20040623
Derrick Brashear [Wed, 23 Jun 2004 15:27:35 +0000]
prototyping-20040623

i had this laying around, i don't know from when, but i should flush it to cvs

19 years agoptserver-flags-default-switch-20040623
Marcus Watts [Wed, 23 Jun 2004 14:45:09 +0000]
ptserver-flags-default-switch-20040623

FIXES 5418

allow ptserver flags to be defaulted different per switch

19 years agocvsignore-updates-20040621
Derrick Brashear [Wed, 23 Jun 2004 14:35:20 +0000]
cvsignore-updates-20040621

FIXES 5209

update cvsingore files

19 years agoloopback-ok-2000-20040623
Jeffrey Altman [Wed, 23 Jun 2004 14:17:22 +0000]
loopback-ok-2000-20040623

The afsloopback.dll will configure the LMHOSTS and HOSTS files for "AFS"
therefore it is safe to use the loopback adapter on win2000 even though
it does not support broadcasts

19 years agouse-afsloopback-20040623
Jeffrey Altman [Wed, 23 Jun 2004 14:03:30 +0000]
use-afsloopback-20040623

Use the new afsloopback.dll in NSIS

19 years agowix-use-loopback-dll-20040622
Jeffrey Altman [Wed, 23 Jun 2004 09:30:19 +0000]
wix-use-loopback-dll-20040622

alter wix installer to use msi interface to afsloopback.dll instead
of instloop.exe

19 years agowix-msi-loopback-20040622
Jeffrey Altman [Wed, 23 Jun 2004 09:12:07 +0000]
wix-msi-loopback-20040622

convert wix installer to use msi interface to loopback dll instead
of instloop.exe

19 years agonew-loopback-dll-20040622
Jeffrey Altman [Wed, 23 Jun 2004 08:48:18 +0000]
new-loopback-dll-20040622

Construct a new afsloopback.dll which contains the routines
for installing, removing, and verifying the existance of
a loopback adapter.  This dll will be used by both the NSIS
and the Wix installers.

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

Update the wix installer to use the new version of instloop.exe
which uses the new afsloopback.dll

19 years agolicense-mit-20040622
Asanka Herath [Wed, 23 Jun 2004 04:55:13 +0000]
license-mit-20040622

Add MIT's license to their Wix contributions

19 years agodword-instead-of-bool-20040622
Jeffrey Altman [Tue, 22 Jun 2004 20:00:37 +0000]
dword-instead-of-bool-20040622

use DWORD instead of bool for function return types

19 years agodefault-realm-20040621
Jeffrey Altman [Tue, 22 Jun 2004 06:04:32 +0000]
default-realm-20040621

Set the default build realm to openafs.org

19 years agowix-changes-20040621
Asanka Herath [Tue, 22 Jun 2004 05:00:13 +0000]
wix-changes-20040621

1.  Fix choice for logon options to include only 'not integrated',
    'integrated' and 'integrated with high security'.

2.  Add configuration page to select whether or not to run afscreds.exe
    when logging in and also choose the command line
    options for afscreds.exe.

3.  Assert that all dependencies are satisfied at install time when
    installing the server component.

4.  If running in full UI mode and installing the server component,
    the user is notified about dependencies and given a
    choice to review selections or just let the installer add the
    required components.

19 years agorx-xdr-deal-with-linux26-regparm-20040621
Rainer Schöpf [Mon, 21 Jun 2004 22:56:37 +0000]
rx-xdr-deal-with-linux26-regparm-20040621

deal with regparm side effects in xdr calls. no clue if this works without regparm yet, that might actually be an issue

19 years agolinux26-i-security-20040621
Rainer Schöpf [Mon, 21 Jun 2004 22:54:15 +0000]
linux26-i-security-20040621

configure test is shadow@dementia.org's fault
test for i_security inode field and init if exists

19 years agolinux-syscall-asmlinkage-20040621
Rainer Schöpf [Mon, 21 Jun 2004 22:46:17 +0000]
linux-syscall-asmlinkage-20040621

FIXES 5138

deal with asmlinkage for CONFIG_REGPARM, so afs syscall prototype matches declaration

19 years agolinux26-vermagic-cleanup-20040621
Matthew Miller [Mon, 21 Jun 2004 22:40:53 +0000]
linux26-vermagic-cleanup-20040621

clean up vermagic to not be defined twice

19 years agonsis-debug-symbols-20040621
Robert S Murawski IV [Mon, 21 Jun 2004 22:22:39 +0000]
nsis-debug-symbols-20040621

Force Debugging Symbols to on when Debug installer is used

19 years agoloopback-installer-fix-20040621
Jeffrey Altman [Mon, 21 Jun 2004 21:13:55 +0000]
loopback-installer-fix-20040621

Convert all Loopback installation code to use Unicode always

Fix case sensitivity of loopback adapter type comparison

19 years agolinux26-selinux-20040621
Kris Van Hees [Mon, 21 Jun 2004 21:06:18 +0000]
linux26-selinux-20040621

FIXES 5372

add selinux configure checking, and make sock_create take extra arg if needed

19 years agolinux26-cred-cleanup-20040621
Chas Williams [Mon, 21 Jun 2004 21:01:50 +0000]
linux26-cred-cleanup-20040621

FIXES 5362

change how cred is stored on linux 2.6

19 years agovenus-clean-livesys-20040621
Love Hörnquist-Åstrand [Mon, 21 Jun 2004 20:57:52 +0000]
venus-clean-livesys-20040621

FIXES 5316

update clean target

19 years agoaix-makefileproto-updates-20040621
Derrick Brashear [Mon, 21 Jun 2004 20:53:07 +0000]
aix-makefileproto-updates-20040621

FIXES 5252

fix makefileproto for aix to not use $$

19 years agolinux26-allow-suspend-20040621
Jeffrey Hutzelman [Mon, 21 Jun 2004 20:30:18 +0000]
linux26-allow-suspend-20040621

FIXES 5208

necessary changes for swsusp to work.

19 years agolinux-afs-call-printf-20040621
Rainer Schöpf [Mon, 21 Jun 2004 20:17:14 +0000]
linux-afs-call-printf-20040621

FIXES 5138

add missing printf arg

19 years agowix-msi-installer-20040621
Asanka Herath [Mon, 21 Jun 2004 18:48:11 +0000]
wix-msi-installer-20040621

One more file for the Wix installer

19 years agomissing-file-20040620
Jeffrey Altman [Mon, 21 Jun 2004 18:25:35 +0000]
missing-file-20040620

Forgot to checkin cm_vnodeops.h

19 years agoreadme-nt-20040620
Jeffrey Altman [Mon, 21 Jun 2004 18:23:36 +0000]
readme-nt-20040620

Update README-NT with details on Wix MSI installer
(last time README-NT did not get picked up by cvs)

19 years agomissing-file-nsis-20040620
Jeffrey Altman [Mon, 21 Jun 2004 06:59:18 +0000]
missing-file-nsis-20040620

add missing file to nsis installer

19 years agomsi-wix-installer-20040620
Jeffrey Altman [Mon, 21 Jun 2004 06:24:04 +0000]
msi-wix-installer-20040620

Update README-NT to include details on Wix MSI installer builder.
Modify build system to create work directories and provide "wix"
and "install-wix" build targets

19 years agowix-msi-installer-20040620
Asanka Herath [Mon, 21 Jun 2004 06:21:44 +0000]
wix-msi-installer-20040620

New MSI installer based on the open source Wix installer builder

19 years agofs-sysname-20040619
Jeffrey Altman [Sat, 19 Jun 2004 17:00:13 +0000]
fs-sysname-20040619

Begin the process of supporting multiple sysnames on Windows as is
done on Unix.  These changes replace the internal variable with a list
of sysnames.

Still to do:  change command line interface to allow entry of multiple
names; and replace cm_ExpandSysName() with code similar to Unix which
allows expansion of one element in the list at a time.

19 years agosafe-strings-20040619
Jeffrey Altman [Sat, 19 Jun 2004 16:18:58 +0000]
safe-strings-20040619

Begin to make use of the Microsoft strsafe library to avoid buffer
overruns.

19 years agontmakefile-auth-headers-20040618
Asanka Herath [Sat, 19 Jun 2004 05:21:07 +0000]
ntmakefile-auth-headers-20040618

break up auth build step into two parts to avoid
circular dependency in the build process

19 years agontmakefile-part-two-20040618
Jeffrey Altman [Fri, 18 Jun 2004 21:08:50 +0000]
ntmakefile-part-two-20040618

check in the correct version.

19 years agontmakefile-reorder-20040618
Jeffrey Altman [Fri, 18 Jun 2004 20:58:13 +0000]
ntmakefile-reorder-20040618

place 'auth' before 'afsdobjs' to ensure creation of afs/cellconfig.h

allow DESTDIR to be specified as an arbitrary location earlier in the
build process.

19 years agonsis-loopback-20040618
Robert S Murawski IV [Fri, 18 Jun 2004 19:56:03 +0000]
nsis-loopback-20040618

loopback installation executable code.
the license is GPL which is ok because the NSIS installer does not
contain any IPL code.

19 years agoafscreds-krb5-principal-error-20040618
Jeffrey Altman [Fri, 18 Jun 2004 18:36:33 +0000]
afscreds-krb5-principal-error-20040618

afscreds did not properly construct kerberos 5 principals with
multiple components.  This prevented the use of user/admin@REALM
tgts.

19 years agont-makefile-configuration-change-20040617
Jeffrey Altman [Fri, 18 Jun 2004 06:05:48 +0000]
nt-makefile-configuration-change-20040617

Add support for building symbols in all configurations

19 years agonsis-installer-updates-20040617
Robert S Murawski IV [Fri, 18 Jun 2004 06:03:19 +0000]
nsis-installer-updates-20040617

New BSD License for compatibility with GPL and NSIS licenses.

Add Loopback Adapter installation

Add Debugging Symbols for all builds (optional module)

Add user configuration of afscreds.exe startup

19 years agofs-admin-20040617
Jeffrey Altman [Fri, 18 Jun 2004 05:59:51 +0000]
fs-admin-20040617

Add Is Administrator requirement to fs functions.

     - checkservers with a non-zero timer value
     - setcachesize
     - newcell
     - sysname with a new sysname list
     - exportafs
     - setcell
     - setserverprefs
     - storebehind
     - setcrypt
     - cscpolicy
     - trace

Should create a user group to which users can be added so that
non Admin users can issue fs commands.

19 years agokfw-support-update-20040617
Jeffrey Altman [Fri, 18 Jun 2004 05:56:48 +0000]
kfw-support-update-20040617

Fix improper use of krb5_data data field as null-terminated string.

Reuse pre-existing context for obtaining the realm from the afs cell.

19 years agont-power-mgmt-fix-20040617
Jeffrey Altman [Fri, 18 Jun 2004 05:52:25 +0000]
nt-power-mgmt-fix-20040617

The fixed timeout of 19 seconds was too short.  Should be set to the
value of HardDeadtimeout as set by cm_conn.c.  The failure to specify
an adequate timeout value prevented successful Hibernation and Standby
mode access when network connectivity was not available.

19 years agont-readme-upd-20040617
Jeffrey Altman [Fri, 18 Jun 2004 05:49:20 +0000]
nt-readme-upd-20040617

Update requirements for building OpenAFS on Windows 2000/XP/2003

19 years agodarwin-updates-20040613
Derrick Brashear [Mon, 14 Jun 2004 09:36:09 +0000]
darwin-updates-20040613

complain if TryReclaim gets a vnode which is on the inactive list

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

be willing to instantiate a ubc in our lookup vop (rename needs this so
the followup vget doesn't get a vnode with no ubc)

refuse to instantiate a ubc if VORECLAIM is set

rework rename 2 links to same vnode case. (yes, you can have hard links in AFS)

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

drop the parent directory ref and remove name from the kernel name cache
when recycling a vnode.

19 years agofix-havecallbacks-proto-20040608
Jim Rees [Tue, 8 Jun 2004 18:27:46 +0000]
fix-havecallbacks-proto-20040608

afs_HaveCallBacksFrom, not HaveCallBacksFrom

19 years agotemp-fix-PCallBackAddr-20040608
Jim Rees [Tue, 8 Jun 2004 17:09:09 +0000]
temp-fix-PCallBackAddr-20040608

temporary fix for compiler warning in PCallBackAddr

19 years agoobjdir-libafs-ko-20040607
Chas Williams [Mon, 7 Jun 2004 20:54:33 +0000]
objdir-libafs-ko-20040607

FIXES 4943

make libafs.ko build in objdir environment

19 years agoexport-havecallbacksfrom-20040607
Derrick Brashear [Mon, 7 Jun 2004 20:52:51 +0000]
export-havecallbacksfrom-20040607

i suck, the PCallBackAddr stuff needs this

19 years agolinux-use-page-count-macro-20040607
Chas Williams [Mon, 7 Jun 2004 20:48:50 +0000]
linux-use-page-count-macro-20040607

FIXES 4944

use page_count macro instead of accessing directly

19 years agofreelance-fake-root-vol-id-fix-20040606
Jeffrey Altman [Mon, 7 Jun 2004 07:22:57 +0000]
freelance-fake-root-vol-id-fix-20040606

 * add debugging to allow fs trace -dump to be used for freelance
   operations

 * Change the volume id associated with the fake root.afs from
   0x20000001 to 0x00000001 to prevent confusion of remote cell
   root.afs volumes with the fake root.afs.  (way to go Derrick.)

 * add function prototypes to cm_freelance.h

19 years agouninitialized-variable-20040605
Jeffrey Altman [Sun, 6 Jun 2004 04:51:41 +0000]
uninitialized-variable-20040605

 cm_dns.c: getAFSServers() did not initialize the output
           parameters before testing them when setting the
           return value.  It therefore returned success
           when the network was unavailable. Bad Bad Bad.

19 years agokpasswd-uninitialized-20040605
Jeffrey Altman [Sat, 5 Jun 2004 21:11:06 +0000]
kpasswd-uninitialized-20040605

FIXES 4994

More uninitialized variables

19 years agowinnotes-20040605
Jeffrey Altman [Sat, 5 Jun 2004 19:59:41 +0000]
winnotes-20040605

Document changes up to this date since 1.3.64 and new registry values

19 years agotimeout-logic-20040605
Jeffrey Altman [Sat, 5 Jun 2004 19:57:58 +0000]
timeout-logic-20040605

   * The timeout logic in the AFS Client Service has been wrong
     for sometime.  It is based on two different assumptions.
     First, the SMB client timeout is a fix value as was the case
     with OS/2 Lan Manager.  This assumption is incorrect.  The
     SMB timeout in Windows is a dynamic value computed based upon
     a fixed minimum timeout to which is added time based upon the
     size of the request and the performance characteristics of
     the connection.  Second, it is the responsibility of the
     SMB Server to enforce the timeout requirements of the client.
     This is untrue.  The SMB Server cannot be expected to know
     the requirements of the client.  More importantly, if the
     SMB server uses the SMB client timeout as a value to restrict
     its behavior as an RX client, the performance characteristics
     of the local SMB session would be used to prematurely terminate
     WAN connections with significantly different performance
     characteristics.

     The timeout logic has therefore been modified in the following
     manner:
      . the Lan Manager Workstation (SMB) Session Timeout is used only
        as a basis for configuring the Connection Dead Timeout
        and Hard Dead Timeout values.  The Connection Dead Timeout
        must be at least 15 seconds longer than the SMB Timeout
        and the Hard Dead Timeout must be at least double the
        Connection Dead Timeout.
      . New registry entries have been added to allow the Connection
        Dead Timeout and Hard Dead Timeout values independent of the
        Lan Manager Workstation Session Timeout
      . The test to enforce the SMB Client Timeout has been removed.

     One of the side-effects of removing the enforcement of the SMB
     Client Timeout is that regardless of whether or not the SMB client
     is available to receive the response (and how would the SMB server
     know) the RX protocol response can be used to update the AFS
     Client Service state for ready access by future SMB client
     requests.

     This should be the end of the "Server paused or restarting messages"

19 years agocell-info-do-not-delete-20040604
Jeffrey Altman [Sat, 5 Jun 2004 07:02:39 +0000]
cell-info-do-not-delete-20040604

* cm_cell.h: define new bit flag CM_CELLFLAG_VLSERVER_INVALID

* cm_cell.c, cm_ioctl.c:  Do not delete cell info either because
  it has been removed from the CellServDB file or because the
  volserver info becomes invalid due to dns ttl expiration.  This
  is necessary because the cell info is pointed to by other structures
  which require continued access to the cellname and username fields.

* cm_ioctl.c: provide UNC support for the MakeMountCmd

19 years agoioctl-unc-20040603
Jeffrey Altman [Fri, 4 Jun 2004 07:02:18 +0000]
ioctl-unc-20040603

 * pioctl.c: handle another UNC case in GetIoctlHandle

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

 * cm_ioctl.c: avoid running off the end of a string

19 years agoioctl-changes-20040603
Jeffrey Altman [Fri, 4 Jun 2004 04:10:44 +0000]
ioctl-changes-20040603

Fix more edge cases for ioctl handling.

 * cm_dcache.c: reformat the file to make it possible to set breakpoints
   on conditionals

 * cm_ioctl.c: add a call to smb_FindShare() when processing UNC paths

 * cm_vnodeops.c: move debug message from the afsi_log to the osi_log

 * fs_utils.c: reformat

 * smb.c: change smb_FindShare to take a smb_user_t * instead of a
   pointer to the input smb_packet_t.  Change calls to smb_FindShare
   to use new prototype.

 * smb.h: change prototype for smb_FindShare

 * smb3.c: Change calls to smb_FindShare to use new prototype

 * smb_ioctl.c: reorganize use of smb_user_t so it can be passed
   to smb_IoctlPrepareRead in order for it to be used in the call
   to smb_FindShare.

19 years agoioctl-handle-20040603
Jeffrey Altman [Fri, 4 Jun 2004 04:00:39 +0000]
ioctl-handle-20040603

 * Fix GetIoctlHandle so that it will create the handle on the correct
   volume when a drive letter is not specified as part of the source path

19 years agoi-hate-aclocal-20040603
Love Hörnquist-Åstrand [Thu, 3 Jun 2004 06:13:27 +0000]
i-hate-aclocal-20040603

FIXES 4922

aclocal wants [] around macro names.
good for aclocal.

19 years agogconfd-lock-fix-20040602
Chas Williams [Wed, 2 Jun 2004 20:40:34 +0000]
gconfd-lock-fix-20040602

FIXES 4905

"i believe i have managed to track this down to a missing
lock_kernel() in the dentry (lookup) revalidate routine.
this missing lock was already fixed in the 1.3 tree when
i submitted the 2.6 support patches (although its not quite
right i think -- the shrink_dcace_parent() should happen
under the BKL)"

19 years agontmakefile-20040602
Jeffrey Altman [Wed, 2 Jun 2004 15:52:04 +0000]
ntmakefile-20040602

update comments

19 years agowin32-ewouldblock-20040602
Jeffrey Altman [Wed, 2 Jun 2004 15:50:23 +0000]
win32-ewouldblock-20040602

 * enable detection of EWOULDBLOCK errors on Windows

19 years agocallback-rxcon-move-20040602
Derrick Brashear [Wed, 2 Jun 2004 09:43:02 +0000]
callback-rxcon-move-20040602

FIXES 4891

apply it disabled in the fileserver, but provide mech for client to suggest a particular IP address to the fileserver

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

apply it disabled in the fileserver, but provide mech for client to suggest a pa
rticular IP address to the fileserver

====================
FIXES 4891

apply it disabled in the fileserver, but provide mech for client to suggest a pa
rticular IP address to the fileserver

====================
FIXES 4891

apply it disabled in the fileserver, but provide mech for client to suggest a pa
rticular IP address to the fileserver

19 years agovos-new-repsite-cleanup-20040601
Derrick Brashear [Wed, 2 Jun 2004 09:39:34 +0000]
vos-new-repsite-cleanup-20040601

FIXES 4730

if for some reason we got into a situation where all ROs were marked NEW_REPSITE in the vldb, vos release without -f deals very poorly. force a -f, and also, never print "Old Release" for the RW, to avoid confusion

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

if for some reason we got into a situation where all ROs were marked NEW_REPSITE
 in the vldb, vos release without -f deals very poorly. force a -f, and also, ne
ver print "Old Release" for the RW, to avoid confusion

19 years agoirix-make-ukernel-build-20040602
Derrick Brashear [Wed, 2 Jun 2004 09:18:28 +0000]
irix-make-ukernel-build-20040602

FIXES 4646

ukernel needs 64 bit type defined, define it.

19 years agolinux-dont-mark-writer-on-mmapped-RO-20040602
Derrick Brashear [Wed, 2 Jun 2004 08:43:48 +0000]
linux-dont-mark-writer-on-mmapped-RO-20040602

FIXES 4892

don't mark an mmapped RO as an execOrWriter.

19 years agoadviseaddr-call-dont-shadow-code-decl-20040602
Michael Pronath [Wed, 2 Jun 2004 08:08:46 +0000]
adviseaddr-call-dont-shadow-code-decl-20040602

FIXES 4536

removed shadowed declaration of code

19 years agovolinfo-large-size-update-20040602
Nathan Neulinger [Wed, 2 Jun 2004 08:04:15 +0000]
volinfo-large-size-update-20040602

FIXES 4679

make volinfo useful for >4gb

19 years agolinux-26-build-updates-20040601
Jeffrey Hutzelman [Wed, 2 Jun 2004 07:15:45 +0000]
linux-26-build-updates-20040601

FIXES 4767

use 2.6 kbuild infrastructure to build modules. updates proc mechanism.

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

use 2.6 kbuild infrastructure to build modules. updates proc mechanism.

19 years agoattachserverproc-dont-dequeue-if-not-in-queue-20040602
Derrick Brashear [Wed, 2 Jun 2004 07:08:01 +0000]
attachserverproc-dont-dequeue-if-not-in-queue-20040602

FIXES 4699

can't see what else this can be. pile of details in the ticket.

19 years agounc-enable-fs-20040601
Jeffrey Altman [Wed, 2 Jun 2004 06:21:16 +0000]
unc-enable-fs-20040601

 * modify cm_ParseIoctlPath() to be able to handle arbitrary UNC
   paths of the form \\netbiosname\mount\path.  This enables all
   of the fs commands and the shell extension to be able to work
   with UNC paths.

====================
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 support for UNC paths

19 years agorx-protect-queue-during-debug-20040601
Rainer Toebbicke [Wed, 2 Jun 2004 03:49:28 +0000]
rx-protect-queue-during-debug-20040601

FIXES 4811

"in rx_packet.c:rxi_ReceiveDebugPacket() the rx_idleServerQueue is
scanned without taking a lock first.

The queue_Remove macro zeroes the ->next field (luckily), but this can
lead to a crash when Murphy strikes and the entry gets removed during
the scan: queue_Scan will dereference 0x0 -> next.
"

19 years agomake-distclean-do-it-20040601
Sam Hartman [Wed, 2 Jun 2004 03:40:03 +0000]
make-distclean-do-it-20040601

FIXES 4814

remove some of the crap we were missing

19 years agoprovide-fPIC-method-for-amd64-20040508
Derrick Brashear [Wed, 2 Jun 2004 03:37:45 +0000]
provide-fPIC-method-for-amd64-20040508

FIXES 3680

allow building fPIC on amd64

19 years agocorrections-winafs-20040531
Jeffrey Altman [Tue, 1 Jun 2004 03:45:24 +0000]
corrections-winafs-20040531

 * cm_server.c: remove locking from cm_FreeServer().  Must call
   while holding a write lock

 * afskfw.c: Remove manual dynamic loading of ktc_xxxx functions
   Change some of the debugging logic

19 years agoafscrds-dns-20040530
Jeffrey Altman [Sun, 30 May 2004 16:54:13 +0000]
afscrds-dns-20040530

   * Fix afscreds.exe (by updating afskfw.lib) to search for cells via
     DNS if the cell configuration cannot be determined via CellServDB

19 years agodns-and-server-ref-counts-20040530
Jeffrey Altman [Sun, 30 May 2004 15:39:05 +0000]
dns-and-server-ref-counts-20040530

   * Add debug info to test whether CM_BUF_WAITING or CM_SCACHE_WAITING
     are ever set more than once at a time

   * Fix the management of lists of cm_cell_t structures when using
     DNS to lookup cell information.  The previous code would fail to
     reuse the same cellID for a cell if DNS was used more than once
     for a given cell name.  When the ttl expired, a single cm_cell_t
     could be inserted into the cm_allCellsp list more than once
     producing a loop.  In addition, the vlServerp list belonging to
     the cell was not freed resulting in improper refCounting of the
     servers.

   * Add DNS support to cm_IoctlNewCell() which previous only examined
     the CellServDB file

   * Add cm_FreeServer() function and call it from cm_FreeServerList()
     to properly garbage collect cm_server_t objects

   * Add numVCs variable to smb.c to track the number of smb_vc_t
     objects created and use it to initialize the vcID field which
     previously was set to 0 in all objects resulting in FindByID
     collisions.

19 years agorx-debug-20040529
Jeffrey Altman [Sun, 30 May 2004 01:25:19 +0000]
rx-debug-20040529

Fix MakeDebugCall to properly check the return code of select() and
recvfrom().  Do not copy data buffer unless recvfrom() succeeds.

19 years agobatch-commits-windows-20040529
Jeffrey Altman [Sun, 30 May 2004 00:47:59 +0000]
batch-commits-windows-20040529

   * Fixed DNS lookups to work consistently throughout the OpenAFS
     product instead of just from within the afsd_service.exe

   * Added a runtime check to ensure that AFS Client Service SMB
     Server is accepting connections before attempting to mount
     global drives.

   * Read IP addresses for volume servers out of the CellServDB
     file if gethostbyname() on the hostname fails.

   * Fix getcellconfig() to populate both the Hostnames as well
     as IP addresses when loading cell data via DNS

   * Increase the Connection Dead Time to 50 from 20 seconds
     Increase the Hard Dead Time to 120 from 40 seconds
     (matches the Unix values)

   * Fixed an assertion validating the number of allocated NCBs

   * Fixed the build environment to consistently build for
     Windows 2000 and above.  (APPVER = 5.0)

   * Fixed rx_debug to properly validate the receipt in incoming
     data with select() and recvfrom().  Do not copy data out of
     the socket buffer unless success is indicated.

19 years agouafs-fixes-20040520
Nickolai Zeldovich [Thu, 20 May 2004 20:15:04 +0000]
uafs-fixes-20040520

Make uafs not crash if uafs_fstat() is used.  Fix open(O_RDONLY).

19 years agobanish-ushort-20040519
Jim Rees [Wed, 19 May 2004 21:31:18 +0000]
banish-ushort-20040519

Change ushort to afs_uint16. ushort is a SysV thing, not present in FreeBSD.

19 years agokdump-build-update-20040519
Nathan Neulinger [Wed, 19 May 2004 16:47:16 +0000]
kdump-build-update-20040519

FIXES 4639

more cleanup of kdump build

19 years agolinux-26-updates-20040515
Chas Williams [Sat, 15 May 2004 07:43:09 +0000]
linux-26-updates-20040515

FIXES 4027

update autoconf for linux 2.6

19 years agonetbsd-has-statvfs-20040515
Love Hörnquist-Åstrand [Sat, 15 May 2004 07:32:35 +0000]
netbsd-has-statvfs-20040515

FIXES 4535

netbsd has statvfs, use it

19 years agokdump-build-cleanup-1-20040515
Nathan Neulinger [Sat, 15 May 2004 07:16:55 +0000]
kdump-build-cleanup-1-20040515

FIXES 4521,4522

remove KDUMP/KDUMP64 configure stuff, clean up kdump targets in Makefile

19 years agosalvager-log-instead-of-abort-20040515
Love Hörnquist-Åstrand [Sat, 15 May 2004 07:11:40 +0000]
salvager-log-instead-of-abort-20040515

FIXES 4533

insert of assert, log an error

19 years agorx-include-afsconfig-before-param-h-20040515
Derrick Brashear [Sat, 15 May 2004 05:53:30 +0000]
rx-include-afsconfig-before-param-h-20040515

FIXES 4578

make sure afsconfig.h is included before afs/param.h

19 years agoopenbsd-35-20040512
Jim Rees [Wed, 12 May 2004 18:57:11 +0000]
openbsd-35-20040512

Add OpenBSD 3.5 notes to top README.

19 years agocellservdb-20040511 openafs-devel-1_3_64
Jeffrey Altman [Tue, 11 May 2004 23:31:51 +0000]
cellservdb-20040511

Latest CellServDB as of 2004-05-11

19 years agolinux26-proc-interface-use-long-not-int-20040511
Jeffrey Hutzelman [Tue, 11 May 2004 21:36:13 +0000]
linux26-proc-interface-use-long-not-int-20040511

FIXES 4462

arguments to sys_call are long, not int
ioctl returns -ERROR, not -1
return -EINVAL on ioctls we don't know

19 years agoupdate-winnotes-20040511
Jeffrey Altman [Tue, 11 May 2004 21:08:57 +0000]
update-winnotes-20040511

Update the changes and issues files for the 1.3.64 release

19 years agokdump-reorder-nfsclient-header-20040511
Nathan Neulinger [Tue, 11 May 2004 20:52:28 +0000]
kdump-reorder-nfsclient-header-20040511

FIXES 4520

nfsclient.h needs afs.h for MAXNUMSYSNAMES definition

19 years agont40-version-20040511
Jeffrey Altman [Tue, 11 May 2004 20:43:20 +0000]
nt40-version-20040511

Update version number to 1.3.6400

19 years agoreference-counts-20040511
Jeffrey Altman [Tue, 11 May 2004 20:35:02 +0000]
reference-counts-20040511

Correct VC reference counting.  (not that it is used for anything but
there is no reason the reference counting should be allowed to perpetually
increase)

Fix smb_FindFID.  Do not do anything if fid == 0 without SMB_CREATE_FLAG
being set.  Ensure that the event object name is unique by both the fid
and the vcid.

19 years agomove-memdump-file-20040511
Jeffrey Altman [Tue, 11 May 2004 14:26:14 +0000]
move-memdump-file-20040511

Move the memdump file produced on Windows by "fs memdump" from
%WINDIR% to %WINDIR%\TEMP

19 years agoKRB5KRB_AP_ERR_BADADDR-retry-20040510
Jeffrey Altman [Tue, 11 May 2004 03:45:20 +0000]
KRB5KRB_AP_ERR_BADADDR-retry-20040510

retry once if KRB5KRB_AP_ERR_BADADDR error is received while attempting
to obtain tickets.  This is often produced when using transitive trusts.
a retry is then successful.

19 years agooff-by-one-20040510
Jeffrey Altman [Tue, 11 May 2004 03:08:50 +0000]
off-by-one-20040510

off by one error when allocating memory for mountPointStringp
in cm_GetSCacheEntry when using Freelance mode

19 years agoukernel-take-two-20040415
Nickolai Zeldovich [Mon, 10 May 2004 14:51:16 +0000]
ukernel-take-two-20040415

Make uafs work enough to support readdir()

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

Make uafs work enough to support readdir()
(add casts for irix)

19 years agolinux-26-provide-proc-interface-instead-of-syscall-20040507
Jonathan Curley [Mon, 10 May 2004 05:39:21 +0000]
linux-26-provide-proc-interface-instead-of-syscall-20040507

FIXES 4462

provide /proc file interface to use instead of AFS system call.
doesn't solve the PAG problem.

19 years agosnprintf-irix-needs-sys-socket-h-20040510
Derrick Brashear [Mon, 10 May 2004 04:43:02 +0000]
snprintf-irix-needs-sys-socket-h-20040510

6.5.9 or so wants sys/socket.h to get AF_INET