openafs.git
19 years agono-more-ini-files-20040713
Jeffrey Altman [Wed, 14 Jul 2004 04:28:36 +0000]
no-more-ini-files-20040713

Get rid of all %WINDIR% INI files

afs_freelance.ini moved to the HKLM hive SOFTWARE\OpenAFS\Client\Freelance

afsdcell.ini moved to the Openafs Client install directory and renamed
to CellServDB to match Unix and the Openafs Server.

afsdsbmt.ini moved to the registry.  Submounts are moved to HKLM hive
SOFTWARE\OpenAFS\Client\Submounts.  Active Maps and Drive Mappings are
moved to the HKCU hive SOFTWARE\OpenAFS\Client\Active Maps and Mappings.
CSCPolicy is moved to HKCU hive.

afsdns.ini is no longer used.

NSIS installer updated to migrate the afsdcell.ini to CellServDB

The cm_freelance.ini module has been modified to migrate the afs_freelance.ini
data to the registry on first execution.

The afsdsbmt.ini file data is not currently being migrated.

19 years agomigrate-to-registry-20040713
Jeffrey Altman [Tue, 13 Jul 2004 14:09:16 +0000]
migrate-to-registry-20040713

* NTMakefile: missing commit from SMB AUTH patches

* cm_config.c: obtain location of CellServDB from registry
[HKLM\SOFTWARE\OpenAFS\Client] "CellServDB"=reg_sz
  This will allow us to move from %WINDIR%\afsdcell.ini to
  C:\Program Files\OpenAFS\Client\CellServDB.  This is necessary
  for compatibility with Terminal Server in which applications
  are not given access to %WINDIR%.

* cm_freelance.c: migrate freelance mount point data from
  %WINDIR%\afs_freelance.ini to the registry
[HKLM\SOFTWARE\OpenAFS\Client\Freelance]
  Each value, whose name is unimportant, contains one mount point
  entry.  After the first execution of this code, the current data
  in afs_freelance.ini will be moved to the registry and then all
  subsequent data access will be performed via the registry.
  The afs_freelance.ini file will be deleted after the migration
  has occurred.

19 years agontlm-back-connection-hostnames-20040713
Jeffrey Altman [Tue, 13 Jul 2004 07:22:53 +0000]
ntlm-back-connection-hostnames-20040713

Add function configureBackConnectionHostNames(void)

On Windows XP SP2, Windows 2003 SP1, and all future Windows operating systems
there is a restriction on the use of SMB authentication on loopback connections.
There are two work arounds available:

  (1) We can disable the check for matching host names.  This does not
  require a reboot:
  [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
    "DisableLoopbackCheck"=dword:00000001

  (2) We can add the AFS SMB/CIFS service name to an approved list.  This
  does require a reboot:
  [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0]
    "BackConnectionHostNames"=multi-sz

The algorithm will be:
  Check to see if cm_NetbiosName exists in the BackConnectionHostNames list
   If not, add it to the list.  (This will not take effect until the next reboot.)
      and check to see if DisableLoopbackCheck is set.
      If not set, set the DisableLoopbackCheck value to 0x1
                  and create HKLM\SOFTWARE\OpenAFS\Client  UnsetDisableLoopbackCheck
   else If cm_NetbiosName exists in the BackConnectionHostNames list,
      check for the UnsetDisableLoopbackCheck value.
      If set, set the DisableLoopbackCheck flag to 0x0
      and delete the UnsetDisableLoopbackCheck value

19 years agoadmin-doc-sysname-20040713
Derrick Brashear [Tue, 13 Jul 2004 07:08:32 +0000]
admin-doc-sysname-20040713

FIXES 4054

update docs to reflect sys being static.

19 years agobutc-xbsa-20040713
Hans-Gunther Borrmann [Tue, 13 Jul 2004 06:52:44 +0000]
butc-xbsa-20040713

FIXES 5761

update for butc xbsa support

19 years agokdump-linux-26-20040713
Rainer Schöpf [Tue, 13 Jul 2004 06:49:54 +0000]
kdump-linux-26-20040713

FIXES 5814

update kdump for linux 2.6

19 years agoafs-cold-shutdown-20040713
Rainer Schöpf [Tue, 13 Jul 2004 06:45:14 +0000]
afs-cold-shutdown-20040713

FIXES 5768

use correct syscall parm for cold shutdown

19 years agosmb-auth-20040711
Jeffrey Altman [Sun, 11 Jul 2004 22:22:57 +0000]
smb-auth-20040711

Over last several years significant efforts have been made to work around
the inability to protect user tokens from use by inappropriate entities.
The tokens are associated with a given userid and session by a combination
of an SMB based ioctl and an authenticated/encrypted RPC.  This has opened
the door for tokens to be borrowed by other users if they could connect
to the same SMB server with the identical userid.  This was trivially
possible because the SMB connections were unauthenticated.

This patch adds two forms of authenticated SMB connections: NTLM and
Extended Security (aka GSS SPNEGO).  By default Extended Security mode
is used.  This patch has been tested on 2000 workstation, 2000 server,
XP SP1, and 2003 Server, and XP SP2 RC2.  The Extended Security works on
all platforms except for XP SP2 RC2 regards of whether or not the machine
is part of a domain or not; and whether or not a local or domain account
is used.

On XP SP2 RC2, attempts to use negotiate Extended Security result in a
Logon Denied error from AcceptSecurityContext() and a substatus code of
0x7C90486A is logged to the Security Event log via the NTLM SSP.
The SMB AUTH NTLM mode succeeds on XP SP2 RC2.

Disabling SMB Authentication or specifying the use of NTLM mode may be done
via the registry.

Value   : smbAuthType
Type    : DWORD {0..2}
Default : 2

  If this value is specified, it defines the type of SMB authentication
  which must be present in order for the Windows SMB client to connect
  to the AFS Client Service's SMB server.  The values are:
    0 = No authentication required
    1 = NTLM authentication required
    2 = Extended (GSS SPNEGO) authentication required
  The default is Extended authentication

19 years agounicode-strings-20040711
Jeffrey Altman [Sun, 11 Jul 2004 21:56:27 +0000]
unicode-strings-20040711

UNICODE_STRING buffers are measured by their length field;
do not assume they are nul terminated

19 years agowinnotes-registry-20040708
Jeffrey Altman [Thu, 8 Jul 2004 15:45:58 +0000]
winnotes-registry-20040708

Add descriptions of Global Drive Mappings; MaxCPUs, and Environment
Variables

19 years agoaklog-uninitialized-variable-20040708
Jeffrey Altman [Thu, 8 Jul 2004 14:25:40 +0000]
aklog-uninitialized-variable-20040708

make sure that the krb5_context is initialized to 0.  Otherwise, we
might try to free it.

19 years agolocal-rpc-20040708
Jeffrey Altman [Thu, 8 Jul 2004 14:24:00 +0000]
local-rpc-20040708

change the default RPC type from "ncacn_np" to "ncalrpc"
This says to use local rpc instead of named pipes from the
client to the server.  Named pipes can still be used by
specifying the "AFS_RPC_PROTSEQ" environment variable.

19 years agoopenafs-for-arla-20040708
Love Hörnquist-Åstrand [Thu, 8 Jul 2004 06:35:26 +0000]
openafs-for-arla-20040708

FIXES 5490

allow use of openafs binaries with arla's linux 2.6 support

19 years agosolaris10-20040624
Kris Van Hees [Thu, 8 Jul 2004 06:23:53 +0000]
solaris10-20040624

FIXES 5396

as substantially done by Jeff Woodward <Jeffrey.B.Woodward@Dartmouth.EDU>,
work diffed out and slightly rewritten

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

this should be the correct way to give up the socket on all solaris versions

19 years agorx-lwp-fdsetsize-20040708
Jeffrey Hutzelman [Thu, 8 Jul 2004 06:16:55 +0000]
rx-lwp-fdsetsize-20040708

FIXES 5615

limit our fd set size so we don't "lose" fds.

19 years agolwp-track-qwaiting-20040708
Jeffrey Hutzelman [Thu, 8 Jul 2004 06:11:34 +0000]
lwp-track-qwaiting-20040708

FIXES 5616

track qwaiting lwps rather than potentially leaking them

19 years agoafsd-bitch-about-xfs-not-about-dir-for-memcache-20040708
Rainer Schöpf [Thu, 8 Jul 2004 05:52:38 +0000]
afsd-bitch-about-xfs-not-about-dir-for-memcache-20040708

FIXES 5728

make afsd complain if cache partition is linux
don't complain if no cachedir and we're -memcache.

19 years agodns-fix-20040630
Jeffrey Altman [Thu, 1 Jul 2004 09:00:40 +0000]
dns-fix-20040630

Fix the dns portion of cm_GetCell() to prevent against a NULL pointer
dereference when the ttl expired.

19 years agoafscreds-aklog-only-20040626
Jeffrey Altman [Mon, 28 Jun 2004 17:33:20 +0000]
afscreds-aklog-only-20040626

Modify the Obtain Tokens dialog to allow a blank password
if a full principal name is provided.  (for aklog only requests)

19 years agofreelance-rw-mounts-20040626
Jeffrey Altman [Mon, 28 Jun 2004 17:29:42 +0000]
freelance-rw-mounts-20040626

Extend Freelance code to support r/w mount points in the fake root.afs
volume

19 years agoafskfw-aklog-only-20040626
Jeffrey Altman [Mon, 28 Jun 2004 17:28:38 +0000]
afskfw-aklog-only-20040626

If no password is specified, perform aklog only using the provided
principal name

19 years agomaxcpus-20040625
Jeffrey Altman [Fri, 25 Jun 2004 22:18:44 +0000]
maxcpus-20040625

Add documentation on MaxCPUs entry.

19 years agohyperthreading-bad-20040625
Jeffrey Altman [Fri, 25 Jun 2004 20:48:44 +0000]
hyperthreading-bad-20040625

Give folks an option of running afsd_service.exe on fewer processors
than are installed in the machine.  A new registry value

TransarcAfsDaemon/Parameters   MaxCPUs

allows a restriction to be applied.  Set to 1 to use a single CPU
(or hyperthreading instance)

The restriction is applied with SetProcessAffinityMask()

19 years agonsis-default-loopback-ip-20040624 openafs-devel-1_3_65
Jeffrey Altman [Thu, 24 Jun 2004 19:57:51 +0000]
nsis-default-loopback-ip-20040624

correct the default loopback IP addresses used

  10.254.254.253 mask 255.255.255.252

19 years agowindows-install-notes-20040624
Jeffrey Altman [Thu, 24 Jun 2004 19:24:14 +0000]
windows-install-notes-20040624

A first cut at installation notes for windows.

19 years agosolaris10-20040624
Kris Van Hees [Thu, 24 Jun 2004 18:38:19 +0000]
solaris10-20040624

FIXES 5396

as substantially done by Jeff Woodward <Jeffrey.B.Woodward@Dartmouth.EDU>,
work diffed out and slightly rewritten

19 years agolinux-make-lock-unlock-20040624
Chas Williams [Thu, 24 Jun 2004 18:28:03 +0000]
linux-make-lock-unlock-20040624

FIXES 5430

don't double lock the kernel

19 years agogetce64-cleanup-20040624
Derrick Brashear [Thu, 24 Jun 2004 17:56:20 +0000]
getce64-cleanup-20040624

get rid of 64bit client & !64bit env case: won't work as is.

19 years agoirix-ukernel-define-64bit-env-move-200406024
Derrick Brashear [Thu, 24 Jun 2004 17:55:00 +0000]
irix-ukernel-define-64bit-env-move-200406024

FIXES 4896

don't include afs_sysnames.h before defining AFS_64BIT_ENV
oops

19 years agowix-add-crypt-20040624
Asanka Herath [Thu, 24 Jun 2004 17:28:51 +0000]
wix-add-crypt-20040624

1. Add gui option for SecurityLevel.

2. Fix grouping of symbol files.

19 years agoloopback-20040623
Jeffrey Altman [Thu, 24 Jun 2004 05:51:54 +0000]
loopback-20040623

properly set dependencies for NSIS and wix targets to build loopback target

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

do not install a second loopback adapter if one is already installed.

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

1.  Custom actions should not depend on any library that is not in the Windows distribution.  Change makefile to link
with a static runtime.

2.  Add common reporting mechanism to report ActionData messages back to the MSI process during the loopback
installation.

3.  CoInitializeSecurity can be called only once per process.  When running as a custom action DLL under the MSI process
we won't be able to successfully call this since the MSI process beats us to it.

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

Compensate for difference in argument passing in MSI and RunDll32

19 years agoversion-1365-20040623
Jeffrey Altman [Thu, 24 Jun 2004 05:16:46 +0000]
version-1365-20040623

Version number to 1.3.6500

19 years agonsis-20040623
Asanka Herath [Thu, 24 Jun 2004 05:12:07 +0000]
nsis-20040623

Remove obsolete registry entry:  TruncateNetbios

19 years agowix-20040623
Asanka Herath [Thu, 24 Jun 2004 05:11:02 +0000]
wix-20040623

1. We are packaging debug symbols for all builds.  In a checked build the default is to install debug symbols while on a
free build debug symbols won't be installed unless asked to.

2. Change impersonation level for loopback installation.

3. Change UI to allow for ActionData messages during the long wait while the loopback is installed.

4. Add templates for displaying ActionData.

5. Parameterize language resources.

19 years agodarwin-updates-20040623
Derrick Brashear [Wed, 23 Jun 2004 23:25:06 +0000]
darwin-updates-20040623

this should be switched to use the freebsd style getnewvnode

perhaps it will be

19 years agowinnotes-20040623
Jeffrey Altman [Wed, 23 Jun 2004 21:22:42 +0000]
winnotes-20040623

Updated change list and issues list to reflect the state of the world
as of 1.3.65

19 years agoptserver-flags-default-switch-20040623
Marcus Watts [Wed, 23 Jun 2004 16:01:04 +0000]
ptserver-flags-default-switch-20040623

FIXES 5418

allow ptserver flags to be defaulted different per switch

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