Commit Graph

2405 Commits

Author SHA1 Message Date
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
Jeffrey Altman
b02dabd24e winnotes-20040726
Updates for 1.3.66
2004-07-27 00:24:09 +00:00
Asanka Herath
92076d8749 afsd-20040726
Prevent a TID allocated for IPC from being used for anything other than RAP.

Implement NetServerGetInfo instead of returning an error.

When looking for shares, go through root.afs first before trying to add a
mount point.
2004-07-27 00:22:20 +00:00
Jeffrey Altman
3c40200982 afslogon-20040726
Only display the "Integrated Login failed" message box if Integrated
Login is in fact being used.
2004-07-27 00:14:42 +00:00
Jeffrey Altman
06634de349 afsconfig-dns-cells-20040726
Another annoying bug.  afs_config.exe now validates cell names against
DNS in addition to the CellServDB file.
2004-07-27 00:01:31 +00:00
Jeffrey Altman
7ab88f29ea misc-patches-20040726
Update .cvsignore files for windows

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

cleanup uninitialized variables

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

more dlls to be replaced

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

When determining the full path of a UNC path, strip the server and
share names
2004-07-26 21:40:23 +00:00
Jeffrey Altman
1d4e40b360 freelance-cellid-20040726
Replace Freelance cellid constant 0x1 with a #define and set its
value to 0xFFFFFFFF to avoid collisions with the root.cell volumes
on remote cells.
2004-07-26 20:08:42 +00:00
Jeffrey Altman
0b41cf16f0 novolume-20040725
if we are going to return CM_ERROR_NOSUCHVOLUME do it whenever the
server list is empty.  If the server list is empty, allDown and allBusy
will always be set but there is nothing we can do.
2004-07-26 03:48:47 +00:00
Jeffrey Altman
0dbdc359df version-update-20040725
Update version to 1.3.66
2004-07-25 22:47:20 +00:00
Jeffrey Altman
c281138620 kfw-2-6-4-20040725
Update KFW SDK to 2.6.4
2004-07-25 22:45:19 +00:00
Jeffrey Altman
3a89df255c small-tweaks-20040725
* update winnotes

* add osi trace log entries to help diagnose issues with overlapped writes
  from CIFS client

* fix osi trace log entries for freelance add mount to use osi_SaveLogString

* fix afscreds "Start Service" to automatically obtain tokens if kerberos
  tickets are available

* update afscreds systray menu to use "..." after Remove Icon

* remove extra "." in wix installer resource
2004-07-25 21:53:09 +00:00
Jeffrey Altman
1a711beba6 force-vol-upd-20040724
Change cm_ForceUpdateVolume to not try to perform an immediate update.
Just set the CM_VOLUMEFLAG_RESET flag.  Calling cm_UpdateVolume calls
cm_connByMServers which then calls cm_Analyze which is how we ended
up having cm_ForceUpdateVolume called in the first place.
2004-07-24 19:59:32 +00:00
Jeffrey Altman
6c2eaf5815 global-drives-20040724
If creating the global drive letter fails, attempt to cancel the
previous use and then re-create.
2004-07-24 16:25:35 +00:00
Jeffrey Altman
e73c65900f smb-extended-20040724
Don't fallback to SMB_AUTH_NTLM.  Apparently, allowing SPNEGO to be
used each time prevents the failure of authentication when logged into
Windows with an external Kerberos principal mapped to a local account.
2004-07-24 09:31:15 +00:00
Asanka Herath
ed8fdaa8e1 wix-updates-20040723
Change default security level to 'crypt'.

Add registry key for SMBAuthType.

Add configurable property for SMBAuthType.

Remove high security mode option from the UI.

Workaround UI bug where a text control would redraw twice, once properly, once without interpreting format codes when
there are two properties to replace.
2004-07-24 08:35:04 +00:00
Jeffrey Altman
efd0f88ed5 down-before-busy-20040723
slight correction to previous patch.
check allDown before checking allBusy
2004-07-23 23:58:24 +00:00