LICENSE IPL10
FIXES 123677
make the cache able to be filesystem-agnostic so a ZFS cache is possible
(cherry picked from commit 29457b1ca71518b29bb9e9e934c58e6fa4b9877a)
LICENSE IPL10
FIXES 123771
go back to referencing f.inode and not ainode when not using the fh cachefiles.
put back the dcache reference again.
(cherry picked from commit 4db6293a06ff573eb650cbf9bbf53440a7ee83a2)
LICENSE IPL10
FIXES 123714
fix code which tweaks refcounts on disconnected vcaches to be correct
(cherry picked from commit fb549013e7bb2cf5cb3da3083349cb559c093e8f)
LICENSE MIT
Rename rxi_getAllAddrMaskMtu to rx_getAllAddrMaskMtu.
Implement rx_getAllAddrMaskMtu for Windows.
Add rx_getAllAddrMaskMtu to the libafsrpc exports list.
Remove restrictions on use of NetRestrict / NetInfo files from
all services on Windows.
(cherry picked from commit 55ac2b7aa7da8ead2b3457781d9d60958bfad6be)
LICENSE MIT
FIXES 123726
drive letters mapped to \\afs by the global auto mapper do not show
up as mapped drives. Add a check for the drive mapping based upon
the registry configuration.
(cherry picked from commit 5697e58a07e39eba9609685695e1718cbc9794e4)
LICENSE MIT
FIXES 123680
Examination of dump shows that smb_IsMask is being called on a
non-8.3 input buffer. Separate smb_IsMask() into smb_Is8Dot3Mask()
for 8.3 input buffers and smb_IsMask() for non-8.3 input buffers.
(cherry picked from commit f3384d6378173dbaf550283851a8948654af548c)
LICENSE IPL10
FIXES 123649
based on suggestion from Hung_Pham@unc.edu
build aix5 module for aix6
(cherry picked from commit b5fea780fbb0ea12d3d086210d0abbef12e24560)
LICENSE MIT
FIXES 123655
Protect against an smb packet containing a uid for which we have no
active session in the virtual circuit.
(cherry picked from commit 5fe7d9c6d9482651859d91f3022ac5ae0a127835)
LICENSE MIT
change the interface to buf_CleanAsync / buf_CleanAsyncLocked to permit
errors to be propagated to the caller.
(cherry picked from commit d312166bfd2e7e877ae5559a82050f3ecc3555ee)
LICENSE MIT
return an error if the enumeration of the directory cannot complete
because the btree has not yet been generated.
(cherry picked from commit ab37d70f502e3b5ebdbfe23107ac5006cc0e9a2f)
After code study, we've decided that additional blocks do add 32 octets,
not 16, despite messages to the contrary in the archives.
(cherry picked from commit a3c9b01f3adae098dbd31e7b9742dec5f8081d2c)
LICENSE BSD
Various file server man page updates: number of partitions, partition size
limits, directory file name block size, and a reference to the IBM manual
set.
(cherry picked from commit 794967ed3ec5a46329375ae19eac21c1c508c1ee)
LICENSE BSD
The sizing limit on directories is better expressed in octets than in
characters in the new possibly-Unicode world.
(cherry picked from commit 196e995b2569c7dceea8748a36431802d4875188)
LICENSE MIT
kfw referrals logic broke the logic for automated configuration of
the workstation cell with a new identity. Now if a referrals
response is returned, assume the cell belongs with the new identity.
In the long term, we need to change the logic as follows:
1. if realm indicates referrals, try to obtain the krb5 service ticket
but do not generate a token
2. if the service ticket can be obtained and
a. if the cell is not bound to any other identities,
then bind it to this one
b. if the cell is bound to another identity, prompt the user to ask
which identity (or both) should this cell be bound to and follow
the user's instruction
(cherry picked from commit de2044ca66f0de5bcdf0505373fb189b09cd49ef)
LICENSE IPL10
FIXES 123620
use linux fh (exportfs api) to do cache file access. conditionalize based on
configure switch.
(cherry picked from commit 4eab64ebd81305845d10c4a5fdfd1861bc41520b)
LICENSE IPL10
FIXES 123604
The code has long contained a backing_dev_info structure, but it
was never attached to anything. Initialize its use properly with
bdi_init, and attach it to i_mapping for every newly filled inode.
bdi_init and bdi_destroy are needed for proper initialization of
some percpu counters, otherwise we get some oopses.
(cherry picked from commit 18e78d91e78e541fce6c9295919946af0744aa7e)
LICENSE IPL10
FIXES 123577
make sure salvager cores don't get left in vice partitions
(cherry picked from commit 0ac956b3384842b3c60e72bde78a4baf58a5877f)
LICENSE MIT
Add support for linked cells. Acquire tokens for the linked cell in
addition to the specified cell.
(cherry picked from commit 01c4e08cf8c90c4f01a70e14a73c07e2382d3451)
LICENSE MIT
when parsing ipaddrs in CellServDB rejects addrs whose components are
values greater than 255.
(cherry picked from commit 68902640a2eb1d47d7dd13b3fae9d19eddf64a6e)
LICENSE MIT
When loading the afsdhook.dll require that it be in the same directory
as afsd_service.exe. This prevents LoadLibrary() from searching the PATH
environment variable if it cannot be found. If the PATH environment
variable contains a path in AFS, the library will fail to load and take
a very long time doing so.
(cherry picked from commit a36618213694f37cd1cec660336267a38cee9344)
LICENSE MIT
FIXES 123571
The Windows code base was implemented ignorant of linked cells as
defined in the src/auth/cellconfig.h struct afsconf_cell. The code
that made use of the afsconf_cell objects would leak the memory from
the linkedCell field if is non-NULL.
Add cm_SearchCellFileEx which is an extended version of cm_SearchCellFile
capable of returning a linked cell obtained from the CellServDB file.
Update GetCellConfig to populate the linkedCell field of the afsconf_cell
structure.
Modify cm_cell_t to support a linked cell name.
Modify cm_GetCell_Gen() to populate the cm_cell_t linked cell and enforce
that two cells are linked to each other.
Modify cm_GetVolumeByID() and cm_GetVolumeByName() to perform fallback
to the linked cell if the response is CM_ERROR_NOSUCHVOLUME.
(cherry picked from commit 70fda445bd0fb8bd3e246e859b4582170ea271eb)
LICENSE IPL10
correct file name to match the file.
committed broken in windows-file-versioning-20030619
(cherry picked from commit ef70f73141bf9940ec10d42c2d6ab5b6b341cdc9)
LICENSE IPL10
make sure any variable whose value is used will be initialized before that
value is used. (these aren't just warnings)
(cherry picked from commit fc78255c1dc29c55b67f7a7b4599bed141282213)