Commit Graph

5446 Commits

Author SHA1 Message Date
Derrick Brashear
267472a473 viced-helper-thread-count-20081111
LICENSE IPL10

fix the thread count of helpers so we don't go past 128
2008-11-11 20:31:19 +00:00
Jeffrey Altman
de2044ca66 windows-netidmgr-vs-referrals-20081111
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
2008-11-11 03:33:24 +00:00
Marc Dionne
041f09e17b linux-new-aop-20081108
LICENSE IPL10
FIXES 123580

support for 2.6.28
2008-11-08 16:49:25 +00:00
Marc Dionne
4eab64ebd8 linux-fh-based-cache-20081108
LICENSE IPL10
FIXES 123620

use linux fh (exportfs api) to do cache file access. conditionalize based on
configure switch.
2008-11-08 16:34:24 +00:00
Marc Dionne
18e78d91e7 linux-disable-readahad-20081108
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.
2008-11-08 16:09:25 +00:00
Steve McIntosh
0ac956b338 salvager-no-chdir-20081108
LICENSE IPL10
FIXES 123577

make sure salvager cores don't get left in vice partitions
2008-11-08 15:58:06 +00:00
Jeffrey Hutzelman
35bc549bf9 cellservdb-20081107
new cellservdb from central.org
2008-11-08 02:28:48 +00:00
Jeffrey Altman
aff6ee8987 windows-linked-cells-10081107
LICENSE MIT

prevent stack overflow
2008-11-07 21:00:43 +00:00
Asanka Herath
99e202b073 windows-nim-afs-longer-cell-names-20081107
LICENSE MIT

permit cell and realm names to be longer than the input field.
2008-11-07 18:19:38 +00:00
Jeffrey Altman
fffc8d7016 windows-nim-afs-linked-cells-20081107
LICENSE MIT

add linked cell support to the NIM afs provider.
2008-11-07 16:35:20 +00:00
Jeffrey Altman
01c4e08cf8 windows-aklog-linked-cells-20081106
LICENSE MIT

Add support for linked cells.  Acquire tokens for the linked cell in
addition to the specified cell.
2008-11-07 05:40:59 +00:00
Jason Edgecombe
32c271187a doc-user-guide-acl-example-fix-20081106
FIXES 123331
LICENSE BSD

fs sa takes a directory as its first argument.
2008-11-07 00:26:17 +00:00
Jeffrey Altman
68902640a2 windows-config-ipaddr-parsing-20081106
LICENSE MIT

when parsing ipaddrs in CellServDB rejects addrs whose components are
values greater than 255.
2008-11-06 22:09:05 +00:00
Jeffrey Altman
a366182136 windows-afsd-hook-20081106
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.
2008-11-06 19:18:32 +00:00
Simon Wilkinson
eccc12fb07 redhat-packaging-krb-conf-man-page-20081105
LICENSE IPL10

account for the new manpage
2008-11-05 21:29:06 +00:00
Jeffrey Altman
70fda445bd windows-linked-cells-20081103
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.
2008-11-03 19:55:38 +00:00
Jeffrey Altman
303c70efd4 windows-prevent-wow64-execution-20081031
LICENSE MIT

prevent the 32-bit build from being executed in the wow64 environment
2008-11-01 03:37:56 +00:00
Jeffrey Altman
1d18280f20 windows-release-notes-missing-files-20081029
LICENSE MIT

pulled down from 1.5
2008-10-29 20:06:54 +00:00
Simon Wilkinson
50e1e59a92 aklog-attempt-order-comments-20081029
LICENSE IPL10

to clarify what gets tried when and why.
2008-10-29 19:43:42 +00:00
Max Cohan
ef70f73141 windows-setup-utils-20081028
LICENSE IPL10

correct file name to match the file.
committed broken in windows-file-versioning-20030619
2008-10-28 17:55:19 +00:00
Simon Wilkinson
fc78255c1d initialize-variables-to-avoid-logic-issues-20081027
LICENSE IPL10

make sure any variable whose value is used will be initialized before that
value is used. (these aren't just warnings)
2008-10-27 23:53:23 +00:00
Simon Wilkinson
f27165f137 kill-uninitialized-variable-warnings-20081026
LICENSE IPL10

kill lots of compiler warnings
2008-10-27 23:41:02 +00:00
Jeffrey Altman
aa09aa2be1 windows-pioctl-drive-map-20081026
LICENSE MIT

a remote drive connection may not be mapped to a local drive letter.
2008-10-26 21:52:29 +00:00
Jeffrey Altman
a824cbda62 rx-rdwr-avoid-free-null-packet-20081026
LICENSE MIT

avoid a potential call to rxi_FreePacket with a NULL pointer as input
2008-10-26 21:16:57 +00:00
Jeffrey Altman
a614a8d954 ptutils-restricted-accessok-20081025
LICENSE MIT

Fix restricted mode test when 'any' is not set on AccessOK
2008-10-26 07:50:39 +00:00
Simon Wilkinson
8a33059215 exporter-call-gethost-method-correctly-20081025
LICENSE IPL10

actually call the correct method for EXP_GETHOST
2008-10-26 01:45:45 +00:00
Simon Wilkinson
3f08225c6b rx-rwlock-cleanup-20081025
LICENSE IPL10

make the rwlock patch actually build everywhere
2008-10-26 01:04:12 +00:00
Simon Wilkinson
f2014112bc aklog-chatty-20081025
LICENSE IPL10

make aklog not accidentally be chatty
2008-10-26 00:59:55 +00:00
Derrick Brashear
069cd726c0 darwin-kernel-rwlocks-20081023
LICENSE IPL10

convert to kernel rwlocks on darwin
2008-10-24 22:07:01 +00:00
Derrick Brashear
e73e2ff4b5 rx-atomics-for-solaris-and-darwin-20081023
LICENSE IPL10

support atomics on osx and solaris
2008-10-24 21:59:52 +00:00
Jeffrey Altman
23a511739b rx-rw-locking-20081024
LICENSE BSD

rename RWLOCK_INIT to AFS_RWLOCK_INIT in order to maintain naming
consistency and to distinguish them from the new RWLOCK_INIT macros
being used in rx.

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

add rx/rx_internal.h as a dependency

====================
LICENSE BSD

define RWLOCK_xxx operations

replace MUTEX_xxx operations with RWLOCK_xxx when it is appropriate
to do so.  This improves concurrency on multi-processor systems.

make additional use of atomic operations
2008-10-24 21:38:56 +00:00
Jeffrey Altman
f64ecbf721 windows-reformatting-20081021
LICENSE MIT

reformat some of the recent changes

cast away warnings on 64-bit windows
2008-10-22 02:25:25 +00:00
Derrick Brashear
a7a1846ab7 fd-setsize-test-20081021
LICENSE BSD

a test so we can deal with platforms which don't honor FD_SETSIZE
2008-10-21 19:36:35 +00:00
Derrick Brashear
9bca8ce22a linux24-writepage-antideadlock-20081021
LICENSE IPL10

also make this work for 2.4.x
2008-10-21 14:44:50 +00:00
Derrick Brashear
6d14b44b7c blacklist-move-init-checks-back-into-req-code-20081020
LICENSE IPL10

revise things so we don't need to check initd outside analyze.c/InitReq

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

since these end up being used, init them too
2008-10-20 20:29:26 +00:00
Derrick Brashear
4a587356a3 linux-mmap-antirecursion-20081020
LICENSE IPL10
FIXES 120491

avoid deadlocking ourselves due to recursion when flushing pages on an
mmap()ed file larger than the cache
2008-10-20 13:38:07 +00:00
Marc Dionne
bc9c0a1415 autoconf-262-support-20081020
LICENSE IPL10
FIXES 118058

fix the quoting and remove the tests we shouldn't need anymore
2008-10-20 13:34:58 +00:00
Derrick Brashear
3ad8fba85f blacklist-check-only-existing-servers-20081020
LICENSE IPL10

based on suggestion from haba@pdc.kth.se
2008-10-20 13:03:44 +00:00
Marc Dionne
7366eb3d46 blacklistonce-use-only-initd-vrequest-20081020
LICENSE IPL10

avoid using an un "initd" vrequest for server blacklisting
2008-10-20 13:01:34 +00:00
Asanka Herath
90e4242c2d windows-handle-invalid-utf16-names-20081019
LICENSE MIT
FIXES 116641

Windows will deliver to OpenAFS UTF16 strings that are not valid Unicode
and cannot be converted to UTF8.  Return bad file name errors in those
cases.

Make sure all file server strings once converted to UTF16 can be converted
back.  If not, escape the invalid portions of the string so that the
file can be accessed.
2008-10-20 00:17:41 +00:00
Jeffrey Altman
0c7d7ce3b8 windows-smb-rdr-duration-logging-20081019
LICENSE MIT

if an smb request takes longer than 45 seconds, log info to afsd_init.log
that might be helpful in determining patterns in the smb client disconnects
2008-10-19 23:50:21 +00:00
Jeffrey Altman
622f9b0de8 windows-smb-bridge-nowild-error-handling-20081019
LICENSE MIT

add the error preprocessor symbol to the error string

if both an NRC_BRIDGE and NRC_NOWILD error are received within
the smb_Listener thread, try re-adding the NetbiosName to the lana
before giving up and quiting.
2008-10-19 23:44:20 +00:00
Jeffrey Hutzelman
2767cbf773 newtrans-lock-fix-fix-20081018
LICENSE IPL10

swap in the freshly allocated memory instead of throwing it away
2008-10-18 20:25:56 +00:00
Jeffrey Altman
f9191fdebc smb-symlink-to-vnovnode-attribute-20081017
LICENSE MIT

When reporting the attribute of a directory name which happens to be
a symlink object to a file that cannot be accessed or does not exist,
use the target name to guess the type of the object.  If it has an
extension, consider it a file, otherwise report it as a directory.
2008-10-18 18:01:07 +00:00
Jeffrey Altman
7e8c41d53f ubik-uninitialized-var-20081018
LICENSE MIT

'pass' must be initialized.  do so.
2008-10-18 16:24:35 +00:00
Jeffrey Altman
f69137625f restore-uninitialized-var-20081018
LICENSE MIT

'last' must be initialized.  do so.
2008-10-18 16:23:13 +00:00
Jeffrey Altman
1bdea5e470 fix-maxmtu-command-line-20081018
LICENSE MIT

fix the variable used for maxmtu command line processing
2008-10-18 16:08:50 +00:00
Jeffrey Altman
f5455f7498 windows-pioctl-wnet-connected-20081018
LICENSE MIT

refactor.  consolidate netbios name acquistion.
2008-10-18 14:12:19 +00:00
Jeffrey Altman
75f496df17 windows-pioctl-wnet-connected-20081017
LICENSE MIT

use WNetEnumXXX functions to list connected disk resources.
If the requested drive letter is an AFS resource, perform the pioctl
test.  If it is not, fail immediately.
2008-10-18 07:19:17 +00:00
Jeffrey Altman
edf7a40203 windows-reset-acl-list-20081017
LICENSE MIT

Move definition of cm_ResetACLCache from cm_ioctl.c to cm_aclent.c
2008-10-18 05:44:51 +00:00