openafs.git
19 years agosegments-keep-chunkbytes-and-validpos-in-sync-20040914
Christof Hanke [Wed, 15 Sep 2004 04:54:28 +0000]
segments-keep-chunkbytes-and-validpos-in-sync-20040914

FIXES 15200

"Basically, the pointers (struct dcache *)->validPos and (struct dcache *)->f.chunkBytes are not kept in sync."

19 years agonsis-1400-compiler-20040908
Jeffrey Altman [Thu, 9 Sep 2004 21:19:06 +0000]
nsis-1400-compiler-20040908

Add support for MS VS 2005

19 years agotime_t-pointer-conversions-20040908
Jeffrey Altman [Wed, 8 Sep 2004 22:35:33 +0000]
time_t-pointer-conversions-20040908

FIXES 15169

Modify all parameters to functions which take a pointer to time_t
to actually provide a pointer to time_t instead of pointers to long,
afs_int32, afs_uint32, etc.

This is to provide compatibility with systems that use 64-bit time_t
typedefs such as the IBM compilers for AIX and the Microsoft Visual
Studio 2005 compiler.

This patch does not address any of the issues of data loss caused
by converting 64-bit time_t to 32-bit signed or unsigned values.

19 years agowindows-misc-20040907
Jeffrey Altman [Wed, 8 Sep 2004 06:52:20 +0000]
windows-misc-20040907

* modify registry.txt to replace QWORD with DWORD

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

* add expanded registry support to "submounts"

19 years agoplacate-netbsd-cc-20040826
Nickolai Zeldovich [Thu, 26 Aug 2004 22:07:01 +0000]
placate-netbsd-cc-20040826

netbsd's cc doesn't like multiple semicolons in variable declarations,
so let's adjust the XSTATS_DECLS macro appropriately.

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

netbsd's cc doesn't like multiple semicolons in variable declarations,
so move OSI_VC_CONVERT down to the last statement

19 years agofix-missing-config-quote-20040826
Jim Rees [Thu, 26 Aug 2004 19:14:37 +0000]
fix-missing-config-quote-20040826

fix missing quote and CPPFLAGS from last commit

19 years agosnprintf-ip-printing-20040826
Rainer Toebbicke [Thu, 26 Aug 2004 18:45:59 +0000]
snprintf-ip-printing-20040826

don't treat ip address as long long, cast to 32 bit...

19 years agoallow-loopback-interfaces-to-be-advertised-20040826
Derrick Brashear [Thu, 26 Aug 2004 06:15:57 +0000]
allow-loopback-interfaces-to-be-advertised-20040826

some software network adapters use instances of lo but are real network adapters. allow them to be advertised. the modified functions are called only in the process of collecting a list to advertise.

at the same time, make sure we mask 127.0.0.1.
i wonder if that's a mistake.

19 years agolinux-5-arg-sock-create-20040825
Sven Menke [Wed, 25 Aug 2004 21:39:21 +0000]
linux-5-arg-sock-create-20040825

update for sock_create 5 arg with a better configure test

19 years agono-interleave-on-solaris-9-20040825
Derrick Brashear [Wed, 25 Aug 2004 08:21:39 +0000]
no-interleave-on-solaris-9-20040825

a patch does away with it and it doesn't look like we need to care

19 years agoversion-update-20040823
Jeffrey Altman [Tue, 24 Aug 2004 08:09:47 +0000]
version-update-20040823

1.3.71

19 years agoexpand-drive-mappings-20040823
Jeffrey Altman [Mon, 23 Aug 2004 20:36:22 +0000]
expand-drive-mappings-20040823

Drive mappings are now per user and stored in the registry.  Allow
them to continue to use environment variables in the paths.

19 years agolibafsauthent-mapfile-update-20040823
Derrick Brashear [Mon, 23 Aug 2004 17:15:36 +0000]
libafsauthent-mapfile-update-20040823

export a few more symbols

19 years agowindows-admin-group-20040823
Jeffrey Altman [Mon, 23 Aug 2004 16:49:45 +0000]
windows-admin-group-20040823

Update text files for 1.3.71 and describe the new Windows Authorization
Group "AFS Client Admins"

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

Add support for "AFS Client Admins" windows authortization group

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

NTMakefile changes for Admin Group

19 years agowix-admin-20040820
Asanka Herath [Fri, 20 Aug 2004 21:11:57 +0000]
wix-admin-20040820

- Support administrative installations ( 'msiexec /a openafs-en_US.msi')

- Register services as interactive

- Move product code into NTMakefile.i386_nt40

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

- Move product code into NTMakefile.i386_nt40

19 years agoafslogon-20040820
Rolandas Naujikas [Fri, 20 Aug 2004 21:07:18 +0000]
afslogon-20040820

Modifications to support local machine profiles redirected to AFS

19 years agokdb-enhancement-20040820
Alf Wachsmann [Fri, 20 Aug 2004 05:05:14 +0000]
kdb-enhancement-20040820

FIXES 6355

- It resolves all IP addresses to names unless the "-numeric"
  parameter is used.
  This is the same behavior as "fs listcells [-numeric]"

- If the "-numeric" parameter is used, IP address will be printed
  in dotted decimal form instead of a 8 digit hex string.

- A new parameter "-long" allows to print all information for all
  entries in the log.
  This is the same info you get for entry XYZ when called with
  "-key XYZ" only you get this for _all_ keys.
  The output is slow if not also called together with "-numeric

19 years agoaix-config-guess-20040819
Steve Roseman [Fri, 20 Aug 2004 04:55:56 +0000]
aix-config-guess-20040819

FIXES 6352

detect aix 5

19 years agofix-indent-bug-with-lock-macros-part-four-20040819
Nickolai Zeldovich [Thu, 19 Aug 2004 22:37:51 +0000]
fix-indent-bug-with-lock-macros-part-four-20040819

Thanks to jaltman for pointing out some files I missed
(basically those in two-level deep directories).

19 years agoaix52-updates-20040819
Horst Birthelmer [Thu, 19 Aug 2004 21:25:22 +0000]
aix52-updates-20040819

make des crypt module be built without optimization.
make aix 5.2 be "supported"
make ukernel work on aix 5

19 years agocallback-deadlock-20040819
Jeffrey Altman [Thu, 19 Aug 2004 20:50:03 +0000]
callback-deadlock-20040819

cm_CallbackNotifyChange(scp); must not be called with scp locked

19 years agonon-ad-afs-profile-20040819
Rolandas Naujikas [Thu, 19 Aug 2004 20:47:56 +0000]
non-ad-afs-profile-20040819

NetUserGetProfilePath function provided by Rolandas Naujikas

19 years agoaix-5-updates-20040819
Hartmut Reuter [Thu, 19 Aug 2004 06:42:20 +0000]
aix-5-updates-20040819

updates to aix 5 code since last patches

19 years agofix-indent-bug-with-lock-macros-part-three-20040818
Nickolai Zeldovich [Thu, 19 Aug 2004 03:19:13 +0000]
fix-indent-bug-with-lock-macros-part-three-20040818

Add trailing semicolons to more macros and re-indent.

19 years agorevert-linux26-selinux-20040621
Derrick Brashear [Thu, 19 Aug 2004 02:37:24 +0000]
revert-linux26-selinux-20040621

well, i'm not sure what the right way to deal is, seeing as this change weas reverted later in the kernel

19 years agofix-too-many-close-parens-20040818
Nickolai Zeldovich [Thu, 19 Aug 2004 02:34:47 +0000]
fix-too-many-close-parens-20040818

Noone seems to be using this code anyway, as it's been non-compilable
for 2 years now.  But indent noticed that we have too many close-parens
in there, so might as well fix it...

19 years agobanish-fstrace-trydcachechildren-entirely-20040818
Derrick Brashear [Thu, 19 Aug 2004 02:16:04 +0000]
banish-fstrace-trydcachechildren-entirely-20040818

we really don't need this...

19 years agobutc-xbsa-cleanup-20040818
Derrick Brashear [Thu, 19 Aug 2004 02:07:10 +0000]
butc-xbsa-cleanup-20040818

make things compile when xbas is defined.

19 years agolinux-kernel-header-tests-20040818
Derrick Brashear [Thu, 19 Aug 2004 01:58:18 +0000]
linux-kernel-header-tests-20040818

check for existance of some headers (in_systm.h, mm_inline.h) to decide on inclusion

19 years agoubik-multihome-byte-order-problem-20040818
Hartmut Reuter [Thu, 19 Aug 2004 01:28:29 +0000]
ubik-multihome-byte-order-problem-20040818

"Playing around with multi-address database servers on little-endian machines
I found out that there is one conversion of the ip-address too much"

19 years agofix-indent-bug-with-lock-macros-part-two-20040818
Nickolai Zeldovich [Thu, 19 Aug 2004 01:22:38 +0000]
fix-indent-bug-with-lock-macros-part-two-20040818

Add trailing semicolons to _LOCK and _UNLOCK macros and re-indent.
This should've been in fix-indent-bug-with-lock-macros-20030729
but somehow it slipped by and I've only found it now.

19 years agoaix-install-cfgafs-20040818
Derrick Brashear [Thu, 19 Aug 2004 01:11:37 +0000]
aix-install-cfgafs-20040818

based on feedback from tdamato@odu.edu

19 years agoaix-make-install-install-everything-20040818
Derrick Brashear [Thu, 19 Aug 2004 01:08:50 +0000]
aix-make-install-install-everything-20040818

install the other stuff when you make install

19 years agoattachserverproc-dont-dequeue-if-not-in-queue-take-two-20040818
Derrick Brashear [Wed, 18 Aug 2004 23:46:37 +0000]
attachserverproc-dont-dequeue-if-not-in-queue-take-two-20040818

nWaiting ended up negative, because the dequeuer (GetCall) decremented.

19 years agotime_t-20040818
Jeffrey Altman [Wed, 18 Aug 2004 18:52:03 +0000]
time_t-20040818

Make sure the response of time() is stored in a time_t

19 years agotime_t-200408018
Jeffrey Altman [Wed, 18 Aug 2004 18:10:17 +0000]
time_t-200408018

time values in the cache manager and smb engine which are passed to
the run time library must be of type time_t and not long or int or
unsigned long or unsigned int or ...

19 years agocellservdb-20040817
Jeffrey Altman [Tue, 17 Aug 2004 21:16:01 +0000]
cellservdb-20040817

update to current gco

19 years agoosilog-messages-20040817
Jeffrey Altman [Tue, 17 Aug 2004 18:15:37 +0000]
osilog-messages-20040817

move the cm_GetCell_gen debug messages to the trace log

19 years agosmb-notify-callback-expire-20040817
Jeffrey Altman [Tue, 17 Aug 2004 16:25:33 +0000]
smb-notify-callback-expire-20040817

When the callback expires on an scache item, if there is an smb client
listening for updates send it is a notification of change.  This will
force the smb client to refresh its listener which will in turn cause
a new callback to be registered.

Also, remove debugging statements from GetServer/PutServer

19 years agopost-1-3-70-windows-changes-20040816
Jeffrey Altman [Tue, 17 Aug 2004 05:21:17 +0000]
post-1-3-70-windows-changes-20040816

  * Fix aklog.exe to not add the AFS ID to the username

  * PTS registration of new users to foreign cells has been added to
     afscreds.exe

  * The cm_Daemon thread is used to perform checks for
    down servers, up servers, volumes, callback expirations,
    lock maintenance and token expiration.  Due to a gaff in
    larger integer division the thread never performed any
    work.  Instead the current time computation would always
    be less then the trigger times.  This had an adverse affect
    on the client's ability to maintain communication with servers,
    keep volumes up to date, and flush user tokens and acls
    when they have expired. This was broken when the 1.3 branch
    was modified to support VC7 which no longer included
    largeint.lib

  * An initialization problem with the Freelance code was
    detected while fixing the callbackRequest.  The cm_rootSCachep
    object is obtained during afsd_InitDaemons() but the callback
    information is incomplete.  The callback information will not
    be obtained until cm_MergeStatus is called from within
    cm_GetCallback.  Unfortunately, cm_SyncOp did not properly
    test for the conditions under which the callback information
    must be obtained.

  * Reports have been filed indicating that callbacks were
    being lost.  An examination of the code indicated that the
    cm_server_t objects were not being properly reference
    counted by the cm_scache_t and cm_callbackRequest_t objects.
    In particular, the cm_server_t objects may have been freed
    from beneath the cm_conn_t objects.

    All of the reference counting is now done via the functions:
        cm_GetServer
        cm_GetServerNoLock
        cm_PutServer
        cm_PutServerNoLock
    this improves the ability to track the referrals.

    Each cm_BeginCallbackGranting Call now allocates a reference
    to the cm_server_t.  The cm_EndCallbackGrantingCall either
    frees the reference or transfers it to the cm_scache_t
    cbServerp field.  These are then appropriately tracked
    through the cm_Analyze call.

  * Ensure that the dnlc hash table is the same size as the
    dir name hash table (as per original author's note).
    Increase the dnlc CM_AFSNCNAMESIZE to a multiple of 8
    for compatibility with 64-bit systems.

  * fix smb_ApplyV3DirListPatches to properly apply the hidden
     attribute to dotfiles when the infoLevel < 0x101 and
     cm_SyncOp has failed.

  * Fix the Freelance registry initialization code.  There
    was a possibility that some systems could end up with
    garbage in the registry during a clean install.

19 years agoinitialize-i-security-20040816
Kris Van Hees [Mon, 16 Aug 2004 22:23:26 +0000]
initialize-i-security-20040816

modern 2.6 kernels with i_security need this such that if the i_security field got garbage-collected out from under us we don't deref a null pointer.

19 years agos390x-20040811
Sven Oehme [Wed, 11 Aug 2004 16:45:35 +0000]
s390x-20040811

zLinux on S390x (64 bit S390)

19 years agonetbsd20-config-20040810
Love Hörnquist-Åstrand [Tue, 10 Aug 2004 21:35:08 +0000]
netbsd20-config-20040810

cleanup config files for NetBSD 2.0

19 years agonetbsd-lwp-no-param-h-20040810
Love Hörnquist-Åstrand [Tue, 10 Aug 2004 20:57:09 +0000]
netbsd-lwp-no-param-h-20040810

fix NetBSD process.o build

19 years ago1-3-70-release-really-20040809
Jeffrey Altman [Tue, 10 Aug 2004 05:07:58 +0000]
1-3-70-release-really-20040809

Restore the installation of afslogon.dll as a winlogon event handler.
Microsoft identified the problem as being a newly added restriction
on the behavior of DllMain entry points.  Network operations such
as bind() may no longer be called.  The ICF blocks them but does not
cause an error to be returned.

19 years agoxp-sp2-fix-plus-20040810
Jeffrey Altman [Tue, 10 Aug 2004 01:16:34 +0000]
xp-sp2-fix-plus-20040810

The XP SP2 problem was caused by attempting to call bind() from
within DllMain which is no longer permitted.  Added a new function
AfsLogonInit() which is called from every entry point to ensure
that the necessary initializaton is performed.

Cleaned up the prior fix to smb3.c to better test the invalid
conditions.

19 years agonull-pointer-20040809
Jeffrey Altman [Mon, 9 Aug 2004 21:51:56 +0000]
null-pointer-20040809

protect against a null pointer reference in smb_ReceiveV3Trans
when its the first packet and the totalData and totalParms are 0

19 years agomsvs8-20040810
Jeffrey Altman [Mon, 9 Aug 2004 10:45:35 +0000]
msvs8-20040810

changes to support building under msvs8.  this will allow us to produce
64-bit binaries.

19 years agosolaris-x86-9-support-20040809
Joakim Fallsjö [Mon, 9 Aug 2004 10:18:51 +0000]
solaris-x86-9-support-20040809

osconf stuff for solaris x86 9.0

19 years agoremove-winlogon-key-20040810 BP-openafs-stable-1_4_x
Jeffrey Altman [Mon, 9 Aug 2004 06:13:38 +0000]
remove-winlogon-key-20040810

Make sure installers remove winlogon event handler key

19 years agotvolser-default-20040809
Derrick Brashear [Mon, 9 Aug 2004 05:35:51 +0000]
tvolser-default-20040809

build and install tvolser on platforms with tviced.

19 years agorelease-1370-20040810
Jeffrey Altman [Mon, 9 Aug 2004 05:20:07 +0000]
release-1370-20040810

Disable the installation of the WinLogon Event Handlers to avoid
problems with XP SP2 Final Release booting and profiles being released
on logoff.

Update version to 1.3.7000

Add VS8 entries to the build system

19 years agoprepare-for-1-3-70-20040809
Derrick Brashear [Mon, 9 Aug 2004 05:13:57 +0000]
prepare-for-1-3-70-20040809

get configure scripts ready for 1.3.70

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

unget configure scripts ready for 1.3.70. not what i meant to do

19 years agoenable-largefile-clients-20040808
Derrick Brashear [Mon, 9 Aug 2004 05:07:33 +0000]
enable-largefile-clients-20040808

the linuxes should all work. it at least builds on openbsd. i can't imagine
freebsd doesn't work, likewise "netbsd 2.0", only question is hpux.

19 years agoirix-largefile-client-20040808
Derrick Brashear [Mon, 9 Aug 2004 04:30:18 +0000]
irix-largefile-client-20040808

enable largefile support in the client

19 years agoirix-osi-cred-decl-20040808
Derrick Brashear [Mon, 9 Aug 2004 04:25:45 +0000]
irix-osi-cred-decl-20040808

add cred declaration for irix back

19 years agodux50-largefile-client-20040808
Derrick Brashear [Mon, 9 Aug 2004 02:23:32 +0000]
dux50-largefile-client-20040808

good here also

19 years agodux-rxk-init-is-void-20040808
Derrick Brashear [Mon, 9 Aug 2004 01:58:50 +0000]
dux-rxk-init-is-void-20040808

rxk_init is a void function

19 years agodux-min-direct-20040808
Derrick Brashear [Mon, 9 Aug 2004 01:54:05 +0000]
dux-min-direct-20040808

someone removed d_fileno from the generic case, put it back there.
(maybe it was me, who knows...)

19 years agodux-kernel-cleanup-20040808
Derrick Brashear [Mon, 9 Aug 2004 01:24:57 +0000]
dux-kernel-cleanup-20040808

more "cleanup cleanup"

19 years agodux-gcpags-20040808
Derrick Brashear [Mon, 9 Aug 2004 01:17:33 +0000]
dux-gcpags-20040808

pidtab and npids need to be pulled in so this works

19 years agodux-vol-cleanup-20040808
Derrick Brashear [Mon, 9 Aug 2004 00:59:51 +0000]
dux-vol-cleanup-20040808

make partition code work again on dux

19 years agoubik-reorder-functions-20040808
Derrick Brashear [Mon, 9 Aug 2004 00:57:23 +0000]
ubik-reorder-functions-20040808

avoid need for prototypes by reordering

19 years agodux-lwp-makefile-fix-20040808
Derrick Brashear [Mon, 9 Aug 2004 00:49:52 +0000]
dux-lwp-makefile-fix-20040808

tru64 hates indented comments inmakefiles

19 years agomacos-largefile-client-20040808
Derrick Brashear [Mon, 9 Aug 2004 00:12:55 +0000]
macos-largefile-client-20040808

libcc_kext is needed for ashldi3, ashrdi3, so that long long operations
don't result in undefined symbols

19 years agorxgk-import-20040808
Love Hörnquist-Åstrand [Sun, 8 Aug 2004 20:21:33 +0000]
rxgk-import-20040808

not actually hooked in yet, but getting it in so we can work with it.

19 years agomacos-10-autoconf-update-20040808
Derrick Brashear [Sun, 8 Aug 2004 20:07:09 +0000]
macos-10-autoconf-update-20040808

10.3.4 and 10.3.5 work

19 years agosolaris-largefile-client-20040808
Derrick Brashear [Sun, 8 Aug 2004 19:14:08 +0000]
solaris-largefile-client-20040808

enable largefile client for sparc and x86 solaris 8 and on.

19 years agodebug-messages-20040808
Jeffrey Altman [Sun, 8 Aug 2004 17:55:28 +0000]
debug-messages-20040808

make sure that all messages logged to the Event Log are also in the
trace log

19 years agowinnotes-20040807
Jeffrey Altman [Sat, 7 Aug 2004 22:32:46 +0000]
winnotes-20040807

document new freelance functionality and update install notes

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

19 years agohidden-dot-files-20040807
Asanka Herath [Sat, 7 Aug 2004 17:56:26 +0000]
hidden-dot-files-20040807

Hide dot files even when we can't stat the file.

19 years agounused-vars-20040807
Jeffrey Altman [Sat, 7 Aug 2004 15:14:17 +0000]
unused-vars-20040807

remove unused variables

19 years agofree-serverref-list-20040807
Jeffrey Altman [Sat, 7 Aug 2004 15:12:11 +0000]
free-serverref-list-20040807

Freeing the cm_serverRef_t has proved to be a challenge to get it right.
We now pass a pointer to a pointer to the first object in the list to
the function.  We must be very careful to not destroy the list as we walk
the contents of the list with the extra level of indirection.   On the
other hand, when we are freeing members of the list which have reached
a refCount of zero, we must be sure to maintain the fiction of the extra
level of indirection.

19 years agoignore-me-20040812
Jeffrey Altman [Sat, 7 Aug 2004 14:45:59 +0000]
ignore-me-20040812

ignore this commit

19 years agofreelance-misc-20040807
Jeffrey Altman [Sat, 7 Aug 2004 06:44:05 +0000]
freelance-misc-20040807

Added a change monitor to the HKLM\SOFTWARE\OpenAFS\Client\Freelance
key.  When a change occurs mark the root.afs data as invalid and
for it to be reloaded on the next access.  This allows administrators
to modify the mount point list without restarting the service.

The freelance client used to provide a fake modification time for
the root.afs volume data and its mount points of 7/09/2001 14:24 EDT.
Added code to extract the last modification time of the Freelance
registry key and use that instead.  The time now represents the
most recent mount point change.

smb3.c: Fake the timestamp if we can't stat the file.  A zero FILETIME
value causes problems.

19 years agonetbsd-20-update-20040806
Tracy Di Marco White [Fri, 6 Aug 2004 22:48:28 +0000]
netbsd-20-update-20040806

make it compile with current netbsd

19 years agonetbsd-has-long-long-20040806
Derrick Brashear [Fri, 6 Aug 2004 21:13:44 +0000]
netbsd-has-long-long-20040806

feedback from gendalia@iastate.edu

19 years agontlang-20040805
Jeffrey Altman [Thu, 5 Aug 2004 17:51:41 +0000]
ntlang-20040805

No longer warn about executing language registry file.

19 years agontbuild-lang-20040805
Jeffrey Altman [Thu, 5 Aug 2004 17:50:04 +0000]
ntbuild-lang-20040805

No longer warn about executing a language registry file since the file
no longer exists and is not used with the new installers

19 years agowinnotes-20040805
Jeffrey Altman [Thu, 5 Aug 2004 17:47:28 +0000]
winnotes-20040805

Updates winnotes with current info

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

summary of changes performed this week for 1.3.70

19 years agompr-lib-required-20040805
Jeffrey Altman [Thu, 5 Aug 2004 17:31:34 +0000]
mpr-lib-required-20040805

All executables which include the pioctl functions now require mpr.lib
to be linked

19 years agowinxp-sp2-pioctl-20040805
Jeffrey Altman [Thu, 5 Aug 2004 17:28:10 +0000]
winxp-sp2-pioctl-20040805

On Windows XP SP2, when a Kerberos principal is used for login and the
KDC is not reachable, Windows will return a DOWNGRADE_DETECTED error
when attempting to open the ioctl file.  This is because NTLM will not
be permitted when there is the potential of an attack.  There is a hack
to get around this.  Manually create a CIFS connection to the AFS client
service while specifying the current user's name.  This will use the cached
password and allow the downgrade to NTLM.

19 years agonsis-20040805
Jeffrey Altman [Thu, 5 Aug 2004 17:24:27 +0000]
nsis-20040805

Correct missing debug conditional

19 years agoreadme-nt-20040805
Jeffrey Altman [Thu, 5 Aug 2004 17:23:25 +0000]
readme-nt-20040805

Update readme with latest WiX installer info

19 years agofindclient-print-stolen-clients-20040805
Derrick Brashear [Thu, 5 Aug 2004 15:48:09 +0000]
findclient-print-stolen-clients-20040805

when a client is "stolen" due to a race, print it.

19 years agoloopback-install-20040804
Asanka Herath [Thu, 5 Aug 2004 04:09:26 +0000]
loopback-install-20040804

If the backup hosts file can't be deleted, try changing attribtues
first, and failing that try to come up with a unique name for the
backup instead of failing.

19 years agopartly-revert-rx-cleanup-20040804
Derrick Brashear [Wed, 4 Aug 2004 20:41:53 +0000]
partly-revert-rx-cleanup-20040804

if there's a callback connection to a multihomed client, you need this
or you end up with multiple connections, one per IP, being made from
the single connection

19 years agoticket-6077-20040804
Jeffrey Altman [Wed, 4 Aug 2004 20:30:03 +0000]
ticket-6077-20040804

FIXES 6077

Patch from Joe Buehler modified by Asanka

19 years agomisc-post-1366-20040804
Asanka Herath [Wed, 4 Aug 2004 17:36:10 +0000]
misc-post-1366-20040804

Update documentation on cache control and credential manager options
in MSI deployment guide.

'CachePath' setting in registry allows REG_EXPAND_SZ type.

Update registry documentation for 'CachePath' setting.

Both installers save the credential manager command line options in
registry.

Fix handling of existing 'afsdcell.ini' file in WiX installer.

WiX 2.0.1927 changed the XML schema.  The WiX installer has beed
updated accordingly.

19 years agoshortcut-params-20040804
Jeffrey Altman [Wed, 4 Aug 2004 16:54:42 +0000]
shortcut-params-20040804

Fix the retrieval of the shortcut params from the registry when the
HKCU\Software\Openafs\Client key exists but the AfscredsShortcutParams
is missing.

19 years agoserver-list-refcount-20040804
Jeffrey Altman [Wed, 4 Aug 2004 16:52:56 +0000]
server-list-refcount-20040804

cm_GetVolServers must return a pointer to the pointer to the server list
so the volume can be updated when the list is freed

19 years agofreelance-deadlock-20070803
Jeffrey Altman [Tue, 3 Aug 2004 21:10:36 +0000]
freelance-deadlock-20070803

oops

19 years agofreelance-deadlock-20040803
Jeffrey Altman [Tue, 3 Aug 2004 20:40:31 +0000]
freelance-deadlock-20040803

Avoid deadlock in Freelance mount point re-initialization

19 years agowindows-misc-20040803
Jeffrey Altman [Tue, 3 Aug 2004 18:27:52 +0000]
windows-misc-20040803

Increase max chunksize to 128K from 32K.  Windows uses 64K SMB writes.
The large chunksize helps reduce the overlapped write to afs issue.

Increase number of server threads from 4 to 25.  Also helps to aleviate
the symptoms of the overlapped write to afs issue.  I can now write files
as large as 80MB.  120MB files still fail.

Export pr_CreateUser and pr_SNameToId from afsauthent.lib in order to
allow aklog.exe to use them to determine if a new pts uid should be
created for a user when accessing a foreign cell.

Modify pioctl to output a message to stderr if a Downgrade Detection error
has been returned when attempting to open the __IOCTL__ file.

Increase version number to 1.3.6601

Use HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer:Logon User Name
to determine the current user name for the afscreds.exe display

Do not allow submount names to have forward or backward slashes

Add debug info to cm_ioctl to track token addition and deletion

Add register new user code to aklog.exe from KenH's AFS kit

Correct test in cm_callback.c for freelance root.afs volume which
should not have been applied when freelance was not active.

19 years agofix-lwp-includes-again-20040803
Jim Rees [Tue, 3 Aug 2004 15:45:49 +0000]
fix-lwp-includes-again-20040803

Fix lwp includes AGAIN.

19 years agosubmount-20040731
Jeffrey Altman [Sun, 1 Aug 2004 01:20:34 +0000]
submount-20040731

Change "Description" field to "Submount"

19 years agoosi-save-strings-20040731
Jeffrey Altman [Sun, 1 Aug 2004 01:19:08 +0000]
osi-save-strings-20040731

Increase the save string length to 128 from 30 in order to be able to
handle principal names, paths, etc.

19 years agomisc-windows-20040731
Jeffrey Altman [Sun, 1 Aug 2004 01:16:37 +0000]
misc-windows-20040731

Move most log entries to the osi trace log from the afsd_init.log

Add log entries to help diagnose the lost callback problem

Fix a variety of type errors in header files and casts

More fixes for cm_Analyze.  Do not allow a retry to be performed
if the timeLeft on the call has expired.  Forcing a retry resets the
timeout period causing the call to never expire.  The side effect is
that the SMB sessions never close.  When the Windows SMB client times
out it will create a new session at a rate of one per 66 seconds.  This
causes the SMB session limit to be exceeded and we panic.

Modify the SMB Session limit to be four less then the number of SMB
NCBs.  This is because the server itself uses 4 NCBs which are not associated
with sessions.

19 years agoserver-list-and-volume-updates-20040730
Jeffrey Altman [Fri, 30 Jul 2004 21:02:57 +0000]
server-list-and-volume-updates-20040730

As discovered previously, the cm_serverRef_t objects were not reference
counted.  This resulted in the objects being freed while they were
still in use.  This patch adds reference counting to the cm_serverRef_t
objects which are locked using the cm_serverLock.

Once the reference counting was fixed it became immediately obvious
that cm_VolumeUpdates could not succeed in altering the state of a
server list from ALLOFFLINE to NOTBUSY. cm_VolumeUpdate calls cm_Analyze
without a fid_t object which was required to obtain the server list for
the affected volume.  Of course, cm_VolumeUpdate has a pointer to the
volume so cm_Analyze was updated to take an optional pointer to a
cm_serverRef_t which avoids the need for the fid_t object.

19 years agoget-server-list-20040729
Jeffrey Altman [Fri, 30 Jul 2004 05:04:27 +0000]
get-server-list-20040729

Undo the previous patch.  the server list can't be cloned.
instead we will have to refCount the cm_serverRef_t objects.
This is going to be a lot of work.  To be continued ...