Commit Graph

2320 Commits

Author SHA1 Message Date
Jeffrey Altman
c35e327595 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
2004-08-05 17:50:04 +00:00
Jeffrey Altman
4c20d3d1fc 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
2004-08-05 17:47:28 +00:00
Jeffrey Altman
432479c4bb mpr-lib-required-20040805
All executables which include the pioctl functions now require mpr.lib
to be linked
2004-08-05 17:31:34 +00:00
Jeffrey Altman
1adc134670 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.
2004-08-05 17:28:10 +00:00
Jeffrey Altman
0ce0ec8586 nsis-20040805
Correct missing debug conditional
2004-08-05 17:24:27 +00:00
Jeffrey Altman
fd297f88e4 readme-nt-20040805
Update readme with latest WiX installer info
2004-08-05 17:23:25 +00:00
Derrick Brashear
c50f171f2c findclient-print-stolen-clients-20040805
when a client is "stolen" due to a race, print it.
2004-08-05 15:48:09 +00:00
Asanka Herath
fca4ef8bfd 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.
2004-08-05 04:09:26 +00:00
Derrick Brashear
b4566d725e 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
2004-08-04 20:41:53 +00:00
Jeffrey Altman
29971c6e9f ticket-6077-20040804
FIXES 6077

Patch from Joe Buehler modified by Asanka
2004-08-04 20:30:03 +00:00
Asanka Herath
993051678f 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.
2004-08-04 17:36:10 +00:00
Jeffrey Altman
fc128997e7 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.
2004-08-04 16:54:42 +00:00
Jeffrey Altman
306f75eb4c 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
2004-08-04 16:52:56 +00:00
Jeffrey Altman
03dd9eefd3 freelance-deadlock-20070803
oops
2004-08-03 21:10:36 +00:00
Jeffrey Altman
986bee7d66 freelance-deadlock-20040803
Avoid deadlock in Freelance mount point re-initialization
2004-08-03 20:40:31 +00:00
Jeffrey Altman
cb1730a07c 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.
2004-08-03 18:27:52 +00:00
Jim Rees
268b929170 fix-lwp-includes-again-20040803
Fix lwp includes AGAIN.
2004-08-03 15:45:49 +00:00
Jeffrey Altman
acfafa740d submount-20040731
Change "Description" field to "Submount"
2004-08-01 01:20:34 +00:00
Jeffrey Altman
4a4c214cbc osi-save-strings-20040731
Increase the save string length to 128 from 30 in order to be able to
handle principal names, paths, etc.
2004-08-01 01:19:08 +00:00
Jeffrey Altman
16e5767cc9 misc-windows-20040731
Move most log entries to the osi trace log from the afsd_init.log

Add log entries to help diagnose the lost callback problem

Fix a variety of type errors in header files and casts

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

Modify the SMB Session limit to be four less then the number of SMB
NCBs.  This is because the server itself uses 4 NCBs which are not associated
with sessions.
2004-08-01 01:16:37 +00:00
Jeffrey Altman
6eaeb76244 server-list-and-volume-updates-20040730
As discovered previously, the cm_serverRef_t objects were not reference
counted.  This resulted in the objects being freed while they were
still in use.  This patch adds reference counting to the cm_serverRef_t
objects which are locked using the cm_serverLock.

Once the reference counting was fixed it became immediately obvious
that cm_VolumeUpdates could not succeed in altering the state of a
server list from ALLOFFLINE to NOTBUSY. cm_VolumeUpdate calls cm_Analyze
without a fid_t object which was required to obtain the server list for
the affected volume.  Of course, cm_VolumeUpdate has a pointer to the
volume so cm_Analyze was updated to take an optional pointer to a
cm_serverRef_t which avoids the need for the fid_t object.
2004-07-30 21:02:57 +00:00
Jeffrey Altman
24411ebbd7 get-server-list-20040729
Undo the previous patch.  the server list can't be cloned.
instead we will have to refCount the cm_serverRef_t objects.
This is going to be a lot of work.  To be continued ...
2004-07-30 05:04:27 +00:00
Rainer Schöpf
e5453d2814 linux26-dont-lose-afs-smp-status-20040729
this should be fixed better later, but for now we'll go with this
2004-07-29 22:29:18 +00:00
Chaskiel M Grundman
9c5895b8c1 vos-shadow-print-status-correctly-20040729
we were printing that volumes were shadowed to partition partition
instead of server partition
2004-07-29 19:51:20 +00:00
Jeffrey Altman
333d836050 aklog-20040729
Fix afs_realm_of_cell5() to validate the return value of
krb5_get_host_realm
2004-07-29 17:55:01 +00:00
Jeffrey Altman
20cfcb0aea nonpersistentcaching-20040729
document new value
2004-07-29 15:38:57 +00:00
Asanka Herath
46bafc8a62 virtual-cache-file-20040729
This is a variation of Joe Buehler's request.
New registry key "NonPersistentCache" places the cache file into the
Windows paging file.  One limitation of doing so is that the page file
cannot be grown with "fs setcachesize" and the associated ioctl.
2004-07-29 15:34:21 +00:00
Asanka Herath
924fb5f5b9 server-ref-list-20040729
There was a race condition where between a thread calling cm_GetServerList and using the returned server list, another
thread could free the server list.  Now cm_GetServerList duplicates the server list with proper locks held.  Callers of
cm_GetServerList call cm_FreeServerList to free the returned list.
2004-07-29 14:53:35 +00:00
Derrick Brashear
2395eb6075 afsmonitor-update-stat-descriptions-20040729
FIXES 5952

correct list of available stats
2004-07-29 05:29:33 +00:00
Alf Wachsmann
d6df153cea afsmonitor-results-fix-20040729
FIXES 5929

use the correct variable when converting result sto ascii
2004-07-29 05:20:52 +00:00
Alf Wachsmann
276d735112 afsmonitor-document-usage-20040729
FIXES 5931

update the docs to reflect the usage correctly
2004-07-29 05:17:02 +00:00
Alf Wachsmann
9e6977f39e afsmonitor-remove-pointless-if-20040729
FIXES 5933

an if in an else which will always trigger is dumb
2004-07-29 05:09:18 +00:00
Alf Wachsmann
5ece0001b8 afsmonitor-document-stat-entries-correctly-20040729
FIXES 5934

NUM_CM_STAT_ENTRIES should match the docs
2004-07-29 05:03:31 +00:00
Jeff Mahoney
0bc9af9ed9 makefileproto-configer-cleanup-20040728
make config tool for MakefileProto processing able to deal with e.g.
"linux26" for all linux 2.6 platforms
2004-07-29 04:57:03 +00:00
Alf Wachsmann
b1289615e1 afsmonitor-categories-correction-20040728
FIXES 5951

wrong number of categeories defined. oops.
2004-07-29 04:53:27 +00:00
Kris Van Hees
21592fe61a volser-restore-timestamp-cleanup-20040728
FIXES 5926

This patch solves the problem of how timestamps are handled by during a
'vos restore' by allowing the specification of there the creation and last
updated timestamps are taken from:

        - generate a new one using the current time
        - retain the one in the target volume if there is one
        - restore the timestamp from the dump file

This is needed to allow sequences of restoring incremental dumps on top of
full dump work, and to ensure that a subsequent vos release can do a real
incremental release for the restored incremental dumps.

It also fixes the fact that the vos exa command hides potential problems
with timestamps by refusing to display a last updated timestamp that is
older than the creation timestamp.
2004-07-29 04:44:08 +00:00
Phil Holland
08a623793f darwin-rc-script-update-20040728
FIXES 6027

update rc script to support stopping afs
2004-07-29 04:36:53 +00:00
Phil Holland
9728182c00 darwin-afsdb-handler-signal-mask-20040728
FIXES 6027

mask signals on darwin so afsdb handler doesn't die
2004-07-29 04:32:56 +00:00
Rainer Schöpf
f01257a204 afs-dont-shutdown-if-not-started-20040728
FIXES 6001

if the module is loaded, but afsd hasn't been started, don't allow a shutdown.
2004-07-29 04:18:07 +00:00
Kris Van Hees
4054aec72b afs-suser-consistent-20040728
FIXES 6034

always call afs_suser() with one arg.
always take one.
2004-07-29 04:13:37 +00:00
Rainer Schöpf
e5e7801db8 linux-null-superblock-if-mount-failed-20040728
FIXES 6002

The appended patch resets afs_globalVFS to NULL if /afs cannot be mounted,
eg., if no cell server is accessible.

There are two advantages:

 - it is possible to do "afsd -shutdown" to terminate all daemons
 - more importantly, if /afs cannot be mounted, the linux kernel will
   probably free the superblock, ie the memory pointed to afs_globalVFS.
2004-07-29 04:08:48 +00:00
Derrick Brashear
563894500f rx-provide-binding-version-of-init-20040728
i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets
2004-07-29 03:46:48 +00:00
Derrick Brashear
5dc0642264 fssync-more-offline-volumes-20040728
just let the offline volumes array be larger
2004-07-28 22:49:18 +00:00
Jeffrey Hutzelman
40d54d5dd1 lwp-track-qwaiting-second-try-20040728
FIXES 5616

track qwaiting lwps rather than potentially leaking them
2004-07-28 21:59:58 +00:00
Jeffrey Altman
b20129a337 unc-paths-current-directory-20040727
fix the handling of unc paths in pioctl calls when the current directory
is the unc path.  (not likely to be the case with cmd.exe since it does
not support pure unc path environments.  4nt.exe shows the problem though.)
2004-07-28 04:54:19 +00:00
Jeremy Mika
49fb21afc5 fbsd53-20040727
FreeBSD 5.3 has an extra thread arg to vflush()
2004-07-27 17:24:40 +00:00
Jim Rees
58069bf380 bsd-new-releases-20040727
Preliminary support for FreeBSD 5.3 and OpenBSD 3.6.
OpenBSD osi_vnodeops.c patch from brent@graveland.net (slightly modified)
Remove obsolete src/lwp/process.fbsd.s to prevent further confusion
2004-07-27 15:39:31 +00:00
Asanka Herath
22fbf94fcd msi-deployment-guide-20040727
a guide to making organization specific modifications to the msi
installer
2004-07-27 14:32:38 +00:00
Tommie Gannert
71530bc5c0 registry-txt-20040727
Remove duplicate entries
2004-07-27 14:23:11 +00:00
Jeffrey Altman
93a9087c5c freelance-rw-20040727
Fix cm_Lookup to properly set the rw flag when adding Freelance mount
points based on whether the filename begins with a '.'

Fix cm_FreelanceAddMount to set the cellname to the cellname without
the '.' when rw mode is used and a cellname is not provided.
2004-07-27 22:34:46 +00:00