openafs.git
20 years agofind-netbios-optimize-20040320
Jeffrey Altman [Sun, 21 Mar 2004 03:05:45 +0000]
find-netbios-optimize-20040320

In Mount_ReadSubmount() cache the first response to GetNetbiosName()
since the result won't change and the work necessary to get the result
is considerable.  We don't want to be calling it loops over and over
again.

20 years agoprevent-crash-at-shutdown-20040320
Jeffrey Altman [Sat, 20 Mar 2004 18:42:16 +0000]
prevent-crash-at-shutdown-20040320

The Power Management Exit routine was instructing the thread to
terminate but was not waiting for the conclusion of the operation
before returning control to the caller.  This allows the service
to pass control to the Service Manager before cleanup was properly
completed.

20 years agoper-user-registry-20040320
Jeffrey Altman [Sat, 20 Mar 2004 18:00:01 +0000]
per-user-registry-20040320

Rename existing registry Read/Write functions to Global

Add new registry functions to support Per User Read/Write operations

Clean up references to Registry Key strings

Change "ShowTrayIcon" to be a "Per User" item from a "Global" item

20 years agofs-setserverprefs-bug-20040320
Jeffrey Altman [Sat, 20 Mar 2004 17:23:48 +0000]
fs-setserverprefs-bug-20040320

FIXES 3555

Rodney Dyer (UNCC) reported that the "fs setserverprefs" command if
issued multiple times would result in the AFSD server becoming unresponsive.
This appears to have been caused by improper use of writeLocks, a failure
to use writeLocks when necessary, and improper reference counting on the
cm_server_t data structures placed into the cm_allServersp list.

20 years agotab-drives-20040319
Jeffrey Altman [Sat, 20 Mar 2004 07:55:38 +0000]
tab-drives-20040319

the mount root is used to define mount paths not the netbios name

20 years agouse-dns-install-fix-20040319
Jeffrey Altman [Sat, 20 Mar 2004 01:03:08 +0000]
use-dns-install-fix-20040319

allow use of dns to be configurable

20 years agonon-kfw-probe-fix-20040319
Jeffrey Altman [Sat, 20 Mar 2004 01:01:07 +0000]
non-kfw-probe-fix-20040319

Fix the non-KFW case of the KDC Probe.  Prevent infinite loop.

20 years agoversion-update-20040319
Jeffrey Altman [Sat, 20 Mar 2004 00:56:28 +0000]
version-update-20040319

Update version to 1.3.6090

20 years agodns-fixes-20040319
Jeffrey Altman [Fri, 19 Mar 2004 19:50:27 +0000]
dns-fixes-20040319

Reorganize some debug statements to put them in more consistent locations

Do not initialize the internal dns support if using the Windows DNS API.
(Win2000 and above)

20 years agonsis-installer-20040319
Jeffrey Altman [Fri, 19 Mar 2004 19:44:31 +0000]
nsis-installer-20040319

Fix: The use a provided CellServDB file option was not working.
     You can't compare a filename to "1" and expect it to work.

Add: Make the use of DNS optional and default it to off.

20 years agoobsd-vnops-warnings-20040319
Jim Rees [Fri, 19 Mar 2004 16:38:29 +0000]
obsd-vnops-warnings-20040319

eliminate compiler warnings

20 years agofreebsd-mkdir-panic-20040319
Jim Rees [Fri, 19 Mar 2004 15:37:10 +0000]
freebsd-mkdir-panic-20040319

don't vput(dvp) on error return from afs_mkdir (vfs already does this)
bug found by, and fix tested by, adridg@sci.kun.nl

20 years agoirix-ucred-is-really-cred-20040319
Derrick Brashear [Fri, 19 Mar 2004 07:58:52 +0000]
irix-ucred-is-really-cred-20040319

FIXES 3651

gotta wonder what crack monkey came up with this
AFS_UCRED is ucred in osi_machdep.h, and ucred is redefined to cred in osi_vfs.h

whatever

20 years agogetipaddrlist-20040318
Jeffrey Altman [Fri, 19 Mar 2004 05:16:24 +0000]
getipaddrlist-20040318

Improve error checking in GetNumOfIpAddrs to prevent potential
invalid memory access if the IP Address Table cannot be accessed.
(win2000 with no privs)

20 years agoafslogon-20040318
Jeffrey Altman [Fri, 19 Mar 2004 03:52:07 +0000]
afslogon-20040318

Fix memory deallocation errors (never call free() on memory allocated
by GlobalAlloc() or LocalAlloc())

Modify event logging to be consistent between High and Low Security

Only generate a random user name when using High Security.  Use the normal
user name when running with Low security.

20 years agonotifyaddrchange-20040318
Jeffrey Altman [Fri, 19 Mar 2004 01:09:40 +0000]
notifyaddrchange-20040318

NotifyAddrChange() on Win2000 without privs fails.  Detect the failure
and terminate the IPChangeMonitor thread to prevent an infinite loop
eating up system resources.

Anyone have a clue which bits are required?

20 years agothe-correct-mkdir-fix-20040318 openafs-devel-1_3_60
Jeffrey Altman [Thu, 18 Mar 2004 06:13:55 +0000]
the-correct-mkdir-fix-20040318

Apply the correct file including the fix to the MIT recursive directory
creation patch.

20 years agomkdir-fix-20040318
Jeffrey Altman [Thu, 18 Mar 2004 06:10:12 +0000]
mkdir-fix-20040318

Fix recursive directory creation from MIT for single component case.

20 years agoirix-attempt-to-detect-kernel-mem-routines-20040317
Derrick Brashear [Thu, 18 Mar 2004 05:12:18 +0000]
irix-attempt-to-detect-kernel-mem-routines-20040317

FIXES 3651

first pass at routine to detect kernel mem* routines

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

second try

====================
FIXES 3651

third try

====================
FIXES 3651

this time for sure.
includes the definitions too, this way we can not have macros conflict with
headers we don't need

====================
FIXES 3651

this time for sure.
includes the definitions too, this way we can not have macros conflict with
headers we don't need

====================
FIXES 3651

this time for sure.
includes the definitions too, this way we can not have macros conflict with
headers we don't need

20 years agomove-readme-to-top-20040317
Jeffrey Altman [Thu, 18 Mar 2004 04:32:20 +0000]
move-readme-to-top-20040317

Move the README files to the top directory where they belong.

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

As of 1.3.60 move the Windows Readme files from src to top directory

20 years agowindows-readme-updates-20040317
Jeffrey Altman [Thu, 18 Mar 2004 04:03:21 +0000]
windows-readme-updates-20040317

Add warning to WIN9X indicating that OpenAFS probably won't build on WIN9X
anymore.

Describe the new build procedure for 2000/XP/2003 in README-NT

20 years agofix-install-bugs-20040317
Jeffrey Altman [Thu, 18 Mar 2004 03:39:54 +0000]
fix-install-bugs-20040317

Fix:

Compatibility with IBM/Transarc and 1.2.10 installations

Correct Pathname

Compatibility with incorrect Pathname from 1.3.xx > 1.3.5299

Call CheckSDK on upgrades

20 years agoa-better-way-20040317
Jeffrey Altman [Thu, 18 Mar 2004 01:46:48 +0000]
a-better-way-20040317

Make the directories first, then the trailing spaces won't matter.

20 years agomissing-spaces-20040317
Jeffrey Altman [Thu, 18 Mar 2004 01:42:36 +0000]
missing-spaces-20040317

Add trailing spaces to xcopy commmands.

20 years agonsis-20040317
Jeffrey Altman [Thu, 18 Mar 2004 01:20:10 +0000]
nsis-20040317

make sure that afscreds.exe is terminated after executing with the -z
option.

20 years agoupdate-afsdcell-20040317
Jeffrey Altman [Thu, 18 Mar 2004 00:34:50 +0000]
update-afsdcell-20040317

grab current version from http://grand.central.org/dl/cellservdb/CellServDB

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

grab latest version from http://grand.central.org/dl/cellservdb/CellServDB

20 years ago1360-version-20040317
Jeffrey Altman [Thu, 18 Mar 2004 00:00:15 +0000]
1360-version-20040317

Update the version number to 1.3.6000

20 years agodarwin-new-systypes-20040317
Derrick Brashear [Wed, 17 Mar 2004 08:24:13 +0000]
darwin-new-systypes-20040317

make autoconf figure it out for us

20 years agoaix-install-kmods-20040317
Derrick Brashear [Wed, 17 Mar 2004 07:51:57 +0000]
aix-install-kmods-20040317

would be nice if make dest worked again

20 years agoaix64-dont-build-on-aix4-20040317
Derrick Brashear [Wed, 17 Mar 2004 07:21:43 +0000]
aix64-dont-build-on-aix4-20040317

don't build the 64 bit stuff on aix 4

20 years agosupport-nfs-translator-sysname-lists-20040317
Derrick Brashear [Wed, 17 Mar 2004 06:43:34 +0000]
support-nfs-translator-sysname-lists-20040317

support sysname lists in nfs translator

20 years agomacos-update-readme-20040317
Derrick Brashear [Wed, 17 Mar 2004 06:38:38 +0000]
macos-update-readme-20040317

FIXES 3317

update readme to indicate success through 10.3.3

20 years agodistclean-remove-include-lib-20040317
Derrick Brashear [Wed, 17 Mar 2004 06:27:37 +0000]
distclean-remove-include-lib-20040317

FIXES 3610

include a lib directories generated during build not removed
fix it.

20 years agofix-typo-20040316
Jeffrey Altman [Wed, 17 Mar 2004 04:20:31 +0000]
fix-typo-20040316

fix last commit

20 years agouse-oldstyle-netbios-name-for-default-20040316
Jeffrey Altman [Wed, 17 Mar 2004 04:17:20 +0000]
use-oldstyle-netbios-name-for-default-20040316

For UNCC, allow old style netbios name to be the default for this
release to give them time to convert their scripts to use \\AFS\...
instead of \\%MACHINENAME%-AFS\...

20 years agoaix-largefile-update-20040316
Hartmut Reuter [Wed, 17 Mar 2004 02:29:39 +0000]
aix-largefile-update-20040316

FIXES 3647

don't allow reading past the end of a file

20 years agoreg-expand-str-20040316
Jeffrey Altman [Tue, 16 Mar 2004 22:03:00 +0000]
reg-expand-str-20040316

Change the NetbiosName registry value from REG_SZ to REG_EXPAND_SZ
and add the necessary code to expand the strings.   This will allow
the use of %COMPUTERNAME%-AFS in case people want to explicitly use
a non-portable name.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

Update text for NetbiosName value.

20 years agoregistry-20040316
Jeffrey Altman [Tue, 16 Mar 2004 16:21:42 +0000]
registry-20040316

Fix the DependsOnGroup NetworkProvider key to ensure it is placed in
the correct location

Change the location of the ShowTrayIcon key so that we no longer store
user data in the HKLM Transarc tree

====================
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 the locations of the ShowTrayIcon and cell name based expiration
reminder keys out of the HKLM\SOFTWARE\Transarc... key and into the
{HKCU,HKLM}\SOFTWARE\OpenAFS\... tree.  This is safe to do because these
keys are transient in nature (created by afscreds.exe) and really do
belong to the user and not to the machine.

20 years agofreebsd-pkg-builder-20040316
Jim Rees [Tue, 16 Mar 2004 16:19:07 +0000]
freebsd-pkg-builder-20040316

Mention the FreeBSD package builder, with warning.

20 years agoregistry-notes-20040316
Jeffrey Altman [Tue, 16 Mar 2004 16:15:36 +0000]
registry-notes-20040316

Update the registry usage for 1.3.60

Add information for the Network Provider values and the AFSCreds.exe values.

20 years agoservice-dependencies-20040315
Jeffrey Altman [Tue, 16 Mar 2004 04:40:10 +0000]
service-dependencies-20040315

Fix the location of the registy values to be used for specifying
the service dependencies of the AFS Network Provider.  AFS is
dependent on PNP_TDI (tcpip, netbt, etc); RpcSs; and NetBios.

Upgrades were failing to read the Cell name from the proper location
so that it could be restored.

20 years agokfw-thread-safety-20040315
Jeffrey Altman [Tue, 16 Mar 2004 04:32:45 +0000]
kfw-thread-safety-20040315

Add a mutex semaphore around the kfw initialization code to prevent
multiple threads from attempting to initialize simultaneously.

20 years agouss-kauth-support-lockout-20040315
Dr. Dieter Mack [Mon, 15 Mar 2004 18:51:03 +0000]
uss-kauth-support-lockout-20040315

FIXES 3637

minor reformat by shadow@dementia.org
make uss kauth support account locking correctly.

20 years agohourglass-20040313
Jeffrey Altman [Sun, 14 Mar 2004 01:28:24 +0000]
hourglass-20040313

Ensure that all functions which perform a pioctl() call also change
the icon to an hourglass.

Replace calls to InAFS() with the function IsPathInAfs() and remove
InAFS() since they were identical functions.

20 years agolets-get-it-right-20040313
Jeffrey Altman [Sat, 13 Mar 2004 21:51:07 +0000]
lets-get-it-right-20040313

the NSIS script crashed on a test machine.  Fix the use of variables.
When using the System.dll plug-in; you must use $1..$9 instead of $R1..$R9

20 years agoupdate-to-nsis-script-20040313
Jeffrey Altman [Sat, 13 Mar 2004 21:24:41 +0000]
update-to-nsis-script-20040313

Modify NSIS script to prevent overwriting variables

20 years agomutex-token-access-20040313
Jeffrey Altman [Sat, 13 Mar 2004 21:07:36 +0000]
mutex-token-access-20040313

This is an initial crack at one of the big problems with the existing
AFS client.  Multiple processes in a single session or in multiple
sessions (terminal server) can step on each others toes.  This is
because the dual use of RPC and SMB calls to perform operations.
Since nothing is done in a single synchronized step, there are plenty
of opportunities for data overwrites to occur.

The change was to add a Global Mutex within all of the ktc_XXXToken
calls.  The use of "Global\" prefixed kernel objects are only supported
on Win2000 and above.  This is fine because this is all we claim to
support.  But if someone was to decide to run this code on NT4 or Win95
anyway bad things will now happen.  This should probably be cleaned up
if someone has time.

20 years agoempty-cell-name-fix-20040313
Jeffrey Altman [Sat, 13 Mar 2004 21:00:52 +0000]
empty-cell-name-fix-20040313

If the Registry contains a "Cell" entry which is the null string
don't crash. Instead panic and log an appropriate error.

20 years agoadd-registry-values-20040313
Jeffrey Altman [Sat, 13 Mar 2004 18:34:23 +0000]
add-registry-values-20040313

Add registry values to enforce service startup dependencies

Increase the RxMaxMTU value from 1200 to 1260 based upon experience
running across the Cisco VPN at MIT, Cert, and Fermi.

20 years agoregistry-call-optimizations-20040313
Jeffrey Altman [Sat, 13 Mar 2004 18:28:39 +0000]
registry-call-optimizations-20040313

Do not read the same value from the registry three times in
the same function.

20 years agoremove-extraneous-code-20040312
Jeffrey Altman [Sat, 13 Mar 2004 18:26:42 +0000]
remove-extraneous-code-20040312

Remove calls to obtain the netbios name which is placed into
variables which are never referenced.

20 years agoremove-loopback-test-from-smb-20040313
Jeffrey Altman [Sat, 13 Mar 2004 18:24:14 +0000]
remove-loopback-test-from-smb-20040313

Now that the loopback test is being performed within
the LANA Helper library we should not be performing
the test in the smb init code.

20 years agolinux-ukernel-pthreads-ugliness-fix-20040312
Derrick Brashear [Fri, 12 Mar 2004 05:56:59 +0000]
linux-ukernel-pthreads-ugliness-fix-20040312

really an autoconf test should do this. in the meantime we do this.

20 years agojuafs-makefile-fix-20040311
Derrick Brashear [Fri, 12 Mar 2004 03:27:32 +0000]
juafs-makefile-fix-20040311

make the juafs rules not break the makefile (remove bogus quoting)

20 years agoirix-deal-with-sh-versus-make-vars-20040311
Derrick Brashear [Fri, 12 Mar 2004 02:30:45 +0000]
irix-deal-with-sh-versus-make-vars-20040311

FIXES 3322

so the LDFLAGS variable doesn't get shadowed we do this

20 years agofreebsd-pkg-builder-20040311
Jim Rees [Thu, 11 Mar 2004 22:35:45 +0000]
freebsd-pkg-builder-20040311

freebsd package builder
not quite right yet, the rc file won't work

20 years agoopenbsd-shutdown-panic-20040311
Jim Rees [Thu, 11 Mar 2004 20:39:07 +0000]
openbsd-shutdown-panic-20040311

openbsd:
use vrele instead of AFS_RELE in unmount to avert panic
acquire GLOCK in mount (not really needed but oh well)
other finnicky and needless tweaks

20 years agoinode-largefile-attempt-20040311
Chaskiel M Grundman [Thu, 11 Mar 2004 20:22:07 +0000]
inode-largefile-attempt-20040311

FIXES 3519

attempt to deal with large file fileservers for inode versions. not done yet

20 years agoopenbsd-vrefs-20040311
Jim Rees [Thu, 11 Mar 2004 19:14:46 +0000]
openbsd-vrefs-20040311

OpenBSD bug fixes:
fix vnode refcount botch introduced by freebsd merge
fix yet another deadlock in the vnode reclaim path

20 years agobuserver-support-clones-20040311
Lynn Zhang [Thu, 11 Mar 2004 07:31:46 +0000]
buserver-support-clones-20040311

FIXES 3355

support ubik clones in buserver as with other ubik servers

20 years agobase64-elsewhere-20040311
Derrick Brashear [Thu, 11 Mar 2004 07:24:23 +0000]
base64-elsewhere-20040311

base64 is in util, and has a different name.

20 years agoirix-afs-osi-credp-declared-elsewhere-20040311
Derrick Brashear [Thu, 11 Mar 2004 07:20:31 +0000]
irix-afs-osi-credp-declared-elsewhere-20040311

revert to 1.2 declaration for irix

20 years agoviced-revert-EIO-and-instead-use-zero-length-20040311
Nathan Neulinger [Thu, 11 Mar 2004 07:15:52 +0000]
viced-revert-EIO-and-instead-use-zero-length-20040311

FIXES 3594

this was the other considered approach, i'm unsure why it's needed,
but we'll play along for now.

20 years agorx-user-dont-redefine-isafs-glock-for-ukernel-20040311
Derrick Brashear [Thu, 11 Mar 2004 06:30:58 +0000]
rx-user-dont-redefine-isafs-glock-for-ukernel-20040311

rx/UKERNEL/rx_kmutex.h already covers this

20 years agoaix-update-linktest-20040311
Derrick Brashear [Thu, 11 Mar 2004 06:05:54 +0000]
aix-update-linktest-20040311

aix hates darwin, again. include netinet/in.h (which was implicit from
rx/rx.h before) to make aix happy

20 years agoaix-uafs-dir-compile-20040311
Derrick Brashear [Thu, 11 Mar 2004 05:40:31 +0000]
aix-uafs-dir-compile-20040311

make dir package work for uafs on aix

20 years agofreebsd-20040310
Jim Rees [Wed, 10 Mar 2004 23:01:50 +0000]
freebsd-20040310

Support for FreeBSD 5.x client.
Both 4.x and 5.x now use vnodes from the system pool instead of attaching
a private vnode to the vcache.
Most of this is from Garrett Wollman <wollman@khavrinen.lcs.mit.edu>,
I just did some integration and made it work again on 4.x.

20 years agoaix-dont-build-64bit-on-aix4-20040310
Derrick Brashear [Wed, 10 Mar 2004 17:14:13 +0000]
aix-dont-build-64bit-on-aix4-20040310

no 64 kit module for aix4.3.3

20 years agoaix5-missed-autoconf-support-20040310
Derrick Brashear [Wed, 10 Mar 2004 17:12:08 +0000]
aix5-missed-autoconf-support-20040310

put back the aix5 stuff in autoconf files

20 years agomacos-build-update-20040310
Derrick Brashear [Wed, 10 Mar 2004 08:35:38 +0000]
macos-build-update-20040310

make the head build again.

20 years agonsis-lang-file-fixes-20040308
Jeffrey Altman [Tue, 9 Mar 2004 05:47:30 +0000]
nsis-lang-file-fixes-20040308

Cleaned up the language file installations.
Place language files in the same directories as the non-language files.
Do not install the MSVC files twice.
Install debug symbols for language files for all languages; not just German.

20 years agonsis-improvements-20040308
Jeffrey Altman [Tue, 9 Mar 2004 04:45:32 +0000]
nsis-improvements-20040308

UpgradeDLL updated by Rob Murawski

Rob and I replaced dll installs with upgrades

I removed all of the support for beta versions of NSIS now that 2.0
is officially released.

20 years agounmap-debugging-20040308
Jeffrey Altman [Tue, 9 Mar 2004 03:07:27 +0000]
unmap-debugging-20040308

Add more debug info to DoUnmapShare

20 years agoafscreds-unmap-command-line-option-20040308
Jeffrey Altman [Tue, 9 Mar 2004 03:06:32 +0000]
afscreds-unmap-command-line-option-20040308

Add -z option to afscreds.exe which is called from the installer
to unmap the drive shares when uninstalling OpenAFS.

20 years agoevent-object-naming-20040308
Jeffrey Altman [Tue, 9 Mar 2004 02:02:38 +0000]
event-object-naming-20040308

Restore event object naming to the pthread objects.  Be sure to identify
the objects by PID this time to avoid conflicts.

20 years agokfw-not-installed-bug-20040308
Jeffrey Altman [Tue, 9 Mar 2004 02:00:18 +0000]
kfw-not-installed-bug-20040308

* Remove attempt to free a krb5_context when KFW is not installed.

20 years agoadd-path-to-log-20040308
Jeffrey Altman [Tue, 9 Mar 2004 01:57:34 +0000]
add-path-to-log-20040308

Discovered after wasting a huge quantity of time that it is possible
for OpenAFS to be installed on machines already containing the IBM/Transarc
AFS.  Add the PATH environment variable to the log to allow this situation
to be detected.

20 years agolong-lifetimes-20040308
Jeffrey Altman [Mon, 8 Mar 2004 14:02:50 +0000]
long-lifetimes-20040308

Add long kerberos 4 ticket lifetime support

20 years agokfw-changes-20040307
Jeffrey Altman [Mon, 8 Mar 2004 02:23:34 +0000]
kfw-changes-20040307

* Increase debugging of the KFW code;

* Remove the krb5_cc_remove_creds

20 years agofs-admin-privs-20040307
Jeffrey Altman [Mon, 8 Mar 2004 02:05:44 +0000]
fs-admin-privs-20040307

Add a requirement for Administrator privileges to the "fs setserverprefs"
command.

20 years agonetbiosName-cellname-20040306
Jeffrey Altman [Sat, 6 Mar 2004 21:38:48 +0000]
netbiosName-cellname-20040306

Add support for a new form of automatic share name generation

        \\netbiosName\cellname

which means that on systems with the loopback adapter you can
now refer to the athena.mit.edu afs cell as \\afs\athena.mit.edu\

This is implemented within cm_FindShare().  If the share name is not
one of the special ones and cannot be found in the Submounts table,
check to see if it is a known cell name,  If so, create a path to
the share of /afs/sharename with the "sharename" being lower cased.
(I hope there are no cell names in mixed or upper case.  This won't
work.)

20 years agoNTMakefile-dependencies-20040306
Jeffrey Altman [Sat, 6 Mar 2004 15:25:47 +0000]
NTMakefile-dependencies-20040306

Update dependencies on various libraries to enforce consistency checks

20 years agocorrections-to-MIT-merge-20040306
Jeffrey Altman [Sat, 6 Mar 2004 13:27:48 +0000]
corrections-to-MIT-merge-20040306

* Corrections to MIT merge caught by Asanka.

20 years agolanahelper-20040305
Jeffrey Altman [Sat, 6 Mar 2004 08:09:13 +0000]
lanahelper-20040305

Minor updates.  Fix AFS Root UNC path string; add debugging code (off by default)

20 years agoinaddr-any-20040305
Jim Rees [Sat, 6 Mar 2004 02:42:53 +0000]
inaddr-any-20040305

use INADDR_ANY instead of ADDR_ANY.

20 years agodrivemap-fix-take2-20040305
Jeffrey Altman [Fri, 5 Mar 2004 23:27:07 +0000]
drivemap-fix-take2-20040305

* See I knew it wouldn't work.  Revert to loop used in revision 1.14

20 years agodrivemap-fix-20040305
Jeffrey Altman [Fri, 5 Mar 2004 23:19:33 +0000]
drivemap-fix-20040305

* an attempt at a cheap fix which probably won't work.

20 years agolanahelper-library-20040305
Jeffrey Altman [Fri, 5 Mar 2004 23:09:18 +0000]
lanahelper-library-20040305

* at my request Asanka Hearth of MIT ripped out all of the code used
  the compute the Netbios Name of the SMB Server and the mountRoot
  and constructed one commonly used library called lanahelper.lib.
  This library is now constructed in the WINNT/afsd directory and
  used throughout the tree.  At least we now have consistency if
  nothing else.

20 years agono-cdev-fsync-20040303
Jim Rees [Wed, 3 Mar 2004 22:41:05 +0000]
no-cdev-fsync-20040303

don't try to fsync() a character special dev
reported and fix suggested by Helmut Jarausch

20 years agosmbname-consistency-20040302
Jeffrey Altman [Wed, 3 Mar 2004 03:32:42 +0000]
smbname-consistency-20040302

These changes are an attempt to provide a bit more consistency when
it comes to the establishment of SMB drive mappings.  Whenever mappings
are created, the same name is used when a name can be found.  This is
supposed to mirror what is performed in the integrated logon DLL.

20 years agofix-service-start-permissions-20040302
Jeffrey Altman [Tue, 2 Mar 2004 15:41:43 +0000]
fix-service-start-permissions-20040302

When merging the Skyrope changes I forgot to specify the SERVICE_START
privilege necessary to allow the -N option to work.

20 years agosecurity-class-object-leak-20040301
Jeffrey Altman [Tue, 2 Mar 2004 07:23:41 +0000]
security-class-object-leak-20040301

Incorrect reference count management results in a leak of rx_securityClass
objects.

20 years agoname-event-objects-20040301
Jeffrey Altman [Tue, 2 Mar 2004 04:14:43 +0000]
name-event-objects-20040301

When naming event objects allocated in a library, make sure the
names are unique by including the process id.

20 years agoopenafs-nsi-20040301
Jeffrey Altman [Tue, 2 Mar 2004 04:12:07 +0000]
openafs-nsi-20040301

Add two new registry keys:
RxMaxMTU (DWORD) = 1200 (decimal)
NoFindLanaByName (DWORD) = 1 (decimal)  DEBUG builds only

20 years agoafsi_log-buffer-20040301
Jeffrey Altman [Tue, 2 Mar 2004 04:09:32 +0000]
afsi_log-buffer-20040301

Increase the size of the final buffer to be large enough
to hold all of the data which is being written to it.

20 years agosmb_fid_t-leak-20040229
Jeffrey Altman [Sun, 29 Feb 2004 22:22:19 +0000]
smb_fid_t-leak-20040229

There was a significant leak of smb_fid_t objects produced when copying
files from an AFS volume.  This is clearly part of the problem reported
by UNCC.  However, there is still an unexplained memory leak associated
with reading and writing files even if the data is only being read from
the cache.

I am noticing reports of memory allocation overruns from the Debug CRT
when freeing SCache objects.  This could be a side effect of whatever is
causing the memory leak.  This will require more research.

20 years agowin32-name-event-objects-20040228
Jeffrey Altman [Sun, 29 Feb 2004 02:38:26 +0000]
win32-name-event-objects-20040228

This is a very bad leak of Event Objects.  Name all of our event objects
in an attempt to identify the source of the leak.  Apparently, the leak
is not coming from any Event Objects we are creating directly.

Did find a misallocation of event objects in the smb code for the
initial session object.  Fixed.

20 years agofindlanabyname-20040228
Jeffrey Altman [Sat, 28 Feb 2004 19:13:26 +0000]
findlanabyname-20040228

* an attempt to fix the problems with stack overwrites when calling
the undocumented calls does not work.  check it in anyway.

20 years agohidedots-fix-20040228
Jeffrey Altman [Sat, 28 Feb 2004 19:10:05 +0000]
hidedots-fix-20040228

* Fix the Hiding of dot files.  attributes were computed but never applied
  due to typo during merge

* Prevent crashing during service shutdown by power management thread

20 years agoafscreds-shortcut-params-20040227
Jeffrey Altman [Sat, 28 Feb 2004 06:26:05 +0000]
afscreds-shortcut-params-20040227

Obtain Shortcut Parameters from Registry Key

   {HKLM, HKCU}\SOFTWARE\OpenAFS\Client
(REG_SZ) AfscredsShortcutParams
   Default value is "-A -M -N -Q" if not found