5014 Commits

Author SHA1 Message Date
Jeffrey Altman
c108d606f5 windows-freelance-three-20080407
LICENSE MIT

deliver notification events to watchers when adding mount points or
symlinks to the freelance root.afs volume.
2008-04-07 15:16:48 +00:00
Jeffrey Altman
8f57819a99 windows-freelance-two-20080407
LICENSE MIT

do not add the scp into the hash table twice.
2008-04-07 07:00:16 +00:00
Jeffrey Altman
a642541b96 windows-freelance-20080407
LICENSE MIT

When freelance symlinks and mountpoints were modified the target string
value was not being updated and the old data was not being invalidated.
2008-04-07 06:42:44 +00:00
Marc Dionne
c7ee4828e0 linux-no-syscall-probe-with-no-init-mm-20080406
LICENSE IPL10
FIXES 88000

no better idea for this, got to do something... push this for now
2008-04-07 04:48:45 +00:00
Jeffrey Altman
ef19cea44c windows-fid-hash-20080406
LICENSE MIT

1. During the conversion to hash based FID comparisons the cm_GetSCache()
   lookups from the cm_ioctl.c (CM_IOCTL_QOPTS_HAVE_FID) and from FIDs
   returned by cm_LookupSearchProc() were broken.

2. In cm_LookupInternal(), ensure that an error is returned if rock.found
   is FALSE.  A failure to return an error was resulting in cm_GetSCache()
   producing an object for FIDs with vnode=0,unique=0

3. cm_GetSCache(), remove the warning check for vnode=0,unique=0

4. reapply the synchronization logic to async store requests in cm_SyncOp().
   The lack of synchronization is causing requests to complete out of order
   which is confusing the SMB redirector when under heavy load.
2008-04-06 14:33:12 +00:00
Derrick Brashear
5dd7e65c6f revert-ubik-changes-20080405
LICENSE IPL10

these changes are unneeded; remove them
2008-04-05 19:02:59 +00:00
Kevin McBride
5640c4a1b5 volser-preclude-alternate-partition-clones-20080404
LICENSE IPL10

patch based on work from shadow@dementia.org

the idea is to preclude multiple copies of a volume replica on a server,
as there's nothing to indicate which copy is correct and you can end up serving
stale data when you think you've just released and are serving something good
2008-04-04 20:58:35 +00:00
Derrick Brashear
e62727e328 tubik-more-makefile-fun-20080404
LICENSE IPL10

kill off library name reuse
2008-04-04 16:39:53 +00:00
Derrick Brashear
ece59f688a tubik-head-makefile-compat-20080403
LICENSE IPL10

match new style install stuff
2008-04-03 17:58:11 +00:00
Kevin McBride
65e701fee4 tubik-vos-20080403
LICENSE IPL10

build pthreaded vos
2008-04-03 17:41:12 +00:00
Derrick Brashear
5f67c56945 tubik-20080403
LICENSE IPL10

avoid bogus dependency here too
2008-04-03 15:20:41 +00:00
Derrick Brashear
bc1a7f1ee8 tubik-one-more-20080402
LICENSE IPL10

handle the rest of the issues
2008-04-03 04:54:34 +00:00
Derrick Brashear
3316136038 tubik-makefiles-fun-20080402
LICENSE IPL10

these fixes brought to you by delicious beer.
2008-04-03 02:20:25 +00:00
Derrick Brashear
ec02ff4342 tubik-makefile-fixes-20080402
LICENSE IPL10

don't use gmake macros. ick
2008-04-02 22:45:05 +00:00
Steven Jenkins
9fbbc3f50c pthreaded-ubik-20080402
LICENSE IPL10

add pthreaded ubik and various binaries
2008-04-02 20:47:27 +00:00
Marc Dionne
93c326ef08 linux-flush-compare-20080402
LICENSE IPL10

because i let this slip out like this. sigh.
2008-04-02 19:19:57 +00:00
Harald Barth
31d06c78b2 linux-flush-unlock-20080402
LICENSE IPL10

because i let this slip out like this. sigh.
2008-04-02 14:08:19 +00:00
Tom Keiser
5fe4de574d salvageserver-init-handler-lock-20080401
LICENSE IPL10

init lock
2008-04-01 21:28:05 +00:00
Derrick Brashear
0faa1e0412 tsalvaged-clean-20080401
LICENSE IPL10

make clean target work here
2008-04-01 21:15:46 +00:00
Derrick Brashear
48838bab91 vol-osi-assert-20080401
LICENSE IPL10

undo the old windows afs assert undoing
2008-04-01 21:05:19 +00:00
Derrick Brashear
695d1aa896 aklog-debug-text-dont-deref-null-ptr-20080401
LICENSE IPL10

yeah, this is sort of dumb
2008-04-01 19:15:29 +00:00
Simon Wilkinson
3f54c934b9 aklog-tidyup-20080401
LICENSE IPL10
FIXES 92643

remove windows code (osolete) from unix branch
do other minor cleanup
2008-04-01 18:44:28 +00:00
Derrick Brashear
94aa281af8 vlserver-checksignal-returns-voidstar-20080401
LICENSE IPL10
FIXES 92662

CheckSignal returns void*, don't try to return an int directly.
2008-04-01 17:49:42 +00:00
Tom Keiser
9bdb8599c0 synvageserver-no-rx-server-refs-20080401
LICENSE IPL10
FIXES 92648

remove reference to rx service mutex and thread tracking. we need to ensure there's nothing else either but this is true now
2008-04-01 15:09:54 +00:00
Jason Edgecombe
4bcb7d01b2 man-page-vos-shadow-20080331
LICENSE BSD

Man page for vos shadow.
2008-04-01 07:50:28 +00:00
Mike Meffie
a26d7f1403 test-updates-20080331
LICENSE IPL10

update tests directory
2008-03-31 16:54:14 +00:00
Jeffrey Altman
99a29903c8 windows-aklog-cross-cell-20080330
LICENSE MIT

report the new ID after a successful cross cell registration
2008-03-30 17:19:01 +00:00
Jeffrey Altman
2169423f68 windows-aklog-robustness-20080330
LICENSE MIT

Fix the order of parameters to strncpy

====================
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 MIT

Fix the order of parameters to strncpy

Add error checking to all krb5 functions.

Initialize the global ccache variable to NULL.
2008-03-30 15:10:05 +00:00
Jeffrey Altman
aff582765a windows-vlserver-makefile-20080329
LICENSE MIT

make references to INCFILEDIR consistent
2008-03-30 05:16:17 +00:00
Jeffrey Altman
c6897cee01 windows-use-client-realm-for-tokens-20080329
LICENSE MIT

Two recent changes to the AFS/Kerberos landscape have been causing
problems for aklog and related modules.  First, the support for multiple
local realms for the cell has broken the pts auto-registration code
when the realm used for the token acquisition does not match the
realm belonging to the selected vldb server.  Second, Kerberos referrals
prevents detection of the realm of the vldb server.

This commit adds a new method of searching for the afs service principal.
The first attempt is for afs/<cell>@<CLIENT-REALM>.  If found, the
<CLIENT-REALM> is used as the realm of the cell.

The patch adds error handling for KRB5_ERR_HOST_REALM_UNKNOWN which is
returned when krb5_get_host_realm() can't determine the realm.

Duplicate queries are also avoided and copy_realm_of_ticket() is
properly employed.
2008-03-30 04:30:52 +00:00
Tracy Di Marco White
07d806845e nbsd-update-20080328
LICENSE IPL10
FIXES 92073

fix nbsd30 param file, add nbsd40 param file
2008-03-28 17:11:19 +00:00
Jeffrey Altman
b2e3e64275 windows-freelance-20080328
LICENSE MIT

1. return CM_ERROR_NOSUCHFILE when attempting to remove a symlink or
   mount point that does not exist

2. When adding a new symlink or mountpoint, be sure to increment the
   number of local mount points

3. When re-initializing the fake root.cell the unique value is always
   one, not two.  Use cm_FidCmp() to compare fids.  The use of the
   value two prevented the invalidation of existing values because all
   of the directory entries are created with the unique set to one.
2008-03-28 14:01:03 +00:00
Derrick Brashear
be49dbe891 pinstall-collateral-damage-20080327
LICENSE IPL10

it's really easy to get into install-sh relative path hell. work around it.
2008-03-28 04:41:00 +00:00
Douglas Engert
e002118066 krb5-klog-solaris-krb-20080327
LICENSE IPL10
FIXES 91573

no krb5_mcc_ops on solaris krb5. cope
2008-03-27 18:48:22 +00:00
Derrick Brashear
87e959e87d ptutil-swap-epoch-version-as-needed-20080327
LICENSE IPL10
FIXES 90869

do byteswapping of epoch and version so we print and compare sensibly
2008-03-27 18:39:57 +00:00
Derrick Brashear
7c05046f1f volser-higher-thread-limit-20080327
LICENSE IPL10

with tvolser we can increase this and actually *see benefit*, so...
2008-03-27 16:20:29 +00:00
Alistair Ferguson
6c9647cc61 dafs-vshutdown-match-id-to-params-20080327
LICENSE IPL10

we track shutdown thread parms as index rather than device; deal correctly
2008-03-27 16:16:02 +00:00
Chas Williams
1cf6c12a07 linux-dont-flush-writes-on-exec-20080326
LICENSE IPL10
FIXES 17509

because of when fds are NULL'd in file_table this should work except when one process has the same file open for read and for write in different FDs; otherwise, the last write fd to close collects the error.
2008-03-26 04:16:51 +00:00
Marc Dionne
3f8be40525 linux-restore-iget-cachemgr-20080326
LICENSE IPL10
FIXES 88000

restore the d_alloc_anon we need
2008-03-26 04:10:26 +00:00
Jeffrey Altman
f377634115 windows-vlserver-include-path-20080323
LICENSE MIT

Fix the INCFILEDIR definition so that the INCFILES actually exist
2008-03-23 14:10:42 +00:00
Marc Dionne
76494a572e linux-2625-update-20080322
LICENSE IPL10
FIXES 88000

update 2.6.25 patch to hopefully cover what we need better
2008-03-23 00:53:29 +00:00
Jeffrey Altman
887f2869e3 windows-aklog-cleanup-20080321
LICENSE MIT

make krb5_context global.  wrap all calls to exit() in a new function,
akexit(), which performs cleanup of the krb5_ccache and the krb5_context.
2008-03-22 00:19:03 +00:00
Tom Keiser
493afd1e59 aix-unix-sockets-fix-200803221
LICENSE IPL10
FIXES 88088

use aix's macro for the size of sockaddr_un
2008-03-21 16:59:03 +00:00
Jeffrey Altman
94f32208af windows-aklog-20080320
LICENSE MIT

Windows Error Reports indicate that sometimes the krb5_cc_default()
call must be failing because krb5_cc_principal is being called with
a NULL ccache value.  Perform error checking and cleanup that was
not previously implemented.
2008-03-21 12:20:21 +00:00
Jeffrey Altman
77c1e98636 windows-pioctl-disable-service-mgr-check-20080320
LICENSE MIT

Adds HKLM\\Software\\OpenAFS\\Client  DisableIoctlSMCheck

For use in setting tokens when afsd_service.exe is started without
use of the NT Service Manager.  Permits profiling authenticated
operations.
2008-03-21 04:15:47 +00:00
Jeffrey Altman
edbde00d6c windows-max-cells-20080319
LICENSE MIT

Add CM_CONFIGDEFAULT_CELLS (1024) to cm_config.h and a "Cells" registry
value that can be used to alter the limit at runtime.

No longer tie the number of cells to the number of stat cache objects.
1024 should be more than sufficient.
2008-03-20 00:00:28 +00:00
Jeffrey Altman
d24b177765 windows-volume-dotdotFid-20080319
LICENSE MIT

The volume dotdotFid field should have moved into the cm_volstate_t
object as there can be different parents for rw, ro, and bk volumes.
2008-03-19 20:17:04 +00:00
Jeffrey Altman
b2667be49d windows-no-more-afsdifs-20080319
LICENSE MIT

do not include a header that no longer exists
2008-03-19 15:34:48 +00:00
Jeffrey Altman
e3f9fcdeaa windows-remove-umich-afsifs-20080319
LICENSE MIT

The UMich AFS IFS code has never been made ready for production.
An alternative approach is currently being worked on that will be.
2008-03-19 13:57:36 +00:00
Jeffrey Altman
e6d7e16588 windows-parseacl-20080319
LICENSE MIT

Protect against invalid data being passed into ParseAcl and
corrupting the stack.  This affects both fs.exe and the explorer
shell extension.

Windows Error Reporting in recent weeks has begun to report several
instances of stack corruption in the explorer shell extension from
Denmark and Germany.
2008-03-19 13:22:02 +00:00