Commit Graph

2320 Commits

Author SHA1 Message Date
Chas Williams
4aba717d64 linux-free-dont-drop-alloc-sem-20040714
FIXES 5831

dropping semaphore not needed, so don't
2004-07-14 05:14:31 +00:00
Christoph Becker-Freyseng
f70a694a15 linux24-update-20040713
FIXES 5713

make getgroups compile
deal with afs_suser(x) and afs_suser()
2004-07-14 05:08:06 +00:00
Jeffrey Altman
8e3383a9ea 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.
2004-07-14 04:28:36 +00:00
Jeffrey Altman
f2235b4832 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.
2004-07-13 14:09:16 +00:00
Jeffrey Altman
10e32e99ce 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
2004-07-13 07:22:53 +00:00
Derrick Brashear
229051032d admin-doc-sysname-20040713
FIXES 4054

update docs to reflect sys being static.
2004-07-13 07:08:32 +00:00
Hans-Gunther Borrmann
320ddefc69 butc-xbsa-20040713
FIXES 5761

update for butc xbsa support
2004-07-13 06:52:44 +00:00
Rainer Schöpf
4bd03a76c5 kdump-linux-26-20040713
FIXES 5814

update kdump for linux 2.6
2004-07-13 06:49:54 +00:00
Rainer Schöpf
3791318ca4 afs-cold-shutdown-20040713
FIXES 5768

use correct syscall parm for cold shutdown
2004-07-13 06:45:14 +00:00
Jeffrey Altman
d03840f85c 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
2004-07-11 22:22:57 +00:00
Jeffrey Altman
5489c6c955 unicode-strings-20040711
UNICODE_STRING buffers are measured by their length field;
do not assume they are nul terminated
2004-07-11 21:56:27 +00:00
Jeffrey Altman
ec5b34b8fc winnotes-registry-20040708
Add descriptions of Global Drive Mappings; MaxCPUs, and Environment
Variables
2004-07-08 15:45:58 +00:00
Jeffrey Altman
3f337727bc aklog-uninitialized-variable-20040708
make sure that the krb5_context is initialized to 0.  Otherwise, we
might try to free it.
2004-07-08 14:25:40 +00:00
Jeffrey Altman
f328d29f96 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.
2004-07-08 14:24:00 +00:00
Love Hörnquist-Åstrand
3fb32a2561 openafs-for-arla-20040708
FIXES 5490

allow use of openafs binaries with arla's linux 2.6 support
2004-07-08 06:35:26 +00:00
Kris Van Hees
fa82c5e6a9 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
2004-07-08 06:23:53 +00:00
Jeffrey Hutzelman
775933e895 rx-lwp-fdsetsize-20040708
FIXES 5615

limit our fd set size so we don't "lose" fds.
2004-07-08 06:16:55 +00:00
Jeffrey Hutzelman
c4b6351fc5 lwp-track-qwaiting-20040708
FIXES 5616

track qwaiting lwps rather than potentially leaking them
2004-07-08 06:11:34 +00:00
Rainer Schöpf
85a973a7b9 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.
2004-07-08 05:52:38 +00:00
Jeffrey Altman
cccb91291f dns-fix-20040630
Fix the dns portion of cm_GetCell() to prevent against a NULL pointer
dereference when the ttl expired.
2004-07-01 09:00:40 +00:00
Jeffrey Altman
a193405623 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)
2004-06-28 17:33:20 +00:00
Jeffrey Altman
d261456065 freelance-rw-mounts-20040626
Extend Freelance code to support r/w mount points in the fake root.afs
volume
2004-06-28 17:29:42 +00:00
Jeffrey Altman
7262f41cd1 afskfw-aklog-only-20040626
If no password is specified, perform aklog only using the provided
principal name
2004-06-28 17:28:38 +00:00
Jeffrey Altman
e2149ea3f2 maxcpus-20040625
Add documentation on MaxCPUs entry.
2004-06-25 22:18:44 +00:00
Jeffrey Altman
5f1c38764d 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()
2004-06-25 20:48:44 +00:00
Jeffrey Altman
291f2e2043 nsis-default-loopback-ip-20040624
correct the default loopback IP addresses used

  10.254.254.253 mask 255.255.255.252
2004-06-24 19:57:51 +00:00
Jeffrey Altman
4586c298ae windows-install-notes-20040624
A first cut at installation notes for windows.
2004-06-24 19:24:14 +00:00
Kris Van Hees
51d7668141 solaris10-20040624
FIXES 5396

as substantially done by Jeff Woodward <Jeffrey.B.Woodward@Dartmouth.EDU>,
work diffed out and slightly rewritten
2004-06-24 18:38:19 +00:00
Chas Williams
f42cf2a991 linux-make-lock-unlock-20040624
FIXES 5430

don't double lock the kernel
2004-06-24 18:28:03 +00:00
Derrick Brashear
c91503f32d getce64-cleanup-20040624
get rid of 64bit client & !64bit env case: won't work as is.
2004-06-24 17:56:20 +00:00
Derrick Brashear
62c7e9dafc irix-ukernel-define-64bit-env-move-200406024
FIXES 4896

don't include afs_sysnames.h before defining AFS_64BIT_ENV
oops
2004-06-24 17:55:00 +00:00
Asanka Herath
fa71ea11af wix-add-crypt-20040624
1. Add gui option for SecurityLevel.

2. Fix grouping of symbol files.
2004-06-24 17:28:51 +00:00
Jeffrey Altman
ec3b49a1cd 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
2004-06-24 05:51:54 +00:00
Jeffrey Altman
d346e2ed53 version-1365-20040623
Version number to 1.3.6500
2004-06-24 05:16:46 +00:00
Asanka Herath
cc0abf8054 nsis-20040623
Remove obsolete registry entry:  TruncateNetbios
2004-06-24 05:12:07 +00:00
Asanka Herath
8dbd908bdd 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.
2004-06-24 05:11:02 +00:00
Derrick Brashear
74e6409d65 darwin-updates-20040623
this should be switched to use the freebsd style getnewvnode

perhaps it will be
2004-06-23 23:25:06 +00:00
Jeffrey Altman
c7d8ba8371 winnotes-20040623
Updated change list and issues list to reflect the state of the world
as of 1.3.65
2004-06-23 21:22:42 +00:00
Marcus Watts
d763078f3a ptserver-flags-default-switch-20040623
FIXES 5418

allow ptserver flags to be defaulted different per switch
2004-06-23 16:01:04 +00:00
Derrick Brashear
4e2c9285f4 prototyping-20040623
i had this laying around, i don't know from when, but i should flush it to cvs
2004-06-23 15:27:35 +00:00
Marcus Watts
d344a58423 ptserver-flags-default-switch-20040623
FIXES 5418

allow ptserver flags to be defaulted different per switch
2004-06-23 14:45:09 +00:00
Derrick Brashear
a8cb8a2650 cvsignore-updates-20040621
FIXES 5209

update cvsingore files
2004-06-23 14:35:20 +00:00
Jeffrey Altman
6b18244984 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
2004-06-23 14:17:22 +00:00
Jeffrey Altman
5d7681b5aa use-afsloopback-20040623
Use the new afsloopback.dll in NSIS
2004-06-23 14:03:30 +00:00
Jeffrey Altman
5d133b13a7 wix-use-loopback-dll-20040622
alter wix installer to use msi interface to afsloopback.dll instead
of instloop.exe
2004-06-23 09:30:19 +00:00
Jeffrey Altman
50e18fe024 wix-msi-loopback-20040622
convert wix installer to use msi interface to loopback dll instead
of instloop.exe
2004-06-23 09:12:07 +00:00
Jeffrey Altman
be70343e2a 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
2004-06-23 08:48:18 +00:00
Asanka Herath
e0b9d58142 license-mit-20040622
Add MIT's license to their Wix contributions
2004-06-23 04:55:13 +00:00
Jeffrey Altman
f7be9862d9 dword-instead-of-bool-20040622
use DWORD instead of bool for function return types
2004-06-22 20:00:37 +00:00
Jeffrey Altman
6a035f2160 default-realm-20040621
Set the default build realm to openafs.org
2004-06-22 06:04:32 +00:00