openafs.git
20 years agoregistry-call-optimizations-20040313
Jeffrey Altman [Sat, 13 Mar 2004 18:28:39 +0000]
registry-call-optimizations-20040313

Do not read the same value from the registry three times in
the same function.

20 years agoremove-extraneous-code-20040312
Jeffrey Altman [Sat, 13 Mar 2004 18:26:42 +0000]
remove-extraneous-code-20040312

Remove calls to obtain the netbios name which is placed into
variables which are never referenced.

20 years agoremove-loopback-test-from-smb-20040313
Jeffrey Altman [Sat, 13 Mar 2004 18:24:14 +0000]
remove-loopback-test-from-smb-20040313

Now that the loopback test is being performed within
the LANA Helper library we should not be performing
the test in the smb init code.

20 years agolinux-ukernel-pthreads-ugliness-fix-20040312
Derrick Brashear [Fri, 12 Mar 2004 05:56:59 +0000]
linux-ukernel-pthreads-ugliness-fix-20040312

really an autoconf test should do this. in the meantime we do this.

20 years agojuafs-makefile-fix-20040311
Derrick Brashear [Fri, 12 Mar 2004 03:27:32 +0000]
juafs-makefile-fix-20040311

make the juafs rules not break the makefile (remove bogus quoting)

20 years agoirix-deal-with-sh-versus-make-vars-20040311
Derrick Brashear [Fri, 12 Mar 2004 02:30:45 +0000]
irix-deal-with-sh-versus-make-vars-20040311

FIXES 3322

so the LDFLAGS variable doesn't get shadowed we do this

20 years agofreebsd-pkg-builder-20040311
Jim Rees [Thu, 11 Mar 2004 22:35:45 +0000]
freebsd-pkg-builder-20040311

freebsd package builder
not quite right yet, the rc file won't work

20 years agoopenbsd-shutdown-panic-20040311
Jim Rees [Thu, 11 Mar 2004 20:39:07 +0000]
openbsd-shutdown-panic-20040311

openbsd:
use vrele instead of AFS_RELE in unmount to avert panic
acquire GLOCK in mount (not really needed but oh well)
other finnicky and needless tweaks

20 years agoinode-largefile-attempt-20040311
Chaskiel M Grundman [Thu, 11 Mar 2004 20:22:07 +0000]
inode-largefile-attempt-20040311

FIXES 3519

attempt to deal with large file fileservers for inode versions. not done yet

20 years agoopenbsd-vrefs-20040311
Jim Rees [Thu, 11 Mar 2004 19:14:46 +0000]
openbsd-vrefs-20040311

OpenBSD bug fixes:
fix vnode refcount botch introduced by freebsd merge
fix yet another deadlock in the vnode reclaim path

20 years agobuserver-support-clones-20040311
Lynn Zhang [Thu, 11 Mar 2004 07:31:46 +0000]
buserver-support-clones-20040311

FIXES 3355

support ubik clones in buserver as with other ubik servers

20 years agobase64-elsewhere-20040311
Derrick Brashear [Thu, 11 Mar 2004 07:24:23 +0000]
base64-elsewhere-20040311

base64 is in util, and has a different name.

20 years agoirix-afs-osi-credp-declared-elsewhere-20040311
Derrick Brashear [Thu, 11 Mar 2004 07:20:31 +0000]
irix-afs-osi-credp-declared-elsewhere-20040311

revert to 1.2 declaration for irix

20 years agoviced-revert-EIO-and-instead-use-zero-length-20040311
Nathan Neulinger [Thu, 11 Mar 2004 07:15:52 +0000]
viced-revert-EIO-and-instead-use-zero-length-20040311

FIXES 3594

this was the other considered approach, i'm unsure why it's needed,
but we'll play along for now.

20 years agorx-user-dont-redefine-isafs-glock-for-ukernel-20040311
Derrick Brashear [Thu, 11 Mar 2004 06:30:58 +0000]
rx-user-dont-redefine-isafs-glock-for-ukernel-20040311

rx/UKERNEL/rx_kmutex.h already covers this

20 years agoaix-update-linktest-20040311
Derrick Brashear [Thu, 11 Mar 2004 06:05:54 +0000]
aix-update-linktest-20040311

aix hates darwin, again. include netinet/in.h (which was implicit from
rx/rx.h before) to make aix happy

20 years agoaix-uafs-dir-compile-20040311
Derrick Brashear [Thu, 11 Mar 2004 05:40:31 +0000]
aix-uafs-dir-compile-20040311

make dir package work for uafs on aix

20 years agofreebsd-20040310
Jim Rees [Wed, 10 Mar 2004 23:01:50 +0000]
freebsd-20040310

Support for FreeBSD 5.x client.
Both 4.x and 5.x now use vnodes from the system pool instead of attaching
a private vnode to the vcache.
Most of this is from Garrett Wollman <wollman@khavrinen.lcs.mit.edu>,
I just did some integration and made it work again on 4.x.

20 years agoaix-dont-build-64bit-on-aix4-20040310
Derrick Brashear [Wed, 10 Mar 2004 17:14:13 +0000]
aix-dont-build-64bit-on-aix4-20040310

no 64 kit module for aix4.3.3

20 years agoaix5-missed-autoconf-support-20040310
Derrick Brashear [Wed, 10 Mar 2004 17:12:08 +0000]
aix5-missed-autoconf-support-20040310

put back the aix5 stuff in autoconf files

20 years agomacos-build-update-20040310
Derrick Brashear [Wed, 10 Mar 2004 08:35:38 +0000]
macos-build-update-20040310

make the head build again.

20 years agonsis-lang-file-fixes-20040308
Jeffrey Altman [Tue, 9 Mar 2004 05:47:30 +0000]
nsis-lang-file-fixes-20040308

Cleaned up the language file installations.
Place language files in the same directories as the non-language files.
Do not install the MSVC files twice.
Install debug symbols for language files for all languages; not just German.

20 years agonsis-improvements-20040308
Jeffrey Altman [Tue, 9 Mar 2004 04:45:32 +0000]
nsis-improvements-20040308

UpgradeDLL updated by Rob Murawski

Rob and I replaced dll installs with upgrades

I removed all of the support for beta versions of NSIS now that 2.0
is officially released.

20 years agounmap-debugging-20040308
Jeffrey Altman [Tue, 9 Mar 2004 03:07:27 +0000]
unmap-debugging-20040308

Add more debug info to DoUnmapShare

20 years agoafscreds-unmap-command-line-option-20040308
Jeffrey Altman [Tue, 9 Mar 2004 03:06:32 +0000]
afscreds-unmap-command-line-option-20040308

Add -z option to afscreds.exe which is called from the installer
to unmap the drive shares when uninstalling OpenAFS.

20 years agoevent-object-naming-20040308
Jeffrey Altman [Tue, 9 Mar 2004 02:02:38 +0000]
event-object-naming-20040308

Restore event object naming to the pthread objects.  Be sure to identify
the objects by PID this time to avoid conflicts.

20 years agokfw-not-installed-bug-20040308
Jeffrey Altman [Tue, 9 Mar 2004 02:00:18 +0000]
kfw-not-installed-bug-20040308

* Remove attempt to free a krb5_context when KFW is not installed.

20 years agoadd-path-to-log-20040308
Jeffrey Altman [Tue, 9 Mar 2004 01:57:34 +0000]
add-path-to-log-20040308

Discovered after wasting a huge quantity of time that it is possible
for OpenAFS to be installed on machines already containing the IBM/Transarc
AFS.  Add the PATH environment variable to the log to allow this situation
to be detected.

20 years agolong-lifetimes-20040308
Jeffrey Altman [Mon, 8 Mar 2004 14:02:50 +0000]
long-lifetimes-20040308

Add long kerberos 4 ticket lifetime support

20 years agokfw-changes-20040307
Jeffrey Altman [Mon, 8 Mar 2004 02:23:34 +0000]
kfw-changes-20040307

* Increase debugging of the KFW code;

* Remove the krb5_cc_remove_creds

20 years agofs-admin-privs-20040307
Jeffrey Altman [Mon, 8 Mar 2004 02:05:44 +0000]
fs-admin-privs-20040307

Add a requirement for Administrator privileges to the "fs setserverprefs"
command.

20 years agonetbiosName-cellname-20040306
Jeffrey Altman [Sat, 6 Mar 2004 21:38:48 +0000]
netbiosName-cellname-20040306

Add support for a new form of automatic share name generation

        \\netbiosName\cellname

which means that on systems with the loopback adapter you can
now refer to the athena.mit.edu afs cell as \\afs\athena.mit.edu\

This is implemented within cm_FindShare().  If the share name is not
one of the special ones and cannot be found in the Submounts table,
check to see if it is a known cell name,  If so, create a path to
the share of /afs/sharename with the "sharename" being lower cased.
(I hope there are no cell names in mixed or upper case.  This won't
work.)

20 years agoNTMakefile-dependencies-20040306
Jeffrey Altman [Sat, 6 Mar 2004 15:25:47 +0000]
NTMakefile-dependencies-20040306

Update dependencies on various libraries to enforce consistency checks

20 years agocorrections-to-MIT-merge-20040306
Jeffrey Altman [Sat, 6 Mar 2004 13:27:48 +0000]
corrections-to-MIT-merge-20040306

* Corrections to MIT merge caught by Asanka.

20 years agolanahelper-20040305
Jeffrey Altman [Sat, 6 Mar 2004 08:09:13 +0000]
lanahelper-20040305

Minor updates.  Fix AFS Root UNC path string; add debugging code (off by default)

20 years agoinaddr-any-20040305
Jim Rees [Sat, 6 Mar 2004 02:42:53 +0000]
inaddr-any-20040305

use INADDR_ANY instead of ADDR_ANY.

20 years agodrivemap-fix-take2-20040305
Jeffrey Altman [Fri, 5 Mar 2004 23:27:07 +0000]
drivemap-fix-take2-20040305

* See I knew it wouldn't work.  Revert to loop used in revision 1.14

20 years agodrivemap-fix-20040305
Jeffrey Altman [Fri, 5 Mar 2004 23:19:33 +0000]
drivemap-fix-20040305

* an attempt at a cheap fix which probably won't work.

20 years agolanahelper-library-20040305
Jeffrey Altman [Fri, 5 Mar 2004 23:09:18 +0000]
lanahelper-library-20040305

* at my request Asanka Hearth of MIT ripped out all of the code used
  the compute the Netbios Name of the SMB Server and the mountRoot
  and constructed one commonly used library called lanahelper.lib.
  This library is now constructed in the WINNT/afsd directory and
  used throughout the tree.  At least we now have consistency if
  nothing else.

20 years agono-cdev-fsync-20040303
Jim Rees [Wed, 3 Mar 2004 22:41:05 +0000]
no-cdev-fsync-20040303

don't try to fsync() a character special dev
reported and fix suggested by Helmut Jarausch

20 years agosmbname-consistency-20040302
Jeffrey Altman [Wed, 3 Mar 2004 03:32:42 +0000]
smbname-consistency-20040302

These changes are an attempt to provide a bit more consistency when
it comes to the establishment of SMB drive mappings.  Whenever mappings
are created, the same name is used when a name can be found.  This is
supposed to mirror what is performed in the integrated logon DLL.

20 years agofix-service-start-permissions-20040302
Jeffrey Altman [Tue, 2 Mar 2004 15:41:43 +0000]
fix-service-start-permissions-20040302

When merging the Skyrope changes I forgot to specify the SERVICE_START
privilege necessary to allow the -N option to work.

20 years agosecurity-class-object-leak-20040301
Jeffrey Altman [Tue, 2 Mar 2004 07:23:41 +0000]
security-class-object-leak-20040301

Incorrect reference count management results in a leak of rx_securityClass
objects.

20 years agoname-event-objects-20040301
Jeffrey Altman [Tue, 2 Mar 2004 04:14:43 +0000]
name-event-objects-20040301

When naming event objects allocated in a library, make sure the
names are unique by including the process id.

20 years agoopenafs-nsi-20040301
Jeffrey Altman [Tue, 2 Mar 2004 04:12:07 +0000]
openafs-nsi-20040301

Add two new registry keys:
RxMaxMTU (DWORD) = 1200 (decimal)
NoFindLanaByName (DWORD) = 1 (decimal)  DEBUG builds only

20 years agoafsi_log-buffer-20040301
Jeffrey Altman [Tue, 2 Mar 2004 04:09:32 +0000]
afsi_log-buffer-20040301

Increase the size of the final buffer to be large enough
to hold all of the data which is being written to it.

20 years agosmb_fid_t-leak-20040229
Jeffrey Altman [Sun, 29 Feb 2004 22:22:19 +0000]
smb_fid_t-leak-20040229

There was a significant leak of smb_fid_t objects produced when copying
files from an AFS volume.  This is clearly part of the problem reported
by UNCC.  However, there is still an unexplained memory leak associated
with reading and writing files even if the data is only being read from
the cache.

I am noticing reports of memory allocation overruns from the Debug CRT
when freeing SCache objects.  This could be a side effect of whatever is
causing the memory leak.  This will require more research.

20 years agowin32-name-event-objects-20040228
Jeffrey Altman [Sun, 29 Feb 2004 02:38:26 +0000]
win32-name-event-objects-20040228

This is a very bad leak of Event Objects.  Name all of our event objects
in an attempt to identify the source of the leak.  Apparently, the leak
is not coming from any Event Objects we are creating directly.

Did find a misallocation of event objects in the smb code for the
initial session object.  Fixed.

20 years agofindlanabyname-20040228
Jeffrey Altman [Sat, 28 Feb 2004 19:13:26 +0000]
findlanabyname-20040228

* an attempt to fix the problems with stack overwrites when calling
the undocumented calls does not work.  check it in anyway.

20 years agohidedots-fix-20040228
Jeffrey Altman [Sat, 28 Feb 2004 19:10:05 +0000]
hidedots-fix-20040228

* Fix the Hiding of dot files.  attributes were computed but never applied
  due to typo during merge

* Prevent crashing during service shutdown by power management thread

20 years agoafscreds-shortcut-params-20040227
Jeffrey Altman [Sat, 28 Feb 2004 06:26:05 +0000]
afscreds-shortcut-params-20040227

Obtain Shortcut Parameters from Registry Key

   {HKLM, HKCU}\SOFTWARE\OpenAFS\Client
(REG_SZ) AfscredsShortcutParams
   Default value is "-A -M -N -Q" if not found

20 years agonsis-afscreds-shortcut-params-20040227
Jeffrey Altman [Sat, 28 Feb 2004 06:20:12 +0000]
nsis-afscreds-shortcut-params-20040227

Add Shortcut Parameters to AfsCreds.exe  -A -M -N -Q

  A automatically attempt to obtain tokens on startup if needed
  M renew drive maps
  N background check monitors network configuration and attempts
    to obtain tokens or restart client service if needed
  Q do not start AFS wizard

20 years agoNoFindLanaByName-regkey-20040227
Jeffrey Altman [Fri, 27 Feb 2004 20:38:48 +0000]
NoFindLanaByName-regkey-20040227

Add a new registry entry "NoFindLanaByName" which can be set to 0x01 (DWORD)
to disable the FindLanaByName lookup in case it crashes

20 years agoenablekfw-part2-20040227
Jeffrey Altman [Fri, 27 Feb 2004 18:36:09 +0000]
enablekfw-part2-20040227

Current User should have priority over Local Machine

20 years agoenablekfw-regkey-20040227
Jeffrey Altman [Fri, 27 Feb 2004 18:35:22 +0000]
enablekfw-regkey-20040227

* Add new Registry Key:

{HKLM,HKCU}\\SOFTWARE\\OpenAFS\\Client
DWORD  EnableKFW

Default value if missing is 0x01

20 years agomorgan-patch-20040227
Jeffrey Altman [Fri, 27 Feb 2004 18:20:34 +0000]
morgan-patch-20040227

* Add error checking and logging for WaitForMultipleObject calls

* Place log file in directory pointed to by TEMP env variable if defined

* Use the platform defined value for MAXIMUM_WAIT_OBJECTS instead of
  the value 100.  (WinNT.h defines this as 64)

* Add a new registry value "AllSubmount" which can be set to DWORD 0x00
  to disable the automatic creation of the \\AFS\all submount.  This is
  for sites which wish to restrict access to the world.

20 years agonsis-new-reg-strings-20040227
Jeffrey Altman [Fri, 27 Feb 2004 07:40:20 +0000]
nsis-new-reg-strings-20040227

Make the NSIS installer create the registry strings for NetbiosName = "AFS"
and MountRoot = "/afs"

20 years agofix-unc-binding-message-20040227
Jeffrey Altman [Fri, 27 Feb 2004 07:35:25 +0000]
fix-unc-binding-message-20040227

Fix the UNC Binding message.

20 years agonbname-instead-of-mountroot-20040227
Jeffrey Altman [Fri, 27 Feb 2004 06:44:46 +0000]
nbname-instead-of-mountroot-20040227

When determining what name should be used for the NetbiosName
query the registry value "NetbiosName" instead of "MountRoot".

20 years agofix-getlana-typo-20040227
Jeffrey Altman [Fri, 27 Feb 2004 06:21:59 +0000]
fix-getlana-typo-20040227

GetUncServerName had a typo which was using "=" instead of "=="
not good.  :-(

20 years agono-wspp-builds-20040227
Jeffrey Altman [Fri, 27 Feb 2004 06:02:18 +0000]
no-wspp-builds-20040227

the WSPP build references in the current ntbuild.bat are extraneous
as there are no references to the defined variable anywhere else in
the build system.  remove them from ntbuild.bat

20 years agoskyrope-mit-merge-hell-20040226
Jeffrey Altman [Thu, 26 Feb 2004 19:22:35 +0000]
skyrope-mit-merge-hell-20040226

From Skyrope:

The Skyrope work attempted to improve on the end user experience of using
OpenAFS in the following ways:

   * Obtain tokens using renewable Kerberos 5 tickets in order to
     reduce the need for end users to renew expired tokens
   * Monitor the list of IP Addresses in order to detect changes
     in the network configuration which might affect the reachability
     of cells or the state of the AFS Client Service.  When cells
     are newly reachable, obtain tokens for the cells.  If the AFS
     Client Service is not running, start it.  If tokens are expiring
     attempt to renew them.
   * Use KDC probes to detect the accessibility of realms/cells.  If
     the KDC is not reachable, do not prompt the end user for a
     username and password.  (fs probe is not implemented on windows)
   * Automatically obtain tokens using the Windows Logon Session
     Kerberos credentials (if available)
   * Allow tokens for multiple cells to be obtained by using the
     same Kerberos 5 tickets.  (no UI yet implemented)
   * Perform drive mapping persistance by tracking it within the
     afsdsbmt.ini file instead of relying on the Windows Shell
     to persist the state.
   * Add new afscreds.exe command line options and change the
     default set used when creating the "AFS Credentials" shortcut
     in the Start Menu->Programs->Startup folder.

From MIT:

   * Auto-detection of loopback adapters.  Use "AFS" as the netbios
     name when a loopback adapter is installed.

   * Support for responding to power management events.  Used to
     flush the cache when the machine is about to suspend, hibernate,
     or shutdown

   * Documentation of Registry entries

   * Support for Extended SMB Requests

   * Beginning of support for true Event Log reporting from a
     message database

   * Hidden Dot File support (configured via the HideDotFiles
     registry option)

   * Configurable Max number of Multiplexed Sessions (MaxMpxRequests
     registry option)

   * Configurable Max MTU size (RxMaxMTU registry option)

   * Configurable Jumbogram support (RxNoJumbo registry option)

   * Configurable Max number of Virtual Connections per Server
     (MaxVCPerServer registry option)

   * Win32 DNS API support

   * Addition of SMB_ATTR_xxxx defines for use instead of hex numbers

   * A variety of heap access and resource deallocation errors corrected
     in the SMB code

   * Support for recursive directory creation

   * Modifications to the en_US version of the client configuration
     dialog (need to port to other languages)

Notes on the current check-in:

   * The KfW code will always be used when installed on the machine.
     This code only supports Krb5 and will not work with Krb4 only
     realms.  A registry flag indicating whether or not KfW should be
     used if found needs to be added.

   * afscreds.exe needs to have a registry entry created to control
     the parameter list it should be started with.  There should be
     a dialog to control this in the installer and within afscreds.exe

   * The MIT method of auto-assigning the mount-root and the netbios
     name is in conflict with the morgan stanley submissions in some
     parts of the code.  If you are using the loopback adapter with
     this code both the "NetbiosName" = "AFS" and "Mountroot" = "/afs"
     registry options must be specified.  This will be fixed in coming
     days.

20 years agoremove-nbt-reg-entry-on-XP-20040224
Jeffrey Altman [Tue, 24 Feb 2004 20:23:42 +0000]
remove-nbt-reg-entry-on-XP-20040224

In discussions with Andrei Keis at Morgan Stanley it has become clear
that the NBT registry parameter which disables the use of port 445
should only be used on Windows 2000.

20 years agorevert-linux-sysname-list-estale-fix-20040213
Derrick Brashear [Fri, 13 Feb 2004 18:58:39 +0000]
revert-linux-sysname-list-estale-fix-20040213

(despite just committing a leak fix) we can no longer find a kernel where this is needed so we'll leave it in the cvs history but revoke it. it may have been a "special" kernel

20 years agolinux-sysname-list-free-sysstate-20040213
Derrick Brashear [Fri, 13 Feb 2004 18:55:36 +0000]
linux-sysname-list-free-sysstate-20040213

required by linux-sysname-list-sys-links-resolve-dentry-20031109
eithout this, if you're in a directory that the second or later entry in a
sysname list resolved to, pwd returns ESTALE. force the true path to have its
dentry cached.

20 years agolinux-ppc64-fixes-20040202
Sven Oehme [Tue, 3 Feb 2004 06:23:30 +0000]
linux-ppc64-fixes-20040202

FIXES 3058

linux ppc64 port

20 years agoamd64-update-20040202
Andrej Filipcic [Tue, 3 Feb 2004 05:57:49 +0000]
amd64-update-20040202

FIXES 2756

deal with types in newer amd64 distributions
initialize some variables

20 years agofs-return-EIO-when-starting-read-beyond-EOF-20040202
Derrick Brashear [Tue, 3 Feb 2004 05:43:23 +0000]
fs-return-EIO-when-starting-read-beyond-EOF-20040202

FIXES 1493

large file support asserted when attempting to read beginning past
the end of the file

20 years agodumptool-largefile-support-20040202
Hartmut Reuter [Tue, 3 Feb 2004 05:31:52 +0000]
dumptool-largefile-support-20040202

FIXES 2720

make dumptool support large files

20 years agomacos-protect-kpasswd-20040202
Derrick Brashear [Tue, 3 Feb 2004 05:24:11 +0000]
macos-protect-kpasswd-20040202

FIXES 1893

rename kpasswd to kpasswd.afs in /usr/bin
since krb5 kpasswd is included

20 years agodarwin-avoid-hang-on-rename-20040202
Shantonu Sen [Tue, 3 Feb 2004 05:10:24 +0000]
darwin-avoid-hang-on-rename-20040202

FIXES 2967

this version deals with afs being multiply mounted.
return EXDEV on cross device rename attempts as upper layer doesn't deal for us

20 years agoacquire-fsync-lock-inside-while-loop-20040202
Tom Maher [Tue, 3 Feb 2004 04:53:43 +0000]
acquire-fsync-lock-inside-while-loop-20040202

FIXES 3205

in order to not violate the invariant that pthread_cond_timedwait be called
with a locked mutex, we must relock if we unlock.

20 years agodir-buffer-protos-20040123
Jim Rees [Fri, 23 Jan 2004 16:53:35 +0000]
dir-buffer-protos-20040123

take yet another stab at getting dir buffer prototypes right

20 years agonsis-run-time-lib-fixes-20040114
Jeffrey Altman [Thu, 15 Jan 2004 04:13:37 +0000]
nsis-run-time-lib-fixes-20040114

- Update the installer script to properly install the required
  runtime libraries for all compilers

- Update the AddToPath and RemoveToPath files

20 years agokdump-linux-sucks-more-20040113
Derrick Brashear [Wed, 14 Jan 2004 21:30:59 +0000]
kdump-linux-sucks-more-20040113

make it build on newer rhel

attempt to deal with hugemem kernel dumbness

20 years agoubik-election-epoch-fix-20040110
Jeffrey Hutzelman [Sat, 10 Jan 2004 16:59:35 +0000]
ubik-election-epoch-fix-20040110

ubik's ability to keep quorum broke when unix time passed 2^30 seconds.
Buy us another 2^30 seconds.

20 years agovos-move-copy-improvements-20040108
Jeffrey Hutzelman [Thu, 8 Jan 2004 21:54:10 +0000]
vos-move-copy-improvements-20040108

FIXES 2815

add switches to vos move and vos copy. add vos clone.

20 years agoavoid-long-windows-shell-timeouts-20040105
Jeffrey Altman [Sun, 4 Jan 2004 10:39:03 +0000]
avoid-long-windows-shell-timeouts-20040105

 * cm_conn.c: assume that if all of the servers for a cell are DOWN
   that there is NOSUCHVOLUME.  We can't return TIMEDOUT because
   this assumes there is a server which is up and the windows shell
   will in turn continue to try to reach it for several minutes on
   each refresh.  Of course, each refresh occurs more frequently
   than the timeouts.

   We can't return ALLOFFLINE because that in turn results in
   an attempt to cm_ForceUpdateVolume() will a NULL (cm_fid_t *).
   That in turn causes a null reference and a crash.

 * cm_volume.c: place a check in cm_ForceUpdateVolume() to return
   without performing its job if there is no (cm_fid_t *) value.
   Unfortunately, this in a ALLOFFLINE situation places the
   service into an infinite loop.

   Question: why is cm_ForceUpdateVolume() ever being called with
   a NULL parameter for the (cm_fid_t *)?

 * cm_smb.c: change the NTStatus for CM_ERROR_NOIPC to Remote
   Resources instead of Access Denied.

 * cm_buf.c: add a debugging statement

20 years agonsis-do-not-install-sdk-with-client-20040101
Jeffrey Altman [Fri, 2 Jan 2004 07:03:47 +0000]
nsis-do-not-install-sdk-with-client-20040101

From Rob Murawski: This is a diff with the changes we talked about for
making a separate section for the SDK files.  It is not installed by
default, unless the SDK files already exist.  (To keep them consistent
on the machine)

Also, a fix to the ShouldClientInstall function to properly handle
downgrades.

20 years agoundo-flexelint-screwage-20040101
Derrick Brashear [Thu, 1 Jan 2004 07:58:38 +0000]
undo-flexelint-screwage-20040101

irix cc wants this prototype

20 years agoirix-osi-prototypes-20040101
Derrick Brashear [Thu, 1 Jan 2004 07:47:54 +0000]
irix-osi-prototypes-20040101

add prototypes header for irix kernel module

20 years agovos-full-listvol-irix-20040101
Derrick Brashear [Thu, 1 Jan 2004 06:51:25 +0000]
vos-full-listvol-irix-20040101

irix needs a inet_ntoa prototype

20 years agoundo-flexelint-breakage-20040101
Derrick Brashear [Thu, 1 Jan 2004 06:22:31 +0000]
undo-flexelint-breakage-20040101

make irix cc happy

20 years agoundo-flexelint-damage-20040101
Derrick Brashear [Thu, 1 Jan 2004 05:56:25 +0000]
undo-flexelint-damage-20040101

unfortunately the problem with making flexelint happy is that irix's cc
becomes sad.

20 years agonsis-installer-20031230
Jeffrey Altman [Tue, 30 Dec 2003 22:34:18 +0000]
nsis-installer-20031230

remove some additional warning messages

20 years agonsis-installer-take-three-20031230
Jeffrey Altman [Tue, 30 Dec 2003 22:31:03 +0000]
nsis-installer-take-three-20031230

only use IsSilent on 2.0b3

20 years agonsis-installer-take-two-20031230
Jeffrey Altman [Tue, 30 Dec 2003 22:24:11 +0000]
nsis-installer-take-two-20031230

Left out one change

20 years agowindows-nsis-installer-update-20031230
Jeffrey Altman [Tue, 30 Dec 2003 22:21:33 +0000]
windows-nsis-installer-update-20031230

NSIS released v2.0 RC1 today.  Updated the installer script to
build with it.

20 years agofix-softsig-on-freebsd47-20031227
Nickolai Zeldovich [Sun, 28 Dec 2003 01:26:32 +0000]
fix-softsig-on-freebsd47-20031227

The workaround for Darwin of setting a signal handler for SIGUSR1 appears
to also be needed on FreeBSD 4.7.

20 years agodo-not-delete-krb5-ini-20031220
Jeffrey Altman [Sat, 20 Dec 2003 19:28:07 +0000]
do-not-delete-krb5-ini-20031220

Do not delete krb5.ini unless we were installing KfW

20 years agodir-header-dont-conflict-with-kernel-protos-20031208 openafs-devel-1_3_51
Derrick Brashear [Sat, 13 Dec 2003 00:04:56 +0000]
dir-header-dont-conflict-with-kernel-protos-20031208

kernel module has disjoint buffer package

20 years agolibadmin-test-client-restore-prototypes-20031212
Derrick Brashear [Fri, 12 Dec 2003 23:37:37 +0000]
libadmin-test-client-restore-prototypes-20031212

won't build without these. put em back.

20 years agodlq-moveb-also-returns-void-20031212
Derrick Brashear [Fri, 12 Dec 2003 23:29:49 +0000]
dlq-moveb-also-returns-void-20031212

nothing even uses it...

20 years agoulock-rellock-actually-returns-void-20031212
Derrick Brashear [Fri, 12 Dec 2003 23:16:12 +0000]
ulock-rellock-actually-returns-void-20031212

but seriously.

20 years agopath-fixes-for-bos-logs-20031211
Jeffrey Altman [Fri, 12 Dec 2003 01:21:06 +0000]
path-fixes-for-bos-logs-20031211

Fixes to paths to enable Bos Logs to function

-Rob

20 years agonsis-patches-20031211
Jeffrey Altman [Fri, 12 Dec 2003 01:20:14 +0000]
nsis-patches-20031211

To do list:

* remove /wizard from afssvrcfg.exe shortcuts

* add a "runonce" for afssvrcfg.exe /wizard when the Server is
installed

* enforce a restriction of no Freelance mode when the Server
is installed

* enforce a requirement of the Client install when the Server
is installed

* add a control panel shortcut to afssvrcfg.exe

* remove "recommended" tag from the AFS Server option

>>>>>>>>>>>>>>>>>>>>>

This is everything we talked about, plus:

1) Fixes the installer so re-installation behaves as expected.
All existing settings are preserved. (With the exception of what
is modifiable during install.  The cell name is prepopulated, but
the user CAN change it)
2) Likewise, an upgrade will retain previous settings.  (There
might be a point from which you cannot upgrade, i.e., from IBM
3.4 or something)
3) Variables named consistently, more code left out if NSIS 2.0b4.

-Rob

20 years agopr-initialize-silence-error-on-empty-dir-20031211
Derrick Brashear [Thu, 11 Dec 2003 19:06:16 +0000]
pr-initialize-silence-error-on-empty-dir-20031211

FIXES 2678

don't print an error if we're just flushing the cached directory info

20 years agonmake-convenience-20031210
Jeffrey Altman [Thu, 11 Dec 2003 03:57:56 +0000]
nmake-convenience-20031210

Add new targets  install-nsis and install-is5  to perform both a build
and an installer in one shot

20 years agofix-netaddconnection2-call-svr-config-20031210
Jeffrey Altman [Thu, 11 Dec 2003 03:21:20 +0000]
fix-netaddconnection2-call-svr-config-20031210

TEXT("") -> NULL

20 years agomurawski-20031210
Jeffrey Altman [Wed, 10 Dec 2003 22:17:48 +0000]
murawski-20031210

Murawski's daily patch for NSIS:

* user selectable registry settings

* generated files placed in $(OUT) tree

* installer produced in $(DEST) tree

* auto-detection of previous installation

* better naming to distinguish build date and Release vs Debug