Asanka Herath [Thu, 5 Aug 2004 04:09:26 +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.
Derrick Brashear [Wed, 4 Aug 2004 20:41:53 +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
Jeffrey Altman [Wed, 4 Aug 2004 20:30:03 +0000]
ticket-6077-
20040804
FIXES 6077
Patch from Joe Buehler modified by Asanka
Asanka Herath [Wed, 4 Aug 2004 17:36:10 +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.
Jeffrey Altman [Wed, 4 Aug 2004 16:54:42 +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.
Jeffrey Altman [Wed, 4 Aug 2004 16:52:56 +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
Jeffrey Altman [Tue, 3 Aug 2004 21:10:36 +0000]
freelance-deadlock-
20070803
oops
Jeffrey Altman [Tue, 3 Aug 2004 20:40:31 +0000]
freelance-deadlock-
20040803
Avoid deadlock in Freelance mount point re-initialization
Jeffrey Altman [Tue, 3 Aug 2004 18:27:52 +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.
Jim Rees [Tue, 3 Aug 2004 15:45:49 +0000]
fix-lwp-includes-again-
20040803
Fix lwp includes AGAIN.
Jeffrey Altman [Sun, 1 Aug 2004 01:20:34 +0000]
submount-
20040731
Change "Description" field to "Submount"
Jeffrey Altman [Sun, 1 Aug 2004 01:19:08 +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.
Jeffrey Altman [Sun, 1 Aug 2004 01:16:37 +0000]
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.
Jeffrey Altman [Fri, 30 Jul 2004 21:02:57 +0000]
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.
Jeffrey Altman [Fri, 30 Jul 2004 05:04:27 +0000]
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 ...
Rainer Schöpf [Thu, 29 Jul 2004 22:29:18 +0000]
linux26-dont-lose-afs-smp-status-
20040729
this should be fixed better later, but for now we'll go with this
Chaskiel M Grundman [Thu, 29 Jul 2004 19:51:20 +0000]
vos-shadow-print-status-correctly-
20040729
we were printing that volumes were shadowed to partition partition
instead of server partition
Jeffrey Altman [Thu, 29 Jul 2004 17:55:01 +0000]
aklog-
20040729
Fix afs_realm_of_cell5() to validate the return value of
krb5_get_host_realm
Jeffrey Altman [Thu, 29 Jul 2004 15:38:57 +0000]
nonpersistentcaching-
20040729
document new value
Asanka Herath [Thu, 29 Jul 2004 15:34:21 +0000]
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.
Asanka Herath [Thu, 29 Jul 2004 14:53:35 +0000]
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.
Derrick Brashear [Thu, 29 Jul 2004 05:29:33 +0000]
afsmonitor-update-stat-descriptions-
20040729
FIXES 5952
correct list of available stats
Alf Wachsmann [Thu, 29 Jul 2004 05:20:52 +0000]
afsmonitor-results-fix-
20040729
FIXES 5929
use the correct variable when converting result sto ascii
Alf Wachsmann [Thu, 29 Jul 2004 05:17:02 +0000]
afsmonitor-document-usage-
20040729
FIXES 5931
update the docs to reflect the usage correctly
Alf Wachsmann [Thu, 29 Jul 2004 05:09:18 +0000]
afsmonitor-remove-pointless-if-
20040729
FIXES 5933
an if in an else which will always trigger is dumb
Alf Wachsmann [Thu, 29 Jul 2004 05:03:31 +0000]
afsmonitor-document-stat-entries-correctly-
20040729
FIXES 5934
NUM_CM_STAT_ENTRIES should match the docs
Jeff Mahoney [Thu, 29 Jul 2004 04:57:03 +0000]
makefileproto-configer-cleanup-
20040728
make config tool for MakefileProto processing able to deal with e.g.
"linux26" for all linux 2.6 platforms
Alf Wachsmann [Thu, 29 Jul 2004 04:53:27 +0000]
afsmonitor-categories-correction-
20040728
FIXES 5951
wrong number of categeories defined. oops.
Kris Van Hees [Thu, 29 Jul 2004 04:44:08 +0000]
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.
Phil Holland [Thu, 29 Jul 2004 04:36:53 +0000]
darwin-rc-script-update-
20040728
FIXES 6027
update rc script to support stopping afs
Phil Holland [Thu, 29 Jul 2004 04:32:56 +0000]
darwin-afsdb-handler-signal-mask-
20040728
FIXES 6027
mask signals on darwin so afsdb handler doesn't die
Rainer Schöpf [Thu, 29 Jul 2004 04:18:07 +0000]
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.
Kris Van Hees [Thu, 29 Jul 2004 04:13:37 +0000]
afs-suser-consistent-
20040728
FIXES 6034
always call afs_suser() with one arg.
always take one.
Rainer Schöpf [Thu, 29 Jul 2004 04:08:48 +0000]
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.
Derrick Brashear [Thu, 29 Jul 2004 03:46:48 +0000]
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
Derrick Brashear [Wed, 28 Jul 2004 22:49:18 +0000]
fssync-more-offline-volumes-
20040728
just let the offline volumes array be larger
Jeffrey Hutzelman [Wed, 28 Jul 2004 21:59:58 +0000]
lwp-track-qwaiting-second-try-
20040728
FIXES 5616
track qwaiting lwps rather than potentially leaking them
Jeffrey Altman [Wed, 28 Jul 2004 04:54:19 +0000]
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.)
Jeremy Mika [Tue, 27 Jul 2004 17:24:40 +0000]
fbsd53-
20040727
FreeBSD 5.3 has an extra thread arg to vflush()
Jim Rees [Tue, 27 Jul 2004 15:39:31 +0000]
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
Asanka Herath [Tue, 27 Jul 2004 14:32:38 +0000]
msi-deployment-guide-
20040727
a guide to making organization specific modifications to the msi
installer
Tommie Gannert [Tue, 27 Jul 2004 14:23:11 +0000]
registry-txt-
20040727
Remove duplicate entries
Jeffrey Altman [Tue, 27 Jul 2004 22:34:46 +0000]
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.
Jeffrey Altman [Tue, 27 Jul 2004 00:24:09 +0000]
winnotes-
20040726
Updates for 1.3.66
Asanka Herath [Tue, 27 Jul 2004 00:22:20 +0000]
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.
Jeffrey Altman [Tue, 27 Jul 2004 00:14:42 +0000]
afslogon-
20040726
Only display the "Integrated Login failed" message box if Integrated
Login is in fact being used.
Jeffrey Altman [Tue, 27 Jul 2004 00:01:31 +0000]
afsconfig-dns-cells-
20040726
Another annoying bug. afs_config.exe now validates cell names against
DNS in addition to the CellServDB file.
Jeffrey Altman [Mon, 26 Jul 2004 21:40:23 +0000]
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
Jeffrey Altman [Mon, 26 Jul 2004 20:08:42 +0000]
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.
Jeffrey Altman [Mon, 26 Jul 2004 03:48:47 +0000]
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.
Jeffrey Altman [Sun, 25 Jul 2004 22:47:20 +0000]
version-update-
20040725
Update version to 1.3.66
Jeffrey Altman [Sun, 25 Jul 2004 22:45:19 +0000]
kfw-2-6-4-
20040725
Update KFW SDK to 2.6.4
Jeffrey Altman [Sun, 25 Jul 2004 21:53:09 +0000]
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
Jeffrey Altman [Sat, 24 Jul 2004 19:59:32 +0000]
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.
Jeffrey Altman [Sat, 24 Jul 2004 16:25:35 +0000]
global-drives-
20040724
If creating the global drive letter fails, attempt to cancel the
previous use and then re-create.
Jeffrey Altman [Sat, 24 Jul 2004 09:31:15 +0000]
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.
Asanka Herath [Sat, 24 Jul 2004 08:35:04 +0000]
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.
Jeffrey Altman [Fri, 23 Jul 2004 23:58:24 +0000]
down-before-busy-
20040723
slight correction to previous patch.
check allDown before checking allBusy
Jeffrey Altman [Fri, 23 Jul 2004 23:25:23 +0000]
install-notes-
20040723
Update the install notes to describe conflicts between SMB Authentication
and Windows machines configured with non-Windows Kerberos authentication
used to map to local accounts.
====================
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 to smb auth vs external kerberos login
Derrick Brashear [Fri, 23 Jul 2004 23:06:22 +0000]
linux-null-out-stat-struct-
20040723
FIXES 3812
we should memset this to 0. we should also only do it once for linux 2.2. code is slightly different in the cvs head.
Jeffrey Altman [Fri, 23 Jul 2004 22:55:23 +0000]
allserversdown-
20040723
When all servers associated with a volume get into the CM_SERVERFLAG_DOWN
state, the error CM_ERROR_ALLOFFLINE would be returned by cm_ConnByMServers.
cm_Analyze was then supposed to be pausing for 5 seconds and then reset the
volume information. Unfortunately, although it called cm_ForceUpdateVolume,
cm_ForceUpdateVolume does not reset the CM_SERVERFLAG_DOWN state on the
servers. Therefore, when cm_ForceUpdateVolume calls cm_ConnByMServers it
would be given a CM_ERROR_ALLOFFLINE. In other words, there was no way
out of the state.
cm_Analyze will now reset the CM_SERVERFLAG_DOWN as well as setting the
server status to not_busy after its 5 second wait. This will allow
cm_ForceUpdateVolume to actually reset the volume information, and
refresh it if servers for the volume are newly accessible.
Also, added some missing locking calls in cm_Analyze.
In cm_ConnByMServers, change the error reporting to return CM_ERROR_ALLBUSY
only when all servers are busy or down; return CM_ERROR_ALLOFFLINE when all
servers are down; and only return CM_ERROR_NOSUCHVOLUME if the server list
for the volume is empty. In all other cases return CM_ERROR_TIMEDOUT.
Jeffrey Altman [Fri, 23 Jul 2004 00:21:06 +0000]
afslogon-domain-
20040722
Fix null reference to bstr when active directory is not available
during a short domain acquisition
Jeffrey Altman [Thu, 22 Jul 2004 23:41:27 +0000]
prototypes-
20040723
fix prototype for afs_realm_of_cell
Jeffrey Altman [Thu, 22 Jul 2004 23:15:37 +0000]
afslogon-
20040722
the procedure used to obtain the profile directory failed in Domains
which were not Forests. If ADS_NAME_INITTYPE_GC fails, we must try
ADS_NAME_INITTYPE_DOMAIN which requires the Domain. Added a Domain
parameter to QueryAdHomePathFromSid. This was easy to obtain in
the NPLogonNotify since the logon domain is provided as a parameter.
Unfortunately, the domain provided to the winlogon event notification
routine is the user authentication domain, not the logon domain for
the local machine. Needed to create a GetLocalShortDomain function
which uses the IADsADSystemInfo COM interface to obtain the local
short domain. With this in place, we can now properly detect the
profile directory in all cases.
Document MaxLogSize in registry.txt
Jeffrey Altman [Thu, 22 Jul 2004 10:42:40 +0000]
misc-cleanup-
20040721
pass the correct data type into afssw_GetClientCellServDBDir
Jeffrey Altman [Thu, 22 Jul 2004 10:23:52 +0000]
misc-cleanups-
20040721
* Cleanup debug logging. In particular, allow the TraceOptions registry
value to be used as a bit flag as it was intended. Give each type of
debugging its own value instead of having each module test for the zero
bit.
* Modify the handling of the afsd_init.log file. This file originally
was replaced on each start. However, with auto-restart this causes
any error information from the previous halt to be lost. So it was
changed quite a while back to append forever. The problem with this
is that the file gets unreasonably large. Solution: add a new registry
value, MaxLogSize, which determins how large the file should be allowed
to become before truncation. The default is 100K. The magic value 0
means grow indefinitely.
* Update afslogon.dll. Cleanup logging. Fix some errors. Remove unused
variables. AND do not Forget Tokens on Logoff if the profile is located
in AFS space.
* Fix a bug introduced yesterday in cellconfig.c which caused problems
accessing the CellServDB file
* Update the NSIS installer to replace the CRTL DLLs instead of overwrite
them.
* Add new Startup Winlogon handler to initialize the TraceOption.
Derrick Brashear [Wed, 21 Jul 2004 23:23:38 +0000]
fstrace-avoid-double-glock-in-dentry-code-during-fstrace-
20040719
fstracing on a linux machine and trying to fs flush a file in the cache would trigger a hang on a machine with SMP kernel. fix it.
====================
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.
====================
fstracing on a linux machine and trying to fs flush a file in the cache would tr
igger a hang on a machine with SMP kernel. fix it.
Jeffrey Altman [Wed, 21 Jul 2004 22:41:33 +0000]
trace-logging-
20040721
TraceLogging is supposed to be activated for different purposes
with bit flags. The osi log and afslogon both used the same bit
flag. Bit 0 is now for afslogon; and Bit 1 is for osi log.
Jeffrey Altman [Wed, 21 Jul 2004 17:08:28 +0000]
cifs-rap-
20040721
Fix smb_ReceiveRAPNetShareEnum to report the correct buffer size to the
client
Jeffrey Altman [Wed, 21 Jul 2004 15:05:59 +0000]
registry-docs-logoff-
20040721
* Update Windows Notes files
* Modify logoff procedure to use a pioctl to check if an arbitrary path
exists within AFS
* Add a new registry value HKLM\Software\OpenAFS\Client CellServDBDir
which can be used to locate the CellServDB file in an arbitrary directory
Jeffrey Altman [Wed, 21 Jul 2004 06:27:44 +0000]
afslogon-
20040720
Do not release the AFS Tokens at logoff if the user's profile was loaded
from AFS. In this case we must keep the AFS tokens because we have no
idea how long writing back the profile might take.
Asanka Herath [Wed, 21 Jul 2004 05:43:07 +0000]
smb-rap-
20040720
Add CIFS RAP support to the SMB server. This allows AFS to be queried
with NetGetShareInfo, NetGetServerInfo, etc. This allows the AFS SMB
server to be browsed using NET VIEW.
Jeffrey Altman [Tue, 20 Jul 2004 16:51:07 +0000]
user-auth-cell-
20040720
remember to return the authentication cell name if found
Jeffrey Altman [Tue, 20 Jul 2004 16:48:18 +0000]
submounts-
20040720
Fix afsshare.c to strip the MountRoot off the afs-path before inserting into
the registry
Fix smb.c to read the submounts out of the registry.
====================
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.
====================
fix submount extraction from registry
Jeffrey Altman [Tue, 20 Jul 2004 06:16:35 +0000]
afsshare-
20040719
correct off by one error
Jeffrey Altman [Mon, 19 Jul 2004 23:40:12 +0000]
ioctl-freelance-
20040719
Do not perform a Cell Search when the name matches the SMB IOCTL filename.
This is a special name and is not to be treated as a cell. The failure
to find the name produces DNS queries as well as disk access.
Derrick Brashear [Mon, 19 Jul 2004 16:25:16 +0000]
pthread-ft-approxtime-is-time-
20040719
for tvolser most code paths simply never result in time being updated. seems dangerous.
Jeffrey Altman [Mon, 19 Jul 2004 15:39:38 +0000]
win32-fd_set-
20040719
Make sure that we do not alter the FD_SETSIZE on Windows.
On Windows this is an array of FD_SETSIZE. FD_SETSIZE does
not define the maximum socket handle value.
Asanka Herath [Fri, 16 Jul 2004 05:49:26 +0000]
registry-
20040715
Description of new afslogon functionality
Asanka Herath [Fri, 16 Jul 2004 05:40:54 +0000]
strsafe-
20040715
String Safety fixes
Jeffrey Altman [Fri, 16 Jul 2004 04:56:46 +0000]
ntmakefile-
20040715
Updated makefiles to avoid macro redefinitions and add new files
to src/WINNT/afsd
Asanka Herath [Fri, 16 Jul 2004 04:48:22 +0000]
afslogon-
20040715
New file for AD logon processing routines.
Jeffrey Altman [Fri, 16 Jul 2004 04:38:25 +0000]
afslogon-wix-cleanup-
20040715
- Fix NTMakefiles in many directories to define WIN32_LEAN_AND_MEAN NOGDI
to avoid macro redefinitions
- update text files
- add "authentication cell" registry value for afscreds.exe
From asanka@mit.edu:
Network provider :
- If the user is logging into an AD domain, then look up the user's
profile path, find out which cell it's in and then authenticate to
that cell instead of the default cell.
- Domain specific registry keys
- A few fixes for handling UNICODE_STRINGs
smb3.c :
- Delete partial security context during negotiation
client_cpa :
- As per the SDK which says we must handle CPL_INQUIRE message, we do.
Also fixes a small bug where the icon isn't properly set when viewing
the Control Panel folder.
loopbackutils.cpp
- Don't bother setting the app data template, because we are setting
it in the MSI anyway.
install/wix/NTMakefile
- Add a configurable symbol AFSDEV_AUXWIXDEFINES which can be used to
customize a build of the msi.
install/wix
- Move afslogon.dll to SYSTEM32 directory
- Add registry keys to support WinLogon notifications.
- Rename afsdcell.ini to CellServDB and move it to the client directory.
- If there's already an afsdcell.ini in the Windows directory, copy
that over to the client directory instead.
- Add descriptions to AFS client and server services
Jeffrey Altman [Thu, 15 Jul 2004 17:26:35 +0000]
winnotes-
20040715
Update Windows note files with the latest changes.
Jeffrey Altman [Thu, 15 Jul 2004 07:53:12 +0000]
nsis-installer-
20040714
Move afs_cpa.cpl control panel to the OpenAFS\Client\Program
directory and register it in the registry via the
HKLM\Software\Microsoft\Windows\CurrentVersion\Control Panel\Cpls\
key.
Jeffrey Altman [Thu, 15 Jul 2004 06:24:22 +0000]
nsis-
20040714
Rename afsdcell.ini to CellServDB
Add Winlogon Event Notification support
Move afslogon.dll to %WINDIR%\System32
Jeffrey Altman [Thu, 15 Jul 2004 06:22:14 +0000]
cellservdb-
20040714
Search for the CellServDB in the OpenAFS client install directory
not in the %WINDIR% directory
Jeffrey Altman [Thu, 15 Jul 2004 06:20:33 +0000]
afslogon-
20040714
Add a Winlogon Event Notification handler to afslogon.dll to process
Logoff events. Upon Logoff call ktc_ForgetAllTokens() on behalf of
the logged off user.
Fix a filename wildcard matching error introduced a few versions back.
Jeffrey Altman [Wed, 14 Jul 2004 07:34:09 +0000]
incorrect-level-of-indirection-
20040713
When freeing a server_t, do not indirect to GC the connections
Asanka Herath [Wed, 14 Jul 2004 07:12:20 +0000]
xp-sp2-icf-
20040713
Windows XP SP2 adds a firewall which blocks all incoming ports by default.
This patch adds support to the AFS Client Service (but not the AFS Server)
to automatically open the firewall to ports in use by the application.
One of the new requirements of this functionality is the use of the
latest Platform SDK "Microsoft Platform SDK for Windows XP SP2".
====================
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.
====================
For the XP SP2 SDK both the Core and Data Access SDKs are required
Hans-Gunther Borrmann [Wed, 14 Jul 2004 05:46:48 +0000]
butc-xbsa-
20040714
FIXES 5827
update for xbsa 5
Chas Williams [Wed, 14 Jul 2004 05:34:46 +0000]
glock-kernel-lock-ordering-
20040714
FIXES 5836
make lock order consistent
some routines have kernel lock held when entered, so...
Chas Williams [Wed, 14 Jul 2004 05:21:54 +0000]
fix-fstrace-for-linux-
20040714
FIXES 5835
don't deadlock when flushing dcache children
Chas Williams [Wed, 14 Jul 2004 05:14:31 +0000]
linux-free-dont-drop-alloc-sem-
20040714
FIXES 5831
dropping semaphore not needed, so don't
Christoph Becker-Freyseng [Wed, 14 Jul 2004 05:08:06 +0000]
linux24-update-
20040713
FIXES 5713
make getgroups compile
deal with afs_suser(x) and afs_suser()
Jeffrey Altman [Wed, 14 Jul 2004 04:28:36 +0000]
no-more-ini-files-
20040713
Get rid of all %WINDIR% INI files
afs_freelance.ini moved to the HKLM hive SOFTWARE\OpenAFS\Client\Freelance
afsdcell.ini moved to the Openafs Client install directory and renamed
to CellServDB to match Unix and the Openafs Server.
afsdsbmt.ini moved to the registry. Submounts are moved to HKLM hive
SOFTWARE\OpenAFS\Client\Submounts. Active Maps and Drive Mappings are
moved to the HKCU hive SOFTWARE\OpenAFS\Client\Active Maps and Mappings.
CSCPolicy is moved to HKCU hive.
afsdns.ini is no longer used.
NSIS installer updated to migrate the afsdcell.ini to CellServDB
The cm_freelance.ini module has been modified to migrate the afs_freelance.ini
data to the registry on first execution.
The afsdsbmt.ini file data is not currently being migrated.
Jeffrey Altman [Tue, 13 Jul 2004 14:09:16 +0000]
migrate-to-registry-
20040713
* NTMakefile: missing commit from SMB AUTH patches
* cm_config.c: obtain location of CellServDB from registry
[HKLM\SOFTWARE\OpenAFS\Client] "CellServDB"=reg_sz
This will allow us to move from %WINDIR%\afsdcell.ini to
C:\Program Files\OpenAFS\Client\CellServDB. This is necessary
for compatibility with Terminal Server in which applications
are not given access to %WINDIR%.
* cm_freelance.c: migrate freelance mount point data from
%WINDIR%\afs_freelance.ini to the registry
[HKLM\SOFTWARE\OpenAFS\Client\Freelance]
Each value, whose name is unimportant, contains one mount point
entry. After the first execution of this code, the current data
in afs_freelance.ini will be moved to the registry and then all
subsequent data access will be performed via the registry.
The afs_freelance.ini file will be deleted after the migration
has occurred.
Jeffrey Altman [Tue, 13 Jul 2004 07:22:53 +0000]
ntlm-back-connection-hostnames-
20040713
Add function configureBackConnectionHostNames(void)
On Windows XP SP2, Windows 2003 SP1, and all future Windows operating systems
there is a restriction on the use of SMB authentication on loopback connections.
There are two work arounds available:
(1) We can disable the check for matching host names. This does not
require a reboot:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"DisableLoopbackCheck"=dword:
00000001
(2) We can add the AFS SMB/CIFS service name to an approved list. This
does require a reboot:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0]
"BackConnectionHostNames"=multi-sz
The algorithm will be:
Check to see if cm_NetbiosName exists in the BackConnectionHostNames list
If not, add it to the list. (This will not take effect until the next reboot.)
and check to see if DisableLoopbackCheck is set.
If not set, set the DisableLoopbackCheck value to 0x1
and create HKLM\SOFTWARE\OpenAFS\Client UnsetDisableLoopbackCheck
else If cm_NetbiosName exists in the BackConnectionHostNames list,
check for the UnsetDisableLoopbackCheck value.
If set, set the DisableLoopbackCheck flag to 0x0
and delete the UnsetDisableLoopbackCheck value
Derrick Brashear [Tue, 13 Jul 2004 07:08:32 +0000]
admin-doc-sysname-
20040713
FIXES 4054
update docs to reflect sys being static.
Hans-Gunther Borrmann [Tue, 13 Jul 2004 06:52:44 +0000]
butc-xbsa-
20040713
FIXES 5761
update for butc xbsa support