Commit Graph

2361 Commits

Author SHA1 Message Date
Rolandas Naujikas
e92fa6160f STABLE14-non-ad-afs-profile-20040819
NetUserGetProfilePath function provided by Rolandas Naujikas


(cherry picked from commit f2b18e7af8)
2004-08-19 20:50:58 +00:00
Jeffrey Altman
de3c0220a1 STABLE14-time_t-20040818
Make sure the response of time() is stored in a time_t


(cherry picked from commit 3de51188f7)
2004-08-18 18:52:30 +00:00
Jeffrey Altman
bf40fd9b2e STABLE14-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 ...


(cherry picked from commit f21740a0ac)
2004-08-18 18:11:22 +00:00
Jeffrey Altman
8b9f7ddf22 STABLE14-cellservdb-20040817
update to current gco


(cherry picked from commit ddaba14e37)
2004-08-17 21:17:16 +00:00
Jeffrey Altman
e026af66f1 STABLE14-osilog-messages-20040817
move the cm_GetCell_gen debug messages to the trace log


(cherry picked from commit 202a27f073)
2004-08-17 18:16:02 +00:00
Jeffrey Altman
5b72b80187 STABLE14-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


(cherry picked from commit 1ae8a71dfa)
2004-08-17 16:26:04 +00:00
Jeffrey Altman
9006fe486d STABLE14-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.


(cherry picked from commit 3dce18d248)
2004-08-17 05:28:34 +00:00
Jeffrey Altman
9e1bc019b9 STABLE14-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.


(cherry picked from commit 2e8a3050d3)
2004-08-10 05:10:44 +00:00
Jeffrey Altman
60858a97cc STABLE14-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.


(cherry picked from commit 7a2fea24df)
2004-08-10 04:46:24 +00:00
Jeffrey Altman
8e2a653337 STABLE14-msvs8-20040810
changes to support building under msvs8.  this will allow us to produce
64-bit binaries.


(cherry picked from commit 4394e421bb)
2004-08-09 21:57:08 +00:00
Jeffrey Altman
e462ee34b5 STABLE14-null-pointer-20040809
protect against a null pointer reference in smb_ReceiveV3Trans
when its the first packet and the totalData and totalParms are 0


(cherry picked from commit 3fd571cb10)
2004-08-09 21:55:05 +00:00
Joakim Fallsjö
a248850b3c STABLE14-solaris-x86-9-support-20040809
osconf stuff for solaris x86 9.0


(cherry picked from commit 7bc57bc068)
2004-08-09 10:19:26 +00:00
Jeffrey Altman
d98157d514 remove-winlogon-key-20040810
Make sure installers remove winlogon event handler key
2004-08-09 06:13:38 +00:00
Derrick Brashear
88418dccc8 tvolser-default-20040809
build and install tvolser on platforms with tviced.
2004-08-09 05:35:51 +00:00
Jeffrey Altman
544afa6bcc 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
2004-08-09 05:20:07 +00:00
Derrick Brashear
c1b72715c2 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
2004-08-09 05:13:57 +00:00
Derrick Brashear
aa72caacc4 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.
2004-08-09 05:07:33 +00:00
Derrick Brashear
bdbb4fd767 irix-largefile-client-20040808
enable largefile support in the client
2004-08-09 04:30:18 +00:00
Derrick Brashear
b26b38a321 irix-osi-cred-decl-20040808
add cred declaration for irix back
2004-08-09 04:25:45 +00:00
Derrick Brashear
9a2ff82f9b dux50-largefile-client-20040808
good here also
2004-08-09 02:23:32 +00:00
Derrick Brashear
faf9b11012 dux-rxk-init-is-void-20040808
rxk_init is a void function
2004-08-09 01:58:50 +00:00
Derrick Brashear
20074af8e1 dux-min-direct-20040808
someone removed d_fileno from the generic case, put it back there.
(maybe it was me, who knows...)
2004-08-09 01:54:05 +00:00
Derrick Brashear
3ffd1b18ad dux-kernel-cleanup-20040808
more "cleanup cleanup"
2004-08-09 01:24:57 +00:00
Derrick Brashear
34a078003d dux-gcpags-20040808
pidtab and npids need to be pulled in so this works
2004-08-09 01:17:33 +00:00
Derrick Brashear
1a7e336a16 dux-vol-cleanup-20040808
make partition code work again on dux
2004-08-09 00:59:51 +00:00
Derrick Brashear
fc2133da49 ubik-reorder-functions-20040808
avoid need for prototypes by reordering
2004-08-09 00:57:23 +00:00
Derrick Brashear
5f93afbeff dux-lwp-makefile-fix-20040808
tru64 hates indented comments inmakefiles
2004-08-09 00:49:52 +00:00
Derrick Brashear
3feb2837fa macos-largefile-client-20040808
libcc_kext is needed for ashldi3, ashrdi3, so that long long operations
don't result in undefined symbols
2004-08-09 00:12:55 +00:00
Love Hörnquist-Åstrand
5bc0d218f5 rxgk-import-20040808
not actually hooked in yet, but getting it in so we can work with it.
2004-08-08 20:21:33 +00:00
Derrick Brashear
2376b591d0 macos-10-autoconf-update-20040808
10.3.4 and 10.3.5 work
2004-08-08 20:07:09 +00:00
Derrick Brashear
ed1098ad10 solaris-largefile-client-20040808
enable largefile client for sparc and x86 solaris 8 and on.
2004-08-08 19:14:08 +00:00
Jeffrey Altman
e3627407b2 debug-messages-20040808
make sure that all messages logged to the Event Log are also in the
trace log
2004-08-08 17:55:28 +00:00
Jeffrey Altman
3d790dd232 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
2004-08-07 22:32:46 +00:00
Asanka Herath
99cd190567 hidden-dot-files-20040807
Hide dot files even when we can't stat the file.
2004-08-07 17:56:26 +00:00
Jeffrey Altman
9fef137786 unused-vars-20040807
remove unused variables
2004-08-07 15:14:17 +00:00
Jeffrey Altman
413f2aaf60 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.
2004-08-07 15:12:11 +00:00
Jeffrey Altman
e8553285e2 ignore-me-20040812
ignore this commit
2004-08-07 14:45:59 +00:00
Jeffrey Altman
0cf725772b 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.
2004-08-07 06:44:05 +00:00
Tracy Di Marco White
6fc2e2900c netbsd-20-update-20040806
make it compile with current netbsd
2004-08-06 22:48:28 +00:00
Derrick Brashear
01845f22fb netbsd-has-long-long-20040806
feedback from gendalia@iastate.edu
2004-08-06 21:13:44 +00:00
Jeffrey Altman
bcc2794e26 ntlang-20040805
No longer warn about executing language registry file.
2004-08-05 17:51:41 +00:00
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