openafs.git
19 years agoosi-timeval-can-be-timeval-20041011
Sam Hartman [Mon, 11 Oct 2004 19:19:35 +0000]
osi-timeval-can-be-timeval-20041011

FIXES 15580

since the timeval is used only internally, let's just use struct timeval

19 years agoppc64-26-support-20041011
Sam Hartman [Mon, 11 Oct 2004 17:21:28 +0000]
ppc64-26-support-20041011

FIXES 15581

19 years agolibafsrpc-cleanup-20041011
Derrick Brashear [Mon, 11 Oct 2004 17:01:58 +0000]
libafsrpc-cleanup-20041011

FIXES 15586

remove unwanted files

19 years agowindows-combined-20041010
Jeffrey Altman [Mon, 11 Oct 2004 00:50:37 +0000]
windows-combined-20041010

  * fix the Windows cache manager to prevent it from replacing the
    rx_connection object associated with the cm_conn_t object on each
    and every operation if "fs crypt" was set.  This explains the
    dramatic performance difference when crypt is used vs clear.
    The problem: 'cryptall', a boolean flag indicating whether or not
    "fs crypt" is set, was being compared to the rx_connection
    cryptlevel which is either rxkad_clear:0 or rxkad_crypt:2.
    1 != 2 and therefore the rx_connection was always destroyed
    and replaced on each and every operation.

    Lock the cm_conn_t object around every call to RXAFS_xxxx functions.
    It is not safe for the cm_conn_t object to not be locked because
    rx_DestroyConnection might be called from another thread if:
        - the user's tokens have changed or expired
        - the crypt mode has changed

  * Modify cm_Lookup to evaluate a list of possible values for @sys
    instead of just a single entry.  Re-write cm_ExpandSysname and
    add cm_LookupInternal.

  * Reformat affected files

  * Add cache file name to cache creation errors

19 years agocrypt-take-voids2-20041009
Jim Rees [Sun, 10 Oct 2004 03:13:41 +0000]
crypt-take-voids2-20041009

make various crypt/decrypt routines take void * args to eliminate more
compiler warnings

19 years agopr-initialize-dont-leak-ref-20041009
Derrick Brashear [Sun, 10 Oct 2004 03:03:11 +0000]
pr-initialize-dont-leak-ref-20041009

we were leaking an afsconf_Open ref. let's not.

19 years agogeneric-client-init-function-20041009
Derrick Brashear [Sun, 10 Oct 2004 02:53:32 +0000]
generic-client-init-function-20041009

FIXES 15464

so we can have this code in just one place

19 years agolinux-disable-pmtu-discovery-20041009
Chaskiel M Grundman [Sat, 9 Oct 2004 23:34:45 +0000]
linux-disable-pmtu-discovery-20041009

FIXES 15505

don't set DF bit; use setsockopt to turn of kernel "pmtu feature"

19 years agoadd-rocks-20041008
Jim Rees [Fri, 8 Oct 2004 20:30:37 +0000]
add-rocks-20041008

add rocks to cmd args to match prototype

19 years agorevert-fix-seclevel-20041006
Kevin Coffman [Wed, 6 Oct 2004 18:35:19 +0000]
revert-fix-seclevel-20041006

Ticket #15367
revert rev 1.12 fix-seclevel-20030213:
Use requested security level instead of "clear" in pr_Initialize

19 years agocrypt-take-voids-20041005
Jim Rees [Tue, 5 Oct 2004 21:40:59 +0000]
crypt-take-voids-20041005

make various crypt/decrypt routines take void * args to eliminate more
compiler warnings

19 years agoadmin-group-nsis-20041004
Jeffrey Altman [Mon, 4 Oct 2004 08:35:13 +0000]
admin-group-nsis-20041004

correct the test for -create and -remove so that the proper
action is taken for each

19 years agopioctl-debug-20041003
Jeffrey Altman [Sun, 3 Oct 2004 15:06:46 +0000]
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.

19 years agowindows-symlink-access-20041003
Jeffrey Altman [Sun, 3 Oct 2004 14:53:35 +0000]
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.

19 years agowin-power-mgmt-flush-test-20041003
Jeffrey Altman [Sun, 3 Oct 2004 14:34:27 +0000]
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.

19 years agovol-fix-nuke-iteration-and-nuke-globals-20040928
Derrick Brashear [Sat, 2 Oct 2004 16:54:28 +0000]
vol-fix-nuke-iteration-and-nuke-globals-20040928

allInodes global dies; don't use ti as an iterator right after freeing it.

19 years agorx-nprocs-static-20040924
Jim Rees [Fri, 24 Sep 2004 16:42:32 +0000]
rx-nprocs-static-20040924

make nProcs static so it will count up correctly
also change its scope to eliminate compiler warning

19 years agorxi-flushwrite-fake-a-better-empty-packet-20040923
Nickolai Zeldovich [Fri, 24 Sep 2004 02:42:28 +0000]
rxi-flushwrite-fake-a-better-empty-packet-20040923

Fake a better empty packet in rxi_FlushWrite(), with enough space for
an rxkad header.  Otherwise rxi_PrepareSendPacket may panic.

19 years agothreaded-volserver-and-protoization-update-20040922
Derrick Brashear [Thu, 23 Sep 2004 04:55:52 +0000]
threaded-volserver-and-protoization-update-20040922

fix a deadlock between GCTrans and DeleteTrans
more protoization

19 years agokfw-hklm-registry-fix-20040922
Jeffrey Altman [Wed, 22 Sep 2004 16:04:59 +0000]
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

19 years agowindows-force-krb524-20030921
Jeffrey Altman [Wed, 22 Sep 2004 07:00:56 +0000]
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.

19 years agocifs-pattern-match-20040921
Jeffrey Altman [Tue, 21 Sep 2004 21:05:14 +0000]
cifs-pattern-match-20040921

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.

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

19 years agowindows-links-20040921
Jeffrey Altman [Tue, 21 Sep 2004 15:00:08 +0000]
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.

19 years agorx-unrefd-peer-may-be-gcd-so-be-safe-20040919
Derrick Brashear [Mon, 20 Sep 2004 03:07:22 +0000]
rx-unrefd-peer-may-be-gcd-so-be-safe-20040919

this means we potentially "lose" some received bytes in the tracking,
but the alternative is to add and then drop a ref (which i suppose would be ok)

19 years agorx-stats-calls-waited-ever-20040917
Derrick Brashear [Fri, 17 Sep 2004 14:35:51 +0000]
rx-stats-calls-waited-ever-20040917

keep track of the number of calls which have waited for a thread ever (not just those waiting now)

update rxdebug to be able to print it.

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.