3309 Commits

Author SHA1 Message Date
Jeffrey Altman
501bba5226 STABLE14-windows-notes-20060216
notes for 1.4.1-rc8


(cherry picked from commit 3d1e5e29f7a7a53c2286b81a59d67a2e4463112a)
2006-02-17 15:31:04 +00:00
Chaskiel M Grundman
2e144236c0 STABLE14-darwin-lost-wakeups-20060213
eliminate the apparent lost wakeup problem in tiger
2006-02-17 15:29:47 +00:00
Jeffrey Altman
573a8b17ab STABLE14-windows-version-20060216
1.4.1-rc8 = 1.4.0098
2006-02-17 15:27:44 +00:00
Klas Lindfors
94538a361a STABLE14-viced-has-as-member-locking-20060217
FIXES 26967

A crucial line was missing from DELTA viced-fix-check-rights-race-20060213


(cherry picked from commit 79cfa471a719b9b270f5d1fa1bbd25c1be8e1fd7)
2006-02-17 14:48:58 +00:00
Jeffrey Altman
9766fed82a STABLE14-windows-rx-wsaeconnreset-20060216
Deal with the fact that Windows returns WSAECONNRESET after an ICMP
port not reachable packet was returned in response to a packet previously
sent.


(cherry picked from commit e1f4dd1c26a1fedb637ed754644f8c141fa4c0db)
2006-02-16 21:49:34 +00:00
Derrick Brashear
1da49d414a STABLE14-linux-inode-i-mutex-20060214
make i_sem become i_mutex
2006-02-15 21:03:38 +00:00
Chaskiel M Grundman
660f1f7680 STABLE14-darwin-event-cleanup-20060215
clean up event resources added for deadlock avoidance


(cherry picked from commit cee042e2f9f3e22e3cdb0c9535b122eb1714b691)
2006-02-15 20:55:11 +00:00
Jeffrey Altman
0605e114b8 STABLE14-windows-reg-fix-20060215
cleanup the back connection hostname code


(cherry picked from commit 658338b015fa6cd081726a6c96ab8c756857974a)
2006-02-15 16:37:40 +00:00
Chaskiel M Grundman
d71224dabc STABLE14-darwin80-mkdir-error-leak-fix-20060215
avoid a potential refcount decrement "leak" (well, the opposite, really) when a mkdir fails


(cherry picked from commit 33d58440d1fa3938ff627e888537c367d06b1bf9)
2006-02-15 07:02:21 +00:00
Derrick Brashear
9d1aabc7a5 STABLE14-openafs-1-4-1-rc7-20060214
1.4.1-rc7
openafs-stable-1_4_1-rc7
2006-02-15 00:52:42 +00:00
Adam Megacz
b025e26fdb STABLE14-macos-dynroot-start-anyway-20060214
start afsd if -dynroot specified


(cherry picked from commit f3137f9efc47d9b3365fd6076b05ebb5b907c306)
2006-02-15 00:38:36 +00:00
Adam Megacz
cebb19c588 STABLE14-macos-afsdb-20060214
enable afsdb by default


(cherry picked from commit 0ef6661fdcb452fc0ed2deb33560817c4b95674b)
2006-02-15 00:35:00 +00:00
Derrick Brashear
1dcab82cdb STABLE14-linux-inode-i-mutex-20060214
new (2.6.16) kernerls have i_mutex instead of i_sem
2006-02-15 00:32:52 +00:00
Chaskiel M Grundman
0c5cb54b72 STABLE14-lookup-checkcode-bulkstats-20060214
do error code analysis on bulkstat results also


(cherry picked from commit 848ed685c18e1fbdf550758c3e1d6c11e00d5239)
2006-02-14 20:33:48 +00:00
Jeffrey Altman
64f9bd3906 STABLE14-windows-notes-20060214
latest notes for 1.4.1-rc7


(cherry picked from commit 328544bd38f65525dad7b38a52c2d1407ea4b84b)
2006-02-14 13:26:49 +00:00
Derrick Brashear
1a7229dbbc STABLE14-solaris-afs-nfsrdwr-avoid-reading-past-end-of-file-20060213
FIXES 25747

avoid a panic when we attempt a read past the end of the file


(cherry picked from commit 63031c0b8b1a00711a043431cb5d1c98834ab0cc)
2006-02-13 18:39:11 +00:00
Derrick Brashear
2bd9dd6ea9 STABLE14-revert-bkg-disable-var-20060213
remove the bkg daemon disabling


(cherry picked from commit 0f9a5e3ad81a8583d486b3ee45aaebda50f6de06)
2006-02-13 18:31:13 +00:00
Chaskiel M Grundman
1c680d4a3f STABLE14-darwin-lost-wakeups-20060213
eliminate the apparent lost wakeup problem in tiger
2006-02-13 18:19:49 +00:00
Tom Keiser
4647e500f0 STABLE14-osi-audit-locking-fix-20060201
FIXES 25955

fix aix builds


(cherry picked from commit 73f52f37e4c1be81fad5122787382a480c220af5)
2006-02-13 17:57:26 +00:00
Jeffrey Altman
c53f45d568 STABLE14-audit-locking-20051113
Add locks around writes to the audit log.  This ensures two writes
do not interleave.


(cherry picked from commit 6f82595a16750a3811526da9b4376a178e90bb49)
2006-02-13 17:56:49 +00:00
Jeffrey Altman
4e55e30f5b STABLE14-viced-fix-check-rights-race-20060213
FIXES 25869

acl_CheckRights() was generating core dumps because the client's prlist
was being invalidated by h_TossStuff_r() as part of freeing the associated
host.  This patch fixes the problem in probably redundant ways.
A missing hold on the host is now obtained.  refCounts on the client
are now preserved as part of GetClient()/PutClient().  Read/Write locks
are now obtained on the client when accessing/manipulating the prlist.

This patch adds the client parameter to GetVolumePackage() and
PutVolumePackage() and adds the new function PutClient().

This patch removes the need for the client X had conn Y stolen by X messages.
This is replaced by "deleted client X already had conn Y stolen by X.  If
we see this there is definitely a logic problem as the client should not
be deleted at this point.  We a no longer allowing the race condition that
would have resulted in the original message.

In addition, this patch fixes a problem with UAEs caused by the
inappropriate translation of VICE error into UAEs when there is overlap
between VICE error values and those in sys/errno.h.


(cherry picked from commit 6c7a2901b00ae2f7df0bdff23b19fdd3b7f35156)
2006-02-13 17:10:15 +00:00
Jeffrey Altman
2f310b0dff STABLE14-windows-findacl-optimize-20060213
don't remove an entry from the queue and add it to the head if it already
is the head.


(cherry picked from commit bfdc909b5477e493656b3e9fb744fdf5cd16e179)
2006-02-13 16:33:06 +00:00
Jeffrey Altman
7b953313e0 STABLE14-windows-new-server-ping-20060213
when adding a new server, mark it down to start.
this will allow the Ping to use the short timeout when checking the real
status.


(cherry picked from commit 8a6bfc54e5ff81bea0b78b45986f5115b2978adc)
2006-02-13 16:29:43 +00:00
Jeffrey Altman
044e8557cd STABLE14-windows-off-to-the-races-20060211
several race conditions were introduced over the last couple of weeks.
let's fix them.


(cherry picked from commit d9d798f78617026349e3c087c714e474e9eb2b7f)
2006-02-12 06:24:27 +00:00
Jeffrey Altman
328632fdce STABLE14-windows-vcp-fidsp-empty-20060210
protect against the case in which the vcp->fidsp list is empty
which de-queuing smb_fid_t objects


(cherry picked from commit 81cfded7dbdf25d774375719ce02ebbfe698d77c)
2006-02-10 18:44:17 +00:00
Jeffrey Altman
e493f895ac STABLE14-viced-probe-uuid-on-old-connection-20060210
When we have found an existing host via Uuid, send the probe to the
connection associated with the old host instead of the new one.  If
you send it to the new connection, we will fail to detect that the
old host is no longer responding and hence that it should be removed.
This should solve the 55 second delay problem seen from clients with
Uuids that move addresses or sit behind a NAT.


(cherry picked from commit 0c77d5332da76d223b007f8e85e8d81148b17737)
2006-02-10 17:12:25 +00:00
Jeffrey Altman
d8f1cc3a0b STABLE14-viced-log-typo-20060210
missing % in format string causes crash at log level 125


(cherry picked from commit d2de9e69bc08e04c00083166a59847be246a9e8c)
2006-02-10 17:11:45 +00:00
Derrick Brashear
4b44b8d754 STABLE14-viced-debug-port-numbers-20060210
fix port number printing to not print byteswapped port numbers


(cherry picked from commit 3416916228624b6b446b5106f40c4d7e5fbd8cb0)
2006-02-10 16:50:39 +00:00
Jeffrey Altman
e910710f85 STABLE14-windows-afslogon-20060209
replace sizeof(opt) with sizeof(LogonOption_t)

add more debug statements


(cherry picked from commit 4b3c120e8e571f650e8274da553b1489cc34bd5e)
2006-02-09 15:29:41 +00:00
Jeffrey Altman
9881da31a3 STABLE14-viced-host-nat-20060207
When we discover a new address for an existing host we can take the
opportunity to cleanup the hash table and the interface list if the
new address differs from an existing address only by the port number.
In that case we know the client is communicating to us from behind a
NAT and the old addr/port number combination is no longer going to
be of use to us.


(cherry picked from commit e4c21e9c6fe4a030cf271b614d8e3d78130e4fc9)
2006-02-07 07:47:31 +00:00
Jeffrey Altman
5505be384c STABLE14-viced-more-dbg-improvements-20060207
convert the rest of the addresses output in hex to dotted notation


(cherry picked from commit 6909509eca2a22b4b7003be60e0dbda75a30949c)
2006-02-07 06:05:08 +00:00
Jeffrey Altman
0b95cfab6f STABLE14-windows-winqual-20060206
Fix two bugs reported via Windows Crash Reporting:

 * Freelance initialization is somehow broken allowing the number of
   locally defined mountpoints to become negative.  Due to the use of
   != instead of < in loops, it is possible to read/write unallocated
   memory.

 * GetTextualSid() was not properly handling a NULL output buffer
   pointer as an indication that the desired size should be returned.


(cherry picked from commit 77de32ed745d912e35990c5602b4a69a1b654973)
2006-02-06 07:07:08 +00:00
Jeffrey Altman
5886653be7 STABLE14-windows-version-20060206
1.4.0097 == 1.4.1-rc7
2006-02-06 04:12:34 +00:00
Jeffrey Altman
5061482298 STABLE14-windows-notes-20060206
updates for 1.4.1-rc7
2006-02-06 04:08:25 +00:00
Chaskiel M Grundman
98010e1f70 STABLE14-darwin-avoid-bogus-name-caching-20060205
FIXES 26225

avoid the possibility of creating bogus cached named vnodes


(cherry picked from commit f504df317572835718037fe177073e3202905753)
2006-02-05 18:26:48 +00:00
Jeffrey Altman
dbbfa9adc8 STABLE14-windows-mountpoints-20060205
* if the mountpointstring is empty, return No Such Path; do not panic


(cherry picked from commit 3da66f26980d7cfcde54f6ba9c9a0114e23f6f40)
2006-02-05 17:47:49 +00:00
Jeffrey Altman
ef2660831c STABLE14-windows-afslogon-20060205
* AFS_Logoff_Event must destroy tokens even if integrated logon is not
   being used unless LogoffPreserveTokens is non-zero


(cherry picked from commit 18e7ef272ab4efbd599c5d10174f0afd87c57c2e)
2006-02-05 17:47:12 +00:00
Jeffrey Altman
0843a5cc8c STABLE14-windows-release-notes-20060204
update release notes for 1.4.1
2006-02-05 08:14:16 +00:00
Jeffrey Altman
7936f8d721 STABLE14-windows-afslogon-20060204
* fix LogoffPreserveTokens to work in the correct direction

 * modify behavior to avoid domain controller queries when integrated
   logon is disabled or the logon account is local


(cherry picked from commit f213588374ab92e27bb524cd747152270f9290ca)
2006-02-05 07:46:55 +00:00
Jeffrey Altman
c21a070a4c STABLE14-windows-todays-bugs-20060203
* cell names must be treated as case insensitive

* smb logoff messages do not mean the user is logging off the machine.
  do not use as an indication that tokens should be destroyed

* use the correct lock and avoid a deadlock when handling dead VCs


(cherry picked from commit 22b02189ecc70a94410fb1648da987d0964ddcaf)
2006-02-03 23:05:26 +00:00
Jeffrey Altman
1d8782a7e5 STABLE14-viced-log-add-ports-20060202
* add port numbers to Host addresses so we can distinguish clients behind
  NATs

* make messages consistent with regards to case and punctuation of
  "Host x.x.x.x:y"

* convert hex addresses to dotted notation


(cherry picked from commit 04c3d3cc3900914725c479b993a6313b0ef29e3f)
2006-02-02 21:48:39 +00:00
Jeffrey Altman
27de3d04f7 STABLE14-windows-notes-20060201
notes for 1.4.1-rc6
2006-02-02 04:56:50 +00:00
Jeffrey Altman
12004709ba STABLE14-windows-version-20060201
1.4.1-rc6
2006-02-02 04:45:31 +00:00
Jeffrey Altman
9a12b3d0e0 STABLE14-windows-more-cleanup-20060201
missed one case where the vcpCounter wrapped fids at 0


(cherry picked from commit 57d3a8b72168bf03400ed42e8a8eab78ea75271c)
2006-02-01 18:29:49 +00:00
Jeffrey Altman
1e53ca0084 STABLE14-windows-more-cleanups-20060201
* remove all references to 'dead_vcp'; cleanup smb_vc_t's as soon as
  we know they are dead

* add mx holds across the cm_cell_t updates

* add cm_FindSCacheParent() and remove duplicate code elsewhere

* add mx holds across scp->flags updates

* add cm_CleanFile()

* clear CM_SCACHEFLAG_CALLBACK when discarding callbacks

* fix smb fid wrapping.  wrap at 0xFFFF instead of 0 because 0xFFFF
  is -1 which is INVALID_HANDLE

* add missing mx holds around vcp->flags updates


(cherry picked from commit 8b39114d5b36f60904e5a615a16b43b7e65c3017)
2006-02-01 18:03:18 +00:00
Chaskiel M Grundman
c4d186cef2 STABLE14-bkg-disable-var-20060202
don't extern this


(cherry picked from commit 40d1b796c1dca9c51811224c5ad80bbd2c62cdb1)
openafs-stable-1_4_1-rc6
2006-02-02 08:28:42 +00:00
Derrick Brashear
f906237b0c STABLE14-openafs-1-4-1-rc6-20060201
happy groundhog day?
2006-02-02 04:37:45 +00:00
Jeffrey Altman
ff70d46d6e STABLE14-getsomespace-r-rewrite-20060201
rewrite of GetSomeSpace_r to get rid of the brokenness we had before.

also make GetCapabilities work like other rpc stubs which don't need callbacks


(cherry picked from commit ecb9da5839e8e2ed0d52d87e426a728700bbd389)
2006-02-01 15:59:43 +00:00
Jeffrey Altman
da19dc02e4 STABLE14-windows-smb_fid_t-mx-20060130
Fixup token deletion logic

Surround all references to smb_fid_t flags and other references
by obtaining and releasing the 'mx' lock.


(cherry picked from commit bceabce8498127c550bbe5a9a430c8589f76d162)
2006-01-31 09:09:59 +00:00
Russ Allbery
aedd15e74b STABLE14-man-page-html-20060124
Initial cut at an HTML conversion of the POD reference pages.  Requires
Pod::Simple be installed (version 3.0 or later, probably).  Also fix a POD
formatting bug in the afs(1) man page noticed while testing HTML output.


(cherry picked from commit 6eb9f473add1426b52861574c841b1fdfd80367b)
2006-01-30 18:21:48 +00:00