Commit Graph

1850 Commits

Author SHA1 Message Date
Jeffrey Altman
f0f49b80b0 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
2004-02-28 06:26:05 +00:00
Jeffrey Altman
1d7c0cc902 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
2004-02-28 06:20:12 +00:00
Jeffrey Altman
d10a43683a 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
2004-02-27 20:38:48 +00:00
Jeffrey Altman
4d9e419c8c enablekfw-part2-20040227
Current User should have priority over Local Machine
2004-02-27 18:36:09 +00:00
Jeffrey Altman
c9b834d6e7 enablekfw-regkey-20040227
* Add new Registry Key:

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

	Default value if missing is 0x01
2004-02-27 18:35:22 +00:00
Jeffrey Altman
4cc93fd626 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.
2004-02-27 18:20:34 +00:00
Jeffrey Altman
4eb61ff347 nsis-new-reg-strings-20040227
Make the NSIS installer create the registry strings for NetbiosName = "AFS"
and MountRoot = "/afs"
2004-02-27 07:40:20 +00:00
Jeffrey Altman
94c5d9d6ad fix-unc-binding-message-20040227
Fix the UNC Binding message.
2004-02-27 07:35:25 +00:00
Jeffrey Altman
702e858526 nbname-instead-of-mountroot-20040227
When determining what name should be used for the NetbiosName
query the registry value "NetbiosName" instead of "MountRoot".
2004-02-27 06:44:46 +00:00
Jeffrey Altman
33f9f204bb fix-getlana-typo-20040227
GetUncServerName had a typo which was using "=" instead of "=="
not good.  :-(
2004-02-27 06:21:59 +00:00
Jeffrey Altman
569602eb62 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
2004-02-27 06:02:18 +00:00
Jeffrey Altman
a16b140dc8 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.
2004-02-26 19:22:35 +00:00
Jeffrey Altman
be6c29629b 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.
2004-02-24 20:23:42 +00:00
Derrick Brashear
6e880ed20e 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
2004-02-13 18:58:39 +00:00
Derrick Brashear
09d4822ebe 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.
2004-02-13 18:55:36 +00:00
Sven Oehme
eca259c292 linux-ppc64-fixes-20040202
FIXES 3058

linux ppc64 port
2004-02-03 06:23:30 +00:00
Andrej Filipcic
0008bb5988 amd64-update-20040202
FIXES 2756

deal with types in newer amd64 distributions
initialize some variables
2004-02-03 05:57:49 +00:00
Derrick Brashear
526c586898 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
2004-02-03 05:43:23 +00:00
Hartmut Reuter
3c4dd454dd dumptool-largefile-support-20040202
FIXES 2720

make dumptool support large files
2004-02-03 05:31:52 +00:00
Derrick Brashear
3f73524386 macos-protect-kpasswd-20040202
FIXES 1893

rename kpasswd to kpasswd.afs in /usr/bin
since krb5 kpasswd is included
2004-02-03 05:24:11 +00:00
Shantonu Sen
43118d9396 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
2004-02-03 05:10:24 +00:00
Tom Maher
bb236704d3 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.
2004-02-03 04:53:43 +00:00
Jim Rees
0a0b3c0974 dir-buffer-protos-20040123
take yet another stab at getting dir buffer prototypes right
2004-01-23 16:53:35 +00:00
Jeffrey Altman
80747b803f 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
2004-01-15 04:13:37 +00:00
Derrick Brashear
8730b44612 kdump-linux-sucks-more-20040113
make it build on newer rhel

attempt to deal with hugemem kernel dumbness
2004-01-14 21:30:59 +00:00
Jeffrey Hutzelman
276df5918b 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.
2004-01-10 16:59:35 +00:00
Jeffrey Hutzelman
c4f94dd3a5 vos-move-copy-improvements-20040108
FIXES 2815

add switches to vos move and vos copy. add vos clone.
2004-01-08 21:54:10 +00:00
Jeffrey Altman
d56b95d9a2 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
2004-01-04 10:39:03 +00:00
Jeffrey Altman
06af6dc9cf 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.
2004-01-02 07:03:47 +00:00
Derrick Brashear
47eac162ef undo-flexelint-screwage-20040101
irix cc wants this prototype
2004-01-01 07:58:38 +00:00
Derrick Brashear
49b42ef91d irix-osi-prototypes-20040101
add prototypes header for irix kernel module
2004-01-01 07:47:54 +00:00
Derrick Brashear
c8185c54f7 vos-full-listvol-irix-20040101
irix needs a inet_ntoa prototype
2004-01-01 06:51:25 +00:00
Derrick Brashear
858264ca90 undo-flexelint-breakage-20040101
make irix cc happy
2004-01-01 06:22:31 +00:00
Derrick Brashear
754d8a94ac undo-flexelint-damage-20040101
unfortunately the problem with making flexelint happy is that irix's cc
becomes sad.
2004-01-01 05:56:25 +00:00
Jeffrey Altman
c5e75ee015 nsis-installer-20031230
remove some additional warning messages
2003-12-30 22:34:18 +00:00
Jeffrey Altman
02b6bdbc6a nsis-installer-take-three-20031230
only use IsSilent on 2.0b3
2003-12-30 22:31:03 +00:00
Jeffrey Altman
a35d7330fd nsis-installer-take-two-20031230
Left out one change
2003-12-30 22:24:11 +00:00
Jeffrey Altman
e445236521 windows-nsis-installer-update-20031230
NSIS released v2.0 RC1 today.  Updated the installer script to
build with it.
2003-12-30 22:21:33 +00:00
Nickolai Zeldovich
af52472a75 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.
2003-12-28 01:26:32 +00:00
Jeffrey Altman
f91e4fd0e7 do-not-delete-krb5-ini-20031220
Do not delete krb5.ini unless we were installing KfW
2003-12-20 19:28:07 +00:00
Derrick Brashear
f35416a7ff dir-header-dont-conflict-with-kernel-protos-20031208
kernel module has disjoint buffer package
2003-12-13 00:04:56 +00:00
Derrick Brashear
d938729a11 libadmin-test-client-restore-prototypes-20031212
won't build without these. put em back.
2003-12-12 23:37:37 +00:00
Derrick Brashear
829975edc7 dlq-moveb-also-returns-void-20031212
nothing even uses it...
2003-12-12 23:29:49 +00:00
Derrick Brashear
61e6580fb6 ulock-rellock-actually-returns-void-20031212
but seriously.
2003-12-12 23:16:12 +00:00
Jeffrey Altman
3458ec42cb path-fixes-for-bos-logs-20031211
Fixes to paths to enable Bos Logs to function

-Rob
2003-12-12 01:21:06 +00:00
Jeffrey Altman
46c42a7637 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
2003-12-12 01:20:14 +00:00
Derrick Brashear
3d1da03178 pr-initialize-silence-error-on-empty-dir-20031211
FIXES 2678

don't print an error if we're just flushing the cached directory info
2003-12-11 19:06:16 +00:00
Jeffrey Altman
94682458df nmake-convenience-20031210
Add new targets  install-nsis and install-is5  to perform both a build
and an installer in one shot
2003-12-11 03:57:56 +00:00
Jeffrey Altman
95e9e5dbbd fix-netaddconnection2-call-svr-config-20031210
TEXT("") -> NULL
2003-12-11 03:21:20 +00:00
Jeffrey Altman
3e90ead98c 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
2003-12-10 22:17:48 +00:00