]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
21 years agoSTABLE14-pioctl-debug-20041003
Jeffrey Altman [Sun, 3 Oct 2004 15:07:34 +0000 (15:07 +0000)]
STABLE14-pioctl-debug-20041003

Add a new registry value HKLM/SOFTWARE/OpenAFS/Client "IoctlDebug" DWORD
which when set to a non-zero value will output error messages to stderr.
This is to assist in debugging ioctl failures when fs.exe, tokens.exe,
etc. fail because of an inability to open the ioctl file name.

(cherry picked from commit e845efc4428fa5764eb5e450b7f5ec8a805eb4f7)

21 years agoSTABLE14-windows-symlink-access-20041003
Jeffrey Altman [Sun, 3 Oct 2004 14:52:12 +0000 (14:52 +0000)]
STABLE14-windows-symlink-access-20041003

FIXES 15250

One more fix for the symlink problem.  Access control checks cannot be
performed until after we have walked all of the symlinks.  Otherwise,
we are checking access to the symlink itself and not to the file.

(cherry picked from commit fdaf6f793398fb7dd61bdb7030447918dbe30b38)

21 years agoSTABLE14-win-power-mgmt-flush-test-20041003
Jeffrey Altman [Sun, 3 Oct 2004 14:35:15 +0000 (14:35 +0000)]
STABLE14-win-power-mgmt-flush-test-20041003

The windows power management code responds to a request to suspend or
hibernate by performing a "fs flushvol" as the logged in user on each
of the SMB/CIFS mounted shares.  This can be very time consuming if
the cell servers cannot be reached.

This patch adds a test to ensure that there is at least one network
adapter in the machine which is not a loopback adapter.

While developing this patch other areas of concern have been raised.
The power management code waits a fixed period of time based upon
the hard dead timeout before allowing the suspend/hibernate to continue.
This allows the machine to shutdown even if there are active flush
operations being performed.  This defeats the benefit of performing
the flush at all.

A better mechanism could be developed if the functions called via
cm_IoctlFlushVolume returned and checked error codes.  Then it might
be possible to abandon the flush operation if a Server Not Reachable
state was obtained.

The power management flush operations will also not work on Terminal
Server.  This would be important in the case where a terminal server
is shutting down due to a switch over to a UPS.  The reason it does
not work on Terminal Server is that there is that it is not possible
for afsd_service.exe to enumerate the SMB/CIFS shares and impersonate
the individual logged in users.

It would be preferred for there to be a new cm_FlushAll() function
implemented which was not dependent on the use of the ioctl mechanism
for the purpose of identifying a volume ID or a user ID.

(cherry picked from commit 2469663d0d4b2df8100ec8e09954163ddf1aa042)

21 years agoSTABLE14-kfw-hklm-registry-fix-20040922
Jeffrey Altman [Wed, 22 Sep 2004 16:07:40 +0000 (16:07 +0000)]
STABLE14-kfw-hklm-registry-fix-20040922

Fix the registry query in afskfw.lib to read the HKLM machine value
even if the HKCU key is present.

Update text in the install notes to better describe the krb524
issues

(cherry picked from commit d69e6641e5fc423b41fcfc9345a6f917ec958f37)

21 years agoSTABLE14-windows-force-krb524-20030921
Jeffrey Altman [Wed, 22 Sep 2004 07:03:19 +0000 (07:03 +0000)]
STABLE14-windows-force-krb524-20030921

Provide mechanisms to force the use of krb524 via afscreds, afslogon,
and aklog.  afslogon and afscreds rely on a new "Use524" registry value
(see registry.txt) and aklog has a new "-m" command line option.

(cherry picked from commit b40090233989aad1b96fdd9fd9d8d0478c2abd6e)

21 years agoSTABLE14-cifs-pattern-match-20040921
Jeffrey Altman [Tue, 21 Sep 2004 21:07:58 +0000 (21:07 +0000)]
STABLE14-cifs-pattern-match-20040921

FIXES 15365

The pattern matching algorithm was failing to match strings when the
pattern terminated in a '*'.  The logic was also too complex because
it failed to simply the patterns prior to processing.  Any combination
of '*' and '?' == '*' according to the Windows file name pattern
matching rules.

(cherry picked from commit a135e0d30c077e19c3f10f7a6ccc46fa3fb6c234)

21 years agoSTABLE14-windows-links-20040921
Jeffrey Altman [Tue, 21 Sep 2004 15:07:12 +0000 (15:07 +0000)]
STABLE14-windows-links-20040921

FIXES 915
FIXES 15250

  * smb_ReceiveCoreRename() was factored to produce smb_Rename()
    which is used by both the original function and the new
    smb_ReceiveNTRename().  smb_ReceiveNTRename() supports the
    creation of HardLinks in addition to Renaming.  smb_Link()
    is a new function which creates HardLinks via cm_Link().
    cm_Link() is a new vnodeops function which creates links
    using RXAFS_Link().

    smb_ReceiveNTRename() does not support the File Copy and
    Move Cluster Information operations described in its interface.
    ReceiveNTRename is under documented in CIFS-TR-1p00_FINAL.pdf.

  * When opening files via symlinks, we should follow the symlinks
    until we reach the actual file stat cache entry.  The stat cache
    entry of the file should then be stored in the FID instead of
    stat scache entry of the symlink.

  * return bad operation errors for all unimplemented functions
    even if we do not know the functions exist.

  * Log bad packets and unknown operation packets to the trace log

  * Map CM_ERROR_BADOP to STATUS_NOT_SUPPORTED instead of
    0xC09820FF

  * Update list of known CIFS operations to include all those listed
    in CIFS-TR-1p00_FINAL.pdf.

(cherry picked from commit e07406e551cc5c67e83c9985dbbfe5952ada6518)

21 years agoSTABLE14-nsis-1400-compiler-20040908
Jeffrey Altman [Thu, 9 Sep 2004 21:19:51 +0000 (21:19 +0000)]
STABLE14-nsis-1400-compiler-20040908

Add support for MS VS 2005

(cherry picked from commit 8c887b207210e0b7b01d2c8621149e8a92d0224c)

21 years agoSTABLE14-windows-misc-20040907
Jeffrey Altman [Wed, 8 Sep 2004 06:59:01 +0000 (06:59 +0000)]
STABLE14-windows-misc-20040907

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 string support to Submounts

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

Correct a 64-bit time_t error

(cherry picked from commit f31658317a77346759f165ff13b5dcf77a8b3683)

21 years agoSTABLE14-placate-netbsd-cc-20040826
Nickolai Zeldovich [Sun, 29 Aug 2004 02:18:56 +0000 (02:18 +0000)]
STABLE14-placate-netbsd-cc-20040826

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

(cherry picked from commit 4d906fec23916230936763ef36d6bc7a79c8eebf)

21 years agoSTABLE14-linux-5-arg-sock-create-20040825
Sven Menke [Wed, 25 Aug 2004 21:40:13 +0000 (21:40 +0000)]
STABLE14-linux-5-arg-sock-create-20040825

update for sock_create 5 arg with a better configure test

(cherry picked from commit cb1b41b159b98881f66319d7f65d941ba9fab911)

21 years agoSTABLE14-revert-linux26-selinux-20040621 openafs-devel-1_3_71
Derrick Brashear [Wed, 25 Aug 2004 08:41:00 +0000 (08:41 +0000)]
STABLE14-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

(cherry picked from commit 1d6cf7729ca06c95eb4dd8b2f72d61bda6010304)

21 years agoSTABLE14-netbsd20-config-20040810
Love Hörnquist-Åstrand [Wed, 25 Aug 2004 08:39:30 +0000 (08:39 +0000)]
STABLE14-netbsd20-config-20040810

cleanup config files for NetBSD 2.0

(cherry picked from commit cf8a163c20179d76075653af243305446604bc92)

21 years agoSTABLE14-no-interleave-on-solaris-9-20040825
Derrick Brashear [Wed, 25 Aug 2004 08:22:22 +0000 (08:22 +0000)]
STABLE14-no-interleave-on-solaris-9-20040825

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

(cherry picked from commit 5e1c6d613544574e61aedbf456fbd6f36c04383f)

21 years agoSTABLE14-get-ready-for-71-20040825
Derrick Brashear [Wed, 25 Aug 2004 08:20:25 +0000 (08:20 +0000)]
STABLE14-get-ready-for-71-20040825

work around aix problem
update configure scripts

21 years agoSTABLE14-kdb-enhancement-20040820
Alf Wachsmann [Wed, 25 Aug 2004 08:18:06 +0000 (08:18 +0000)]
STABLE14-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

(cherry picked from commit e82bc5223192fc2a7270aec53aed951ba4a24cae)

21 years agoSTABLE14-aix-config-guess-20040819
Steve Roseman [Wed, 25 Aug 2004 08:17:32 +0000 (08:17 +0000)]
STABLE14-aix-config-guess-20040819

FIXES 6352

detect aix 5

(cherry picked from commit 59cc46ef7e41d21288034df0a850b1c2ca7b4e5c)

21 years agoSTABLE14-fix-indent-bug-with-lock-macros-part-four-20040819
Nickolai Zeldovich [Wed, 25 Aug 2004 08:17:01 +0000 (08:17 +0000)]
STABLE14-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).

(cherry picked from commit b0f773c41c68fd7833a669693d30b27a12f3ba8e)

21 years agoSTABLE14-aix-5-updates-20040819
Hartmut Reuter [Wed, 25 Aug 2004 08:16:11 +0000 (08:16 +0000)]
STABLE14-aix-5-updates-20040819

updates to aix 5 code since last patches

(cherry picked from commit 481b170d88e1821bd4d498e3c75e514facbff0a5)

21 years agoSTABLE14-aix52-updates-20040819
Horst Birthelmer [Wed, 25 Aug 2004 08:15:34 +0000 (08:15 +0000)]
STABLE14-aix52-updates-20040819

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

(cherry picked from commit c18d67d9a0d653b6557824d3583c827f076e29d3)

21 years agoSTABLE14-fix-indent-bug-with-lock-macros-part-two-20040818
Nickolai Zeldovich [Wed, 25 Aug 2004 08:14:19 +0000 (08:14 +0000)]
STABLE14-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.

(cherry picked from commit 788ca86bdc139ee42aeecceb4b453c87bfd2426f)

21 years agoSTABLE14-aix-make-install-install-everything-20040818
Derrick Brashear [Wed, 25 Aug 2004 08:13:48 +0000 (08:13 +0000)]
STABLE14-aix-make-install-install-everything-20040818

install the other stuff when you make install

(cherry picked from commit 0ed8f55d597a247980412f004852446d8f138324)

21 years agoSTABLE14-attachserverproc-dont-dequeue-if-not-in-queue-take-two-20040818
Derrick Brashear [Wed, 25 Aug 2004 08:13:09 +0000 (08:13 +0000)]
STABLE14-attachserverproc-dont-dequeue-if-not-in-queue-take-two-20040818

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

(cherry picked from commit 399785acf166dac15123889c28974ff06d6d2de0)

21 years agoSTABLE14-butc-xbsa-cleanup-20040818
Derrick Brashear [Wed, 25 Aug 2004 08:12:37 +0000 (08:12 +0000)]
STABLE14-butc-xbsa-cleanup-20040818

make things compile when xbas is defined.

(cherry picked from commit 4d44764c157b1310de81e010975ae5867028fa5b)

21 years agoSTABLE14-banish-fstrace-trydcachechildren-entirely-20040818
Derrick Brashear [Wed, 25 Aug 2004 08:12:10 +0000 (08:12 +0000)]
STABLE14-banish-fstrace-trydcachechildren-entirely-20040818

we really don't need this...

(cherry picked from commit 5ca50c575abed691bf2e726f84f35241fcef8242)

21 years agoSTABLE14-aix-install-cfgafs-20040818
Derrick Brashear [Wed, 25 Aug 2004 08:11:34 +0000 (08:11 +0000)]
STABLE14-aix-install-cfgafs-20040818

based on feedback from tdamato@odu.edu

(cherry picked from commit 9a39ae21fea305029f1bcdc6a864170ff6503793)

21 years agoSTABLE14-ubik-multihome-byte-order-problem-20040818
Hartmut Reuter [Wed, 25 Aug 2004 08:11:03 +0000 (08:11 +0000)]
STABLE14-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"

(cherry picked from commit 6f1cd5a43e1240ecc7a964b8236e25e1d0e46fca)

21 years agoSTABLE14-linux-kernel-header-tests-20040818
Derrick Brashear [Wed, 25 Aug 2004 08:10:36 +0000 (08:10 +0000)]
STABLE14-linux-kernel-header-tests-20040818

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

(cherry picked from commit fc441042fcfe619cc8fac528886782caed12ab48)

21 years agoSTABLE14-fix-indent-bug-with-lock-macros-part-three-20040818
Nickolai Zeldovich [Wed, 25 Aug 2004 08:09:32 +0000 (08:09 +0000)]
STABLE14-fix-indent-bug-with-lock-macros-part-three-20040818

Add trailing semicolons to more macros and re-indent.

(cherry picked from commit 06478aeaae1e7812230f31c63e9cae8b7cc1b643)

21 years agoSTABLE14-fix-too-many-close-parens-20040818
Nickolai Zeldovich [Wed, 25 Aug 2004 08:07:53 +0000 (08:07 +0000)]
STABLE14-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...

(cherry picked from commit 3fa71885aecae85a3ddadc04dd1fcbfaa2a7e8b0)

21 years agoSTABLE14-initialize-i-security-20040816
Kris Van Hees [Wed, 25 Aug 2004 08:04:05 +0000 (08:04 +0000)]
STABLE14-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.

(cherry picked from commit e6c7148abed9f88d6dd83ce8dba77a434cce231a)

21 years agoSTABLE14-s390x-20040811
Sven Oehme [Wed, 25 Aug 2004 08:03:32 +0000 (08:03 +0000)]
STABLE14-s390x-20040811

zLinux on S390x (64 bit S390)

(cherry picked from commit 8651d7a69315735db866e7bf6a9539e10a6b1f9f)

21 years agoSTABLE14-netbsd-lwp-no-param-h-20040810
Love Hörnquist-Åstrand [Wed, 25 Aug 2004 08:00:41 +0000 (08:00 +0000)]
STABLE14-netbsd-lwp-no-param-h-20040810

fix NetBSD process.o build

(cherry picked from commit 46b847e3678f01b5f1bd2ef4db54cb66a55d057e)

21 years agoSTABLE14-libafsauthent-mapfile-update-20040823
Derrick Brashear [Wed, 25 Aug 2004 07:59:31 +0000 (07:59 +0000)]
STABLE14-libafsauthent-mapfile-update-20040823

export a few more symbols

(cherry picked from commit f1ff3887a269a541eb42b13c7e743ad0394e0bef)

21 years agoSTABLE14-version-update-20040823
Jeffrey Altman [Tue, 24 Aug 2004 08:10:19 +0000 (08:10 +0000)]
STABLE14-version-update-20040823

1.3.71

(cherry picked from commit 854d15634a149777070a08ebe8ce59029e88f2e2)

21 years agoSTABLE14-expand-drive-mappings-20040823
Jeffrey Altman [Mon, 23 Aug 2004 20:38:36 +0000 (20:38 +0000)]
STABLE14-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.

(cherry picked from commit bca5ba20e678ffc7b5dbbd3d9e2760b16b1ff1a9)

21 years agoSTABLE14-windows-admin-group-20040823
Jeffrey Altman [Mon, 23 Aug 2004 16:55:02 +0000 (16:55 +0000)]
STABLE14-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

(cherry picked from commit 40d2f5f7c02e28cf471d284e5be9fb97c91d145a)

21 years agoSTABLE14-afslogon-20040820
Rolandas Naujikas [Fri, 20 Aug 2004 21:17:00 +0000 (21:17 +0000)]
STABLE14-afslogon-20040820

Modifications to support local machine profiles redirected to AFS

(cherry picked from commit 97031c31689312a783630e1c270372a063949e46)

21 years agoSTABLE14-wix-admin-20040820
Asanka Herath [Fri, 20 Aug 2004 21:15:19 +0000 (21:15 +0000)]
STABLE14-wix-admin-20040820

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

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

- Register services as interactive

- Move product code into NTMakefile.i386_nt40

(cherry picked from commit 65884b7d946f045f0f3c6ee15f0d808181e6e756)

21 years agoSTABLE14-callback-deadlock-20040819
Jeffrey Altman [Thu, 19 Aug 2004 20:51:23 +0000 (20:51 +0000)]
STABLE14-callback-deadlock-20040819

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

(cherry picked from commit 7c01e673176e9de75620a9765aacc25324ce36a4)

21 years agoSTABLE14-non-ad-afs-profile-20040819
Rolandas Naujikas [Thu, 19 Aug 2004 20:50:58 +0000 (20:50 +0000)]
STABLE14-non-ad-afs-profile-20040819

NetUserGetProfilePath function provided by Rolandas Naujikas

(cherry picked from commit f2b18e7af85093f88b8afb8d7a344fd15fc90164)

21 years agoSTABLE14-time_t-20040818
Jeffrey Altman [Wed, 18 Aug 2004 18:52:30 +0000 (18:52 +0000)]
STABLE14-time_t-20040818

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

(cherry picked from commit 3de51188f75dd1503c300d87cc00c30b0ba4a0b0)

21 years agoSTABLE14-time_t-200408018
Jeffrey Altman [Wed, 18 Aug 2004 18:11:22 +0000 (18:11 +0000)]
STABLE14-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 ...

(cherry picked from commit f21740a0acc44ae5493bbe1f53b94acc14af0ac8)

21 years agoSTABLE14-cellservdb-20040817
Jeffrey Altman [Tue, 17 Aug 2004 21:17:16 +0000 (21:17 +0000)]
STABLE14-cellservdb-20040817

update to current gco

(cherry picked from commit ddaba14e372c96f572b0762f1f0de824aac06d5a)

21 years agoSTABLE14-osilog-messages-20040817
Jeffrey Altman [Tue, 17 Aug 2004 18:16:02 +0000 (18:16 +0000)]
STABLE14-osilog-messages-20040817

move the cm_GetCell_gen debug messages to the trace log

(cherry picked from commit 202a27f07329527f2a488d8d949b572879846aab)

21 years agoSTABLE14-smb-notify-callback-expire-20040817
Jeffrey Altman [Tue, 17 Aug 2004 16:26:04 +0000 (16:26 +0000)]
STABLE14-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

(cherry picked from commit 1ae8a71dfa8a5efea7d31ad985746b026b444f48)

21 years agoSTABLE14-post-1-3-70-windows-changes-20040816
Jeffrey Altman [Tue, 17 Aug 2004 05:28:34 +0000 (05:28 +0000)]
STABLE14-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.

(cherry picked from commit 3dce18d2481ee07ac27af8bd691d640247526a5d)

21 years agoSTABLE14-1-3-70-release-really-20040809 openafs-devel-1_3_70
Jeffrey Altman [Tue, 10 Aug 2004 05:10:44 +0000 (05:10 +0000)]
STABLE14-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.

(cherry picked from commit 2e8a3050d39ead364cad038647f0049b5c03b119)

21 years agoSTABLE14-xp-sp2-fix-plus-20040810
Jeffrey Altman [Tue, 10 Aug 2004 04:46:24 +0000 (04:46 +0000)]
STABLE14-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.

(cherry picked from commit 7a2fea24df9600e5f2f0f46a2a28864b25b34601)

21 years agoSTABLE14-msvs8-20040810
Jeffrey Altman [Mon, 9 Aug 2004 21:57:08 +0000 (21:57 +0000)]
STABLE14-msvs8-20040810

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

(cherry picked from commit 4394e421bb9baadde8a26daaf58f3e15ace30349)

21 years agoSTABLE14-null-pointer-20040809
Jeffrey Altman [Mon, 9 Aug 2004 21:55:05 +0000 (21:55 +0000)]
STABLE14-null-pointer-20040809

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

(cherry picked from commit 3fd571cb1014f61101e0b82fc9944f9d5285cea1)

21 years agoSTABLE14-solaris-x86-9-support-20040809
Joakim Fallsjö [Mon, 9 Aug 2004 10:19:26 +0000 (10:19 +0000)]
STABLE14-solaris-x86-9-support-20040809

osconf stuff for solaris x86 9.0

(cherry picked from commit 7bc57bc068238b9f8c672b502c8f7ddef7ab01a9)

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

Make sure installers remove winlogon event handler key

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

build and install tvolser on platforms with tviced.

21 years agorelease-1370-20040810
Jeffrey Altman [Mon, 9 Aug 2004 05:20:07 +0000 (05:20 +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

21 years agoprepare-for-1-3-70-20040809
Derrick Brashear [Mon, 9 Aug 2004 05:13:57 +0000 (05:13 +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

21 years agoenable-largefile-clients-20040808
Derrick Brashear [Mon, 9 Aug 2004 05:07:33 +0000 (05:07 +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.

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

enable largefile support in the client

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

add cred declaration for irix back

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

good here also

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

rxk_init is a void function

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

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

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

more "cleanup cleanup"

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

pidtab and npids need to be pulled in so this works

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

make partition code work again on dux

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

avoid need for prototypes by reordering

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

tru64 hates indented comments inmakefiles

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

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

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

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

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

10.3.4 and 10.3.5 work

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

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

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

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

21 years agowinnotes-20040807
Jeffrey Altman [Sat, 7 Aug 2004 22:32:46 +0000 (22:32 +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

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

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

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

remove unused variables

21 years agofree-serverref-list-20040807
Jeffrey Altman [Sat, 7 Aug 2004 15:12:11 +0000 (15:12 +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.

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

ignore this commit

21 years agofreelance-misc-20040807
Jeffrey Altman [Sat, 7 Aug 2004 06:44:05 +0000 (06:44 +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.

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

make it compile with current netbsd

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

feedback from gendalia@iastate.edu

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

No longer warn about executing language registry file.

21 years agontbuild-lang-20040805
Jeffrey Altman [Thu, 5 Aug 2004 17:50:04 +0000 (17:50 +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

21 years agowinnotes-20040805
Jeffrey Altman [Thu, 5 Aug 2004 17:47:28 +0000 (17:47 +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

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

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

21 years agowinxp-sp2-pioctl-20040805
Jeffrey Altman [Thu, 5 Aug 2004 17:28:10 +0000 (17:28 +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.

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

Correct missing debug conditional

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

Update readme with latest WiX installer info

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

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

21 years agoloopback-install-20040804
Asanka Herath [Thu, 5 Aug 2004 04:09:26 +0000 (04:09 +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.

21 years agopartly-revert-rx-cleanup-20040804
Derrick Brashear [Wed, 4 Aug 2004 20:41:53 +0000 (20:41 +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

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

FIXES 6077

Patch from Joe Buehler modified by Asanka

21 years agomisc-post-1366-20040804
Asanka Herath [Wed, 4 Aug 2004 17:36:10 +0000 (17:36 +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.

21 years agoshortcut-params-20040804
Jeffrey Altman [Wed, 4 Aug 2004 16:54:42 +0000 (16:54 +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.

21 years agoserver-list-refcount-20040804
Jeffrey Altman [Wed, 4 Aug 2004 16:52:56 +0000 (16:52 +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

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

oops

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

Avoid deadlock in Freelance mount point re-initialization

21 years agowindows-misc-20040803
Jeffrey Altman [Tue, 3 Aug 2004 18:27:52 +0000 (18:27 +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.

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

Fix lwp includes AGAIN.

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

Change "Description" field to "Submount"

21 years agoosi-save-strings-20040731
Jeffrey Altman [Sun, 1 Aug 2004 01:19:08 +0000 (01:19 +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.