Commit Graph

4376 Commits

Author SHA1 Message Date
Jeffrey Altman
fece50be72 windows-netidmgr-plugin-20070407
protect against pr_CreateUser modifying the username buffer.
2007-04-08 03:39:52 +00:00
Jeffrey Altman
a47faf3eea windows-afslogon-20070406
Fix eventlog reporting.  Do not attempt to log an event if the event
source registration fails.  Use DebugEvent0 instead of DebugEvent
when there are no parameters.

Modify the LOOKUPKEYCHAIN macro to recognize ERROR_MORE_DATA errors.

Fix the reading of Domain specific configuration for LogonScript and
TheseCells.  Previously the dwSize value was being overwritten so that
subsequent RegQueryValueEx call would fail.

Fix a memory leak in the TheseCells reading code.

Add support for Domain specific "Realm" specification.  The realm is
the realm to be appended to the username.  When logging in as a domain
or to the local machine, the specified "Domain" name is not going to be
a valid realm name.

Construct a proper principal name based upon the domain specified realm
for use in obtaining tokens with KFW.

If the domain specified "TheseCells" list includes the default cell,
do not obtain tokens twice.
2007-04-06 17:55:35 +00:00
Jeffrey Altman
bbbf3ee9ff windows-aklog-20070404
FIXES 58164

correct for the fact that pr_CreateUser tampers with the contents
of the username input buffer.
2007-04-04 21:24:48 +00:00
Peter Breitenlohner
9c592530b1 move-tasklist-lock-extern-outside-func-20070403
FIXES 53441

make tasklist-lock extern with pragma weak possibly work right
2007-04-03 19:52:44 +00:00
Jeffrey Altman
c7c7242e78 windows-vista-sdk-ntsecapi-compat-20070403
There is no way to replace FOO with the value of BAR in cpp.
2007-04-03 15:48:37 +00:00
Jeffrey Altman
644cd83dbd windows-libadmin-vos-registry-20070403
Move the session data from TransarcCorporation to OpenAFS.
2007-04-03 14:34:19 +00:00
Jeffrey Altman
125d9f877d rx-dpf-20070403
The function rx_MakeCall was at some point renamed to rx_NewCall
but the dpf output was never changed.

Add a dpf entry for rxi_ResetCall.
2007-04-03 14:30:25 +00:00
Jeffrey Altman
fbcafac2f6 windows-vista-sdk-ntsecapi-compat-20070402
fix inclusion of ntsecapi.h in network identity manager plug-in
2007-04-03 06:40:27 +00:00
Jeffrey Altman
26b381dc17 windows-afslogon-20070402
restore token acquisition for non-interactive logons.
2007-04-03 05:32:03 +00:00
Jeffrey Altman
20890b4e2e windows-nim-plugin-20070331
correct a NULL pointer de-reference introduced in
windows-nim-plugin-20070328
2007-03-31 13:52:17 +00:00
Jeffrey Altman
934f76fb18 windows-afslogon-20070328
There are two serious problems with integrated logon:

(1) openafs afslogon.dll obtains Kerberos v5 tickets and then forwards them
    into the logon session.  This was done because MIT KFW did not have
    such functionality.   As of KFW 3.1, KFW does, so we are removing it.

    the functionality worked by copying the credentials to a FILE ccache
    and then using the Logon Event Handler to move the credentials into
    an API ccache and delete the temporary file.  For non-interactive
    logons the Logon Event handlers do not get triggered.  Neither do
    LogonScripts get executed.  As a side effect, for each logon a
    credential cache file was left behind.

(2) when combined with non-interactive logons, there are some very bad
    side effects if a network provider performs Kerberos v5 operations.
    Each logon occurs in a new logon session and will spawn a private
    copy of krbcc32s.exe.

    As a result, integrated logon is being disabled for non-interactive
    logons.
2007-03-28 23:29:49 +00:00
Jeffrey Altman
60e5fc151e windows-nim-plugin-20070328
if the service ticket in the cache is expired, delete it from the cache
2007-03-28 23:18:41 +00:00
Neale Ferguson
74e22e2190 s390x-syscall-patch-fix-20070326
make s390x syscall table patching work correctly
2007-03-27 04:21:09 +00:00
Jeffrey Altman
a6cb25c5d3 windows-vista-sdk-ntsecapi-compat-20070324
When loading the Vista SDK ntsecapi.h we must set _WIN32_WINNT
to 0x0501 or greater
2007-03-24 05:02:16 +00:00
Jeffrey Altman
48cd8daff8 windows-fs-whereis-freelance-20070324
do not assert on the lack of a cell when calling fs whereis on the
freelance volume.  return CM_ERROR_NOCELL instead.
2007-03-24 04:59:13 +00:00
Derrick Brashear
1c9ede0bcf tvolser-locking-updates-20070322
rework locking in tvolser slightly to avoid potential transaction leak
2007-03-22 15:58:45 +00:00
Chas Williams
c2fb9440f3 darwin-remunlink-20070320
FIXES 55280

make reumlink work the way it's supposed to
2007-03-20 19:29:41 +00:00
Douglas Engert
ff81d7e77a nfs-gc-fix-20070320
FIXES 56459

avoid issue with nfs gc handler and mismatched types
2007-03-20 19:20:24 +00:00
Robert Banz
af0a976f11 namei-allow-zfs-20070320
don't force AlwaysAttach on ZFS in namei
2007-03-20 18:59:22 +00:00
Chaskiel M Grundman
29951ff73c linux-task-pointer-safety-20070320
hold applicable locks while futzing with task list
2007-03-20 18:45:58 +00:00
Chaskiel M Grundman
97d8703809 keyring-pag-finduser-requires-glock-20070320
identical to the fix from chas@cmf.nrl.navy.mil
2007-03-20 18:41:02 +00:00
Derrick Brashear
c4183dbc1f no-default-setuid-20070319
FIXES 54713

disable default setuid for localcell
2007-03-20 01:13:06 +00:00
Jeffrey Altman
b4f323eaeb windows-var-renaming-20070319
give rx call variables a distinct name from cm call variables
in order to avoid confusion
2007-03-19 13:44:41 +00:00
Jim Rees
92f10ea1a2 obsd-kernel-opts-20070317
adjust module compile opts (KOPTS) to better match those of the kernel
2007-03-17 18:20:15 +00:00
Jeffrey Altman
f1862d783a windows-afsd-nat-handling-20070310
Improve cache manager performance behind NATs:

 * drop cm_daemonCheckUpInterval from 10 minutes to 4 minutes to bring
   it under the minimum recommended default port mapping idle timeout
   value for NATs

 * when a timeout on an rx connection occurs, retry the request once
   after forcing a new rx connection.  If there was a NAT and the port
   mapping changed, the server would respond to the original addr:port
   associated with the rx connection.  Forcing a new connection will
   allow the request to be responded to if the server is accessible.

   This should eliminate the UP-DOWN-UP-DOWN bouncing that user's have
   seen when working from behind a NAT.
2007-03-10 15:48:01 +00:00
Jeffrey Altman
ce776b4809 windows-registry-20070310
move the AFS Server Manager and AFS Account Manager data cache from
the TransarcCorporation key to the OpenAFS key.  The data formats are
not compatible between the two versions and we don't want to be forced
to erase data if users switch back and forth between the two products
during OpenAFS evaluation.
2007-03-10 14:25:00 +00:00
Derrick Brashear
226c1ee8f9 java-lock-fix-200702310
make it portable. ugh.
2007-03-10 07:11:09 +00:00
Jeffrey Hutzelman
97fd54f399 cellservdb-20070309 2007-03-10 04:52:04 +00:00
Jeffrey Altman
a7db1780b3 windows-afsd-remove-generated-file-20070308
afsd_eventmessages.rc is a generated file.  Don't maintain in cvs.
2007-03-08 17:44:13 +00:00
Jim Rees
fc36880fed af-byteorder-bis-20070307
everyone wants AF in host order
2007-03-07 21:42:20 +00:00
Jeffrey Altman
5332348bdf windows-plug-n-play-network-fix-20070307
Move the detection of which LAN adapter to use from smb_Init to
smb_NetbiosInit so that it is executed after the service is resumed
via a power management event.  Otherwise, when the network comes back
up the service attempts to bind to all LAN adapters instead of just
the loopback or the configured one.
2007-03-07 18:13:25 +00:00
Jim Rees
413a906142 af-byteorder-20070307
bsd wants AF in host order
2007-03-07 17:00:57 +00:00
Jeffrey Altman
e4d3681e3d windows-fs-checkserver-20070302
FIXES 55234

The "fs checkservers" command when not being used to change the check
interval should not require admin privilege.
2007-03-03 01:29:11 +00:00
Jeffrey Altman
561f8b742f windows-partially-restore-find-lana-by-name-20070227
find lana by name is used by the afs control panel to populate the
lana list box.  don't use the function to find by name.  just use
it to generate the list of all lana names.
2007-02-28 00:38:04 +00:00
Jeffrey Altman
b8d09aff6a windows-afsd-no-krb_h-20070226
Don't include krb.h when we don't use it for anything
2007-02-27 01:30:39 +00:00
Chaskiel M Grundman
9d5de311a6 forcenewconns-even-with-one-interface-20070226
otherwise we don't discard vlserver connections when a server is "down"
2007-02-26 22:13:33 +00:00
Derrick Brashear
0d5642e3ee uae-etoomanyrefs-avoid-dup-20070222
when ETOOMANYREFS is EIO don't rewrite the EIO slot with UAETOOMANYREFS
2007-02-26 18:48:22 +00:00
Stephan Wiesand
a3a4096830 conditionalize-tasklist-lock-20070226
FIXES 54922

make rx_knet use tasklist_lock conditionally also
2007-02-26 17:55:55 +00:00
Stephan Wiesand
bed42291bc update-tasklist-lock-test-20070226
FIXES 54916

make the tasklist lock test actually detect GPL stupidity
2007-02-26 17:50:37 +00:00
Derrick Brashear
844f045692 md5-inum-round-down-20070223
make our computed md5-style inode numbers be actually 32 bit
2007-02-23 00:42:46 +00:00
Marc Dionne
f1a6107e08 linux-2621-20070222
FIXES 54645

configure support for new sysctl api
2007-02-22 21:46:13 +00:00
Rainer Toebbicke
4f86aa379d linux-unlink-avoid-infrequent-leak-20070222
FIXES 54689

avoid minor leak
2007-02-22 21:40:11 +00:00
Kevin Hildebrand
6ce156741b linux-lookup-crfree-20070220
FIXES 54549

add missing crfree to avoid leak
2007-02-20 18:03:26 +00:00
Jeffrey Altman
79c1cdb83f windows-afs3-directory-format-20070219
correct the documentation of the directory format in the headers
2007-02-20 03:13:41 +00:00
Jeffrey Altman
b2ed3c527b remove-find-lana-by-name-20070219
Remove the find lana by name functionality.  It is crucial that the
name computed by the afs service can also be computed by the pioctl
function executed by generic end users without privilege.  Unfortunately,
the undocumented functions used to implement find lana by name require
access to registry keys that a generic user cannot read.
2007-02-20 03:06:05 +00:00
Asanka Herath
b00dddcd7d windows-netidmgr-help-registration-20070215
In preparation for KFW 3.2, add conditional help registration.
When used with a version of NetIdMgr that supports the functionality
the OpenAFS plug-in will register its HtmlHelp on the NetIdMgr Help
menu.
2007-02-15 21:51:00 +00:00
Jeffrey Altman
5ae8e5064c windows-move-rxdebug-20070215
back in 2001 rxdebug was moved from src/rx to src/rxdebug for Unix
but not for Windows.  Move it for Windows as well.
2007-02-15 18:09:36 +00:00
Jeffrey Hutzelman
e92739f2b9 rxdebug-backoff-20070215
make rxdebug be less aggressive when retransmitting
2007-02-15 17:11:09 +00:00
Jeffrey Altman
2e6a87e109 rx-rxdebug-long-option-20070215
add the -long option from src/rxdebug/rxdebug.c to src/rx/rdebug.c
2007-02-15 11:47:24 +00:00
Jeffrey Altman
1f530ff095 windows-rmdir-not-empty-error-code-20070215
Ensure that removing a directory containing existing files returns
the correct error to the caller.
2007-02-15 05:59:14 +00:00