Commit Graph

59 Commits

Author SHA1 Message Date
Marc Dionne
ab2005d719 Replace unsafe use of gets()
Build tools compain that this is dangerous - replace gets() with a
bounded fgets().

Change-Id: I3bd1854a1dc4a11c801cabb987ab680fa978bd20
Reviewed-on: http://gerrit.openafs.org/1750
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-04-14 19:18:39 -07:00
Andrew Deason
5a7d6da525 Kill afs_inet_ntoa
Replace all calls to afs_inet_ntoa with the threadsafe
afs_inet_ntoa_r. afs_inet_ntoa was being used in a few places that may
be threaded (ubik), and in general should be avoided in case the
relevant code becomes threaded. Remove the definition of afs_inet_ntoa
to prevent anyone from using it.

Change-Id: I163d3f58fdd3d28077780963ced9995247682d78
Reviewed-on: http://gerrit.openafs.org/1680
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-04-01 20:39:34 -07:00
Andrew Deason
60e8dcb4e6 DAFS: Maintain viced volume group hierarchy cache
When salvaging a volume (with DAFS or not), it is required to read the
volume headers of all volumes on the partition, so we know what volumes
are in the same volume group as the salvaged volume. Currently with
DAFS, this requirement can make demand-salvages very slow, since each
demand-salvage must read each volume header on the partition.

So, instead of having each demand-salvage read the volume headers
itself, have a demand-salvage request the required volume group
hierarchy information from the fileserver. The fileserver will scan the
partition's volume headers, and will keep the hierarchy cached in
memory. Any modifications to this hierarchy from volume
creation/deletion will update this volume group cache (VGC) via FSSYNC
commands.

This results in a dramatic salvaging speedup when many demand-salvages
are requested, and eliminates the cases where DAFS salvaging can be
significantly slower than non-DAFS salvaging.

FIXES 124488

Change-Id: Ie9ae655593ad8a90ca6ad8f63e6b6e799f283988
Reviewed-on: http://gerrit.openafs.org/880
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-02-17 09:33:18 -08:00
Simon Wilkinson
12f35e8493 Remove --disable-largefile-fileserver
Make largefile fileservers the only option. Remove all of the
AFS_LARGEFILE_ENV ifdefs, and tidy up some code as a result of
this change.

Change-Id: I126f7dc5505bbdb28c9337dcd2e81403045707f4
Reviewed-on: http://gerrit.openafs.org/1029
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Andrew Deason <adeason@sinenomine.net>
2009-12-31 04:55:31 -08:00
Simon Wilkinson
36524b2ed7 Rationalise our include paths
Our include paths are a bit of a mess. Fix these so that they're
more rational, and more in line with normal coding style.

In particular:
   *) Don't include all of the subdirectories of our top level
      include directory. If a file wants afs/file.h, it should
      include that, not "file.h"
   *) Try to avoid including '.' in the search path (although
      objdir builds make this harder)
   *) Don't blindly include other directories from the code tree
      in the search path. If a package wants another packages header,
      then it should get it from the include directory
   *) Use the convention that quoted includes ("") pick up local
      headers. Bracketed includes (<>) pick up ones from the top level
      include dir
   *) In directories which pull in files from multiple packages, don't
      blindly put all of the package directories in the search path.
      Specifically include the file's package directory when required

The big change here is that it's no longer possible to hide a system
include by placing a header of the same name in include/afs. The most
common case where this was happening was for 'assert.h'

Change-Id: I0796fabcf83ffcd74e533624c64e138a160dd632
Reviewed-on: http://gerrit.openafs.org/834
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2009-11-17 13:12:57 -08:00
Simon Wilkinson
e854e26ef1 Update warning inhibition
A number of recent changes haven't caught all of the locations where
warning inhibition can be removed. This patch updates all of the
inhibitions to reflect the current state of the tree when built with
gcc4.2

Change-Id: I7bad4fee1258f4e37fd729cda84711fed66acbc9
Reviewed-on: http://gerrit.openafs.org/813
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2009-11-11 09:17:56 -08:00
Andrew Deason
bb7f31bc3c Fix format warnings in tviced/state_analyzer.c
state_analyzer.c assumes subtracting two char*s will result in an
unsigned int, which can cause warnings. Lacking a portable format
specifier, just use %ld and cast to long.

Reviewed-on: http://gerrit.openafs.org/681
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
2009-10-19 05:35:21 -07:00
Simon Wilkinson
9bbe16d330 Fix warnings in tviced
Prototype hpr_Initialize and hpr_End to remove warnings in the tviced
build.

Reviewed-on: http://gerrit.openafs.org/675
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2009-10-18 07:36:04 -07:00
Simon Wilkinson
3064879c8d Update warning management
This change tidies up after the recent slew of warning reduction. It
updates README.WARNINGS to reflect the current state of the tree,
disables warnings for a couple of files that are now warning clean,
and ensures that the libuafs and libafsrpc Makefiles match the state
of the rest of the tree in terms of which warnings are enabled.

Reviewed-on: http://gerrit.openafs.org/672
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2009-10-18 06:13:58 -07:00
Simon Wilkinson
f5c55d23a2 Demand attach warning fixes
Fix a whole host of warnings in the demand attach code.

Make a broken tvolser build stop the build, rather than carrying on
regardless.

Reviewed-on: http://gerrit.openafs.org/551
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
2009-09-29 12:11:37 -07:00
Simon Wilkinson
6d51ebd6c8 Add support for warning checked builds
This patch adds a '--enable-checking' configuration option. When this
option is supplied, and gcc is in use, the compiler will treat any
warnings as errors. This will hopefully help stop new warnings from
creeping into the tree.

In order to still be able to build, all of the currently existing
warnings are accepted (these are documented in README.WARNINGS). With
this set of warning inhibitions, the tree is known to build on 32bit
Leopard - other systems may vary. Warning inhibition may be disabled
by supplying --enable-checking=all - in this case the tree will
definitely not build!

If --enabled-checking is not specified, the existing compilation
behaviour is maintained, so there is no user-visible change.

Gcc 4.2, or later, is required to use the pragma sets contained within
this patch. Again, they are not visible unless --enable-checking is
given.

Reviewed-on: http://gerrit.openafs.org/526
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2009-09-28 05:00:04 -07:00
Jeffrey Altman
1c12747818 Windows: Permit build system to update symbol store
Microsoft Debugging Tools for Windows, Visual Studio Debugger,
and SysInternals tools can all make use of a Symbol Server.
  http://msdn.microsoft.com/en-us/magazine/cc163563.aspx
The commit adds functionality to the build system to automatically
add binaries and symbols to a symbol store during the build.
This functionality is only enabled if two environment variables
are defined:

  SYMSTORE_EXE  - specifies the location of symstore.exe
  SYMSTORE_ROOT - specifies the location of the symbol store

an optional environment variable permits an arbitrary comment
to be added to the symbol store history file.

  SYMSTORE_COMMENT - arbitrary text to be added to the history

LICENSE MIT

Reviewed-on: http://gerrit.openafs.org/324
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
2009-08-19 10:19:43 -07:00
Andrew Deason
f149a3c54b Correct ctime arguments
Corrects a few places throughout the tree where ctime() is incorrectly passed a
pointer to an afs_uint32 or similar fixed-width datatype, instead of a pointer
to a time_t.

FIXES 124538

Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/100
Tested-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
2009-07-21 08:14:12 -07:00
Jeffrey Altman
6d6390338c Improve Windows Build System By Using MT-safe Versions of Libraries
For many years the Windows Build System has incorrectly mixed
some Pthread and LWP code.  One of the side effects of this
mixing was the need for the EXT2 extern macro definition in
src/rx/rx_globals.h which permitted the LWP compiled routines
to link with the Pthreaded afsrpc library.

This commit creates or modifies multi-threaded versions of various
libraries including mtafsubik.lib, mtafsutil.lib, mtafsvldb.lib,
and mtafsvol.lib.

All of the threaded servers now make use of these libraries.
This reduces the number of times that many source files were
recompiled for each server directory.

util_GetInt32 was defined in both src/util/volparse.c and
src/WINNT/afsd/fs_utils.c.  Now that mtafsutil.lib is being
used within src/WINNT/afsd there is no need to maintain the
duplicate copy.

The export list for afsauthent.def now includes all of the
ubik_PR_xxxx function variants and afsrpc.def now include
rxi_CallError as it is linked to outside the rx library.

The top-level NTMakefile has been modified to permit the
tree to build with the new header and library dependencies.

The threaded volserver which never built before now does.

LICENSE MIT

Reviewed-on: http://gerrit.openafs.org/77
Verified-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
Verified-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Asanka Herath <asanka@secure-endpoints.com>
Verified-by: Asanka Herath <asanka@secure-endpoints.com>
Verified-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
2009-07-14 21:46:56 -06:00
Simon Wilkinson
3bb5fa5f1b Remove the RCSID macro
The move to git means that we can no longer populate the RCSID
macro in the way that it was used with CVS. This patch simply
removes the macro from every file, except where it contains
information from upstream (and it's in a comment).

Reviewed-on: http://gerrit.openafs.org/14
Verified-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
2009-07-09 22:58:37 -06:00
Simon Wilkinson
d5081f264d Remove CVS ignore files
Now we're in git we don't need any cvsignore files any more...

Reviewed-on: http://gerrit.openafs.org/1
Verified-by: Derrick Brashear <shadow@gmail.com>
Reviewed-by: Derrick Brashear <shadow@gmail.com>
2009-07-06 11:03:16 -06:00
Simon Wilkinson
c41a467741 gitignore-20090615
LICENSE IPL10

make gitignore files
2009-06-15 23:29:29 +00:00
Andrew Deason
8cc60f4931 state-analyzer-usage-20090326
LICENSE IPL10
FIXES 124539

fix usage for state-analyzer
2009-03-26 21:33:50 +00:00
Jeffrey Altman
65bf7cdb6d windows-code-signing-20080702
LICENSE MIT

Add code signing with signtool.exe to the build process.
If all three of the required CODESIGN_xxxx environment
variables are defined, signtool will be used to sign each
exe, dll, and installer as they are built.

The three environment variables are:

  CODESIGN_DESC = <description of application>
  CODESIGN_TIMESTAMP = <url of certificate authority timestamp server>
  CODESIGN_URL = <end user help URL>

The default signing certificate is the one that will be used by
signtool.  If these environment variables are not defined, code
signing will be skipped.
2008-07-02 13:41:07 +00:00
Tom Keiser
db13ad4de7 dafs-state-analyzer-setup-cursor-20080630
LICENSE IPL10

avoid an uninitialized cursor
2008-06-30 18:28:35 +00:00
Kevin McBride
8593c52c27 autoconf-strip-debug-options-sanity-20071112
To prevent stripping, specify the '--disable-strip-binaries' option on
the ./configure command line. fileserver and volserver are never stripped.

When --enable-debug is specified, binaries will not be stripped by default.
2007-11-12 18:25:54 +00:00
Simon Wilkinson
7d05bd439e openafs-string-header-cleanup-20071030
include only what we need
2007-10-30 15:10:37 +00:00
Jeffrey Altman
a4b995b618 windows-tviced-resfile-20071003
Add explicit build rules for TVICEDRES since we do not
build the non-threaded file server on Windows
2007-10-03 16:17:43 +00:00
Jeffrey Altman
da79b76e7d tviced-windows-20070820
build serialize_state.c
2007-08-20 18:35:59 +00:00
Marcus Watts
9dd8d7f817 auth-cleanup-20070208
FIXES 53208

remove unneeded includes of auth.h
2007-02-09 00:57:39 +00:00
Russ Allbery
3a34d8cb4f autoconf-likes-relative-paths-20060802
When using the install-sh that ships with the source tree, Autoconf
substitutes in a relative path just to be annoying.  Define the INSTALL
variables in each individual Makefile so that they find the proper file.
Remove the definitions from Makefile.config so that no one will
accidentally get the wrong ones.
2006-08-03 03:37:12 +00:00
Derrick Brashear
fd099b3e76 endian-fixes-20060802
macos needs us to do weird stuff so -arch i386 -arch ppc works
2006-08-02 19:59:40 +00:00
Russ Allbery
8df5dcbc91 death-to-pinstall-20060801
Delete pinstall and convert the entire tree to use the install program
found by configure (falling back on install-sh in the local tree).  This
means that we have to pre-create directories with install -d.  Also redo
the install and dest rules to be lists of install rules rather than
dependencies driving separate make rules so that running make install will
always update the target directory with the current code, even if there are
files in the install area that are newer.

Stop installing libafssetpag; we're about to kill it in favor of a
different library.  Remove some djgpp rules.
2006-08-01 21:03:54 +00:00
Derrick Brashear
75922872e6 fslog-dpf-20060731
turns out it's nice to log why we exit
2006-07-31 20:01:08 +00:00
Jeffrey Altman
941ac04165 ubik-call-sucks-20060704
make ubik_Call removal work on Windows.

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

another fix for Windows
2006-07-04 22:22:35 +00:00
Jim Rees
4671270758 ignore-new-targets-20060327
cvsignore new targets
2006-03-27 18:27:38 +00:00
Jeffrey Altman
095f64a7e9 windows-dafs-20060320
64-bit time_t pointer update

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

correct a type for consistency

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

corrections to the dafs delta to allow compilation on Windows
2006-03-20 17:29:52 +00:00
Tom Keiser
51ec267011 dafs-20060317
FIXES 26648

demand attach/fast restart fileserver
2006-03-17 19:54:26 +00:00
Jim Rees
346d85adb0 fstab-moved-20060309
fstab.c moved from viced to util
2006-03-09 14:36:35 +00:00
Jeffrey Altman
b02d80508f windows-64-bit-type-safety-20051105
64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

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

more corrections for use of 64-bit types on Windows

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

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

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

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

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

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

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

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

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

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

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

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

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

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

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

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler
2005-11-06 09:29:36 +00:00
Derrick Brashear
5740865dce logthreadnum-libafsauthent-20050808
FIXES 20412

export LogThreadNum so hings can link our libraries again
2005-08-08 16:37:28 +00:00
Ed Moy
3ee6917895 macos-fstab-fun-so-fileserver-works-20040401
so we use getfsent and actually find vice partitions (and make volinfo work)
2004-04-01 23:26:22 +00:00
Jeffrey Altman
98544e6ab4 patch-from-shadow-to-jaltman-bkbox-20031120
This massive patch contains changes in several significant areas for Windows:

- the ability to specify the mount point to be something other than /afs

- functionality to assist debugging of the NT Services

- support for languages other than English (NTLang.bat)

- revisions to the Build system to support separate trees for src, obj,
  dest and free or checked; allow any MS compiler to be used

- updates to NSIS installer build

- mutex locking added to critical locations

- updates to IS5 directory tree creation

- update to afswsNetscape_config.sh
2003-11-21 07:59:35 +00:00
Ed Moy
e2e93aa892 macos103-20031024
FIXES 2325

support for macos 10.3 for 1.2.10
2003-10-24 07:25:58 +00:00
James Peterson
5df76f7321 windows-build-updates-20030314
support for V6.0 and .Net complier, compile from either NT4.0 or XP
Source and object are separated into different directories.  The directory
tree would look as follows:

Base from %AFSROOT% environment variable
%AFSROOT%\src\... - all source and generated source
%AFSROOT%\obj\checked\... objects from a checked build
%AFSROOT%\obj\free\...    objects from a free build
%AFSROOT%\obj\dest\checked\...  DEST folder from a checked build
%AFSROOT%\obj\dest\free\....    DEST folder from a free build

Before you start the build, you must build an object tree by issuing the
following:

nmake -f NTMAKEFILE mkdir

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

support for V6.0 and .Net complier, compile from either NT4.0 or XP
Source and object are separated into different directories.  The directory
tree would look as follows:
2003-03-14 20:11:44 +00:00
Nickolai Zeldovich
eff534794e Improved signal-thread support for the pthread fileserver,
which avoids blocking signals in any thread, to appease Linux's
thread signaling semantics.
2003-01-14 01:20:03 +00:00
Nathan Neulinger
580af44321 makefiles-cflag-cleanup-20030111
move cflags back to makefile.config, more cleanup, dup removal
2003-01-11 07:33:52 +00:00
James Peterson
899a6eb679 windows-updates-20010108
"1. The default Open AFS is set to normal security (doesn't generate random
user names).
If you are installing over a previous version (before 1.2.2b) it's default
is
high security; therefore, if you want the normal security, you should
uninstall the previous version (1.2.2a or earlier) and select to 'Not
Preserve previous settings'.

To manually change security you need to set the following registry keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemond\NetworkProvider
     LogonOptions = 1 - Integrated Logon
     LogonOptions = 2 - High Security options, Random User name generation
     LogonOptions = 3 - both

3. Windows 2000/NT, Win9x - First time installations will create necessary
directories when user decides to download CellServDB

4. Windows 2000/NT, Global Drive working.

5. Windows XP - Drive mapping via GUI working.

6. Rename pthread.dll to afspthread.dll"
2002-01-08 20:44:31 +00:00
Nathan Neulinger
838e1eae1a build-system-specific-makefile-configuration-from-configure-20011031
junk all of Makefile.${SYS_NAME} in favor of a common makefile built by
configure, and use it
2001-11-01 04:59:26 +00:00
Nathan Neulinger
b9948dd965 initial-objdir-support-20011017
first cut at objdir support
2001-10-18 00:06:58 +00:00
Nathan Neulinger
2a12550e7c add-cvsignores-to-project-20010910
start at cvsignores
2001-09-10 21:14:01 +00:00
Jeffrey Hutzelman
80e2c2f8ce make-install-support-for-transarc-and-prefix-style-universes-20010907
according to jeff:
- Renames the top-level 'install' target to 'build'.  This should be
    transparent, since no one should be using that.

  - Improves on Sam's dirpath patches, by splitting out server binaries
    into separate bin, sbin, and libexec directories in GCS mode (these
    are all /usr/afs/bin in Transarc mode).

  - Updates the top-level 'all' target so that it builds the software
    but does not generate a dest tree.  Top-level 'lib' and 'include'
    directories are generated to hold the intermediate libraries and headers
    used during the build.

  - Adds a new top-level 'install' target, which installs things in the
    appropriate directories under ${DESTDIR}, based on configure's install
    directories plus the extras added by Sam's patch.

  - Adds a new top-level 'dest' target, which creates an old-style dest
    directory under ${DEST}.  The ${DEST} variable defaults to the
    traditional value of ${SRCDIR_PARENT}/${SYS_NAME}/dest.  Note that
    this variable used to be called ${DESTDIR}; it was renamed to avoid
    conflicts with the de facto standard usage of ${DESTDIR}.

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

fix missed makefile

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

update another missed file

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

eliminate bogus escaping

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

get rid of another bogus escape

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

remove unused include directory

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

get rid of no longer used libdir

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

remove unused incdir

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

fix up some problems for make compatibility and missing trailing /

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

put afs.exp in the right place

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

remove bogus afssrvdir reference

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

update dest version of output

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

update ref to libexecdir

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

kill refs to afssrvdir

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


convert missed LIBDIR to TOP_LIBDIR

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

remove explicit INSTALL and use makefile.@sys value instead

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

except it's helpful to actually include makefile.@sys

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

convert LIBDIR to TOP_LIBDIR
2001-09-10 20:15:57 +00:00
Nathan Neulinger
635df30c0f more-makefiles-cleanup-20010829
get rid of cases where we'd end up with two / because of DESTDIR pasting

macroize calls to rm

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

get rid of another case of bogus trailing quoting
2001-08-30 00:22:17 +00:00
Nathan Neulinger
b0c5f0cac6 makefile-updates-20010828
clean up all the makefiles to remove bogus targets, eliminate trailing /
requirement from DESTDIR, avoid needing to pass things like DESTDIR around
between makefiles

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

remove bogus quoting
2001-08-29 02:19:55 +00:00
James Peterson
ae0d5a0407 windows-updates-20010819
1. Version control (Win9x & Windows NT/2000)
 NTMakefile.i386_win95 and NTMakefile.i386_nt40 added AFSPRODUCT_VERSION
 variable, setting this will propagate through the software by setting
 the product version for the installation and client dialog boxes.  In
 particular it will provide correct notification if Win2K installation is
 being upgraded, reinstall or downgraded.

 Version information shows up in the following ways:
   Welcome dialog during installation
   Properities page for Install.exe (Windows Installation routine)
   Windows Add/Remove Dialogs application list
   AFS Control Center and Client dialog boxes

 See README-WIN9X.TXT or README-NT.TXT for further information on how to set thi
s
 variable.


2. CellServDB  (Win9x & Windows NT/2000)
 The installer can choose between various sources for CellServDB:
 a) Previous installed file, afsdcell.ini(WinNT/2000) or CellServDB(Win9x).
 b) File that comes with the installation package (recent copy from grand.centra
l.org)
 c) Download a the file from the Web (default http://grand.central.org/dl/cellse
rvdb/CellServDB).
 d) Browse for a file

3. Drive Mapping (Win9x & Windows NT/2000)
 The installer can choose up to two drive mappings during the installation
 process.  Default is map Z: to AFS root and U: to user home directory

4. Silent Running (Win9x & Windows NT/2000)
 Setup.exe is capable of running silently (-s option); that is, it will use a pr
e-made
 response script to drive its responses.  You can also do a normal installation
with
 the record option (-r) to build a sample response file.

 The installation routine has been improved to accept a modified response file s
o the
 administrator can setup up additional drive mappings including substituting the
 user's
 loggin name into the path.  By using a text editor an administrator can setup a
 variable
 path name that includes %LOGINNAME% in a path statement.  This variable will be

 substituted for the current user's login name.  (Only at installation time.)

 For example: if an administrator wanted to install AFS client on a machine that
 had the
 following mappings:
 Z:=/
 U:=/afs/afscell.org/u/username
 Q:=/afs/afscell.org/general

 Then follow these steps:
 a) run setup with -r option and specify install to record responses into file s
etup.iss
  setup.exe -r -f1setup.iss
 b) Follow normal installation responses
 c) Edit the setup.iss response file by modifying the "DRIVEPATH section".

 This response file could start off looking like this:


 [DLG_DRIVEPATH-1]
 Result=1
 Drive_0=Z:
 Path_0=/
 Share_0=all
 Drive_1=U:
 Path_1=/afs/afscell.org/u/administrator
 Share_1=home
 Count=2

 This section map would be changed to look like this:

 [DLG_DRIVEPATH-1]
 Result=1
 Drive_0=Z:
 Path_0=/
 Share_0=all
 Drive_1=U:
 Path_1=/afs/afscell.org/u/%LOGINNAME%
 Share_1=home
 Drive_2=Q:
 Path_2=/afs/afscell.org/general
 Share_2=genrl
 Count=3

 d) Use the silent mode to install AFS (must log to windows as your user name e.
g. Frank)
  setup.exe -s -f1setup.iss

HINT: Share name should be limited to 12 characters.
    The response file terminate if the installation is in any way different; for
 example,
    the response is recorded on a clean machine and it is run on a system where
AFS
    is already installed.
    The execution is truly silent, except for a log file.
    The last response is BootOption and if set to 1 it will reboot your machine!


 Refer to additional documentation on silent/record in you Install Shield User's
 Guide.


5. Fixed the Un-Installation bug that damaged the NetBT parameter registration. (Win2k/NT only)

6. Change Default selection for Win2000 to Client and Documentation only.  (Win2
K/NT only)
 The default installation is with Server and Control Center NOT selected.

7. Win9x Client Operation (Win9x only)

 Win9x client has been changed to allow "connection" with out forcing
 authentication.  Previous implementation of the Win9x client had three steps to
 the
 connection process: 1) start client 2) obtain tokens 3) Map drives

 The updated Win9x client can leave the username blank and select to Connect.  T
herefore, only
 the client will be started (without obtaining tokens).  The user can still map
drives
 (those that don't require authentication).  This is particularity useful if you
 want to
 use a different routine to obtain authentication tokens or additional drive map
pings.

 A command line option has also been added (-noid).  This option Prevent selecti
on of
 (Gray out) username/password. This will cause the client to start up without au
thentication.
 By using both -noid and -connect allows the user to run the AFS client in login
 script
 that could provide Kerbos 5 authentication and addition drive mapping.

8. Installation (Win9x only)
 Fix installation into paths that have space, e.g. \Program Files\Afscli

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


complete list in first message
2001-08-19 15:44:41 +00:00