Document (at least partially) AFS's mapping of Kerberos v5 principal names
to Kerberos v4 format in the aklog man page. Also document that -setpag
may not always work.
(cherry picked from commit 46cfe728987b8d2f45a7dc718234f83fccbda9eb)
Change the CAUTIONS about afsd -shutdown to be less dire and more accurate,
as this now mostly works on Linux.
(cherry picked from commit f82012552166a51edf6931b05abd0380c429d6b6)
FIXES 44330
The return value of buf_CleanAsync is not an error value but a flag
indicating whether or not the buffer was in fact dirty. Do not treat
it as an error. The error state is stored in the buffer itself.
(cherry picked from commit 398ceb0775a0663829ce4c44a8ec08d9e63bd1ca)
FIXES 43862
Ensure that tkt_DecodeTicket and rxkad_CheckResponse return the right
RXKAD errors for ticket expiration or invalidity. Avoid calling
tkt_CheckTimes twice in rxkad_CheckResponse
(cherry picked from commit bf5bfc06638b028335ecdc19ce35315195fc6ffe)
FIXES 43862
The file server has been returning RXKADNOAUTH when the time between
the client and server is out of sync. tkt_CheckTimes returns -1 for
recently expired tickets and -2 for tickets that have been expired for
a while. In the -2 case we must return RXKADBADTICKET not RXKADNOAUTH.
(cherry picked from commit 799caa43b5417b40e43f38a690962b1d53bca374)
smb_ReleaseFID cannot be called while a cm_scache_t->mx is held
shuffle the order of the smb_ReleaseFID calls so they are always after
cm_XXXRelease calls for performance.
(cherry picked from commit c484781531ce29d3d1b5c3753322be4a87dd0841)
FIXES 43332
Some sites expect single-threaded volume attaches to happen in a specific
order. The parallel attach patch also changed the attach order for sites
not specifying -vattachpar.
(cherry picked from commit e6b719a4c0a33b0b020c07c20124a40a245dbe9e)
FIXES 43551
kreltime-guard-against-null-tm-20060731 was apparently an
attempt to deal with the possibility of localtime() returning NULL by
using localtime_r instead, and zeroing the tm structure first. This has
two problems. First, localtime_r is not guaranteed to leave its output
buffer untouched or in a sane state in the event it is given invalid
input. More importantly, the second half of this delta fixed the build
on Windows (which apparently lacks localtime_r) at the expense of using
the wrong level of indirection on other platforms.
Simple is nice, but correct is important too. There is nothing wrong
with switching to localtime_r to avoid thread safety issues. However,
the correct fix for the anticipated problem was and is to check the
return value of localtime (or localtime_r), and if it is NULL, fill in
the ktime_date with suitable default values.
The attached patch does not implement the correct fix, but does fix the
double-indirection problem, so butc will again perform correctly instead
of crashing.
(cherry picked from commit e720779b7c8472a0d928b0e1429b476f073309aa)
* don't DebugBreak unless a debugger is attached
* replace afsdcell.ini with CellServDB in error message
* do not NetBIOS Reset adapters when checking to see if only the loopback
is in use because doing so breaks the existing LANA bind
* remove a deadlock in smb3.c
* do not retry dirty buffer writes when flushing in response to a suspend
* do not flush in response to a suspend when only the loopback is present
(cherry picked from commit 4f26bcfdb3c6a47d17f825e99f9d5a1bc97eba45)
fixup build dependencies for afsp_version.h
====================
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.
====================
fixup copyrights
(cherry picked from commit 5aa0347678c472d21b99af516c64578c4af41ea9)
fixes for aix pre 5.2 (statfs64), remove a c++ style comment (makes xlc sad) and
make clean target clean
(cherry picked from commit 453abf6aa149e27622745b818afb88019e22171a)
afsp_version.h is auto-generated
====================
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 product version generation
(cherry picked from commit c8a86da7f76a8e71d883cda39c10251b0910302c)
Secure Endpoints Inc. is contributing its AFS plug-in for KFW 3.1's
Network Identity Manager to OpenAFS under an MIT style license.
(cherry picked from commit f72c2fc3e75a13e3736a275df35597ad43f620fa)