Commit Graph

3983 Commits

Author SHA1 Message Date
Jim Rees
11999d395c strl-20070102
str->strl
2007-01-02 16:48:33 +00:00
Marc Dionne
a132e7f545 fix-linux-2-6-20-configure-test-20070102
FIXES 50594

make the cc flags modification not break things
2007-01-02 15:59:13 +00:00
Marc Dionne
84cfee7d07 ifdef-nfs-translator-20070102
FIXES 50602

appropriately wrap nfs translator code in ifdefs
2007-01-02 15:40:35 +00:00
Dale Ghent
71f6f346ca solaris10-suser-replace-20070102
FIXES 50246

suser is dead, long live suser
2007-01-02 07:33:23 +00:00
Jeffrey Altman
1a9ba9aa4b windows-readme-20061230
updates for VS2005, Vista, etc.
2006-12-30 17:49:29 +00:00
Jeffrey Altman
f50452b6e1 windows-no-version-20061230
set the version numbers on the head to 0.0.0.0 so there is no confusion
that this code is not ready for prime time
2006-12-30 17:09:48 +00:00
Jeffrey Altman
0995d4d9b3 kaserver-deprecation-warning-20061230
The following message is now logged to both the BosLog and the AuthLog
at startup.

  WARNING: kaserver is deprecated due to its weak security properties.
  Migrating to a Kerberos 5 KDC is advised.
  http://www.openafs.org/no-more-des.html
2006-12-30 17:00:51 +00:00
Jeffrey Altman
47b4f514ca afsdb-resolver-reinit-20061230
FIXES 50576

replace 'try' with 'try_init' and declare 'try_init'.
'try' is a reserved word on some compilers.  not sure how this code
was compiling on MacOS X and Windows as 'try' was not declared.
2006-12-30 16:55:02 +00:00
Jeffrey Altman
a305a8c3c7 windows-optimize-smb-dir-search-if-no-wildcard-20061229
do not follow mountpoints when calling cm_Lookup as part of the
optimization.  otherwise the shortname is computed incorrectly.
2006-12-30 02:44:39 +00:00
Derrick Brashear
224eb9ff60 proc-unixusers-cleanup-on-linux-20061228
FIXES 49978

maybe?
2006-12-28 22:32:52 +00:00
Dale Ghent
c4c90e33be null-terminate-solaris-ops-20061228
FIXES 50340

vfsops and vnodeops need a NULL at the end of the structs
2006-12-28 22:25:41 +00:00
Dale Ghent
a537d3ae96 add-solaris-11-support-v2-20061228
FIXES 50343

initial 5.11 support
2006-12-28 21:57:24 +00:00
Dale Ghent
7756a870f3 solaris10-suser-replace-20061228
FIXES 50246

suser is dead, long live suser
2006-12-28 21:48:25 +00:00
Marc Dionne
84078738ee linux-install-correct-modules-20061228
FIXES 49787

actually install the correct MP/EP/BM et al modules
2006-12-28 21:35:17 +00:00
Marc Dionne
064926fd1b linux-2620-rc1-update-20061228
FIXES 49890

updates for linux 2.6.20-rc1
2006-12-28 21:28:31 +00:00
Derrick Brashear
fe649aac81 afsdb-resolver-reinit-20061228
as reported by Adam Megacz, but my own version of the fix
2006-12-28 20:36:26 +00:00
Derrick Brashear
c454508d39 macos-installer-fix-20061227
make the installer build correctly again
2006-12-27 15:46:26 +00:00
Jeffrey Altman
2a9d3e91d0 windows-server-config-20061226
Reformat the entire directory.

Add Freelance mode awareness.

Map the root.afs volume starting from Z: and work down.
2006-12-26 20:21:16 +00:00
Jeffrey Altman
432bede1e5 windows-optimize-smb-dir-search-if-no-wildcard-20061226
fix the computation of the ShortName.  Take into account the network
byte order of the cm_dirFid_t fields.

send error packets from within the function as needed.  do not return
the error to the caller.
2006-12-26 20:17:25 +00:00
Derrick Brashear
b2601916f6 bosserver-avoid-bosconfig-truncation-20061221
why the heck would it be a good idea to rewrite the BosConfig while we are starting, exactly?

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

why the heck would it be a good idea to rewrite the BosConfig while we are start
ing, exactly?
2006-12-22 06:45:40 +00:00
Derrick Brashear
0420827630 split-cache-update-20061220
move closer to 1.4 implementation esp when split cache is turned off
2006-12-20 21:17:12 +00:00
Dale Ghent
c1c2a80c1b solaris10-avoid-direct-cred-access-20061220
avoid a panic after we muck with groups by being less evil
2006-12-20 20:07:02 +00:00
Jim Rees
f4247e465d strl-20061220
convert sys_errlist -> strerror, strcat ->strlcat, strcpy -> strlcpy
2006-12-20 17:03:59 +00:00
Jeffrey Altman
ea60a4dd39 windows-afslogon-20061219
Initialize Winsock from within afslogon.c so that ka_UserAuth will
work again.
2006-12-19 17:55:44 +00:00
Hartmut Reuter
7a2d34be17 volser-dumpstuff-20061218
FIXES 46937

"vos release" per default does an incremental dump.
volser-dump-validate-input-20060417 ends up with keeping dead vnodes and
data in the remote RO-volume.  This patch corrects the behavior for
RO-volumes.

See ticket for extensive discussion.
2006-12-19 04:50:16 +00:00
Chas Williams
db8339c3c4 rx-mtu-fixes-20061218
http://www.openafs.org/pipermail/openafs-devel/2006-November/014487.html
2006-12-19 04:35:29 +00:00
Derrick Brashear
d229d72fa7 kernel-endianness-test-fix-20061218
FIXES 47893

ok, so, when we're in the kernel, do something
2006-12-19 04:29:13 +00:00
Derrick Brashear
8a7e66fb28 openafs-kernel-src-fix-20061218
FIXES 44573

ok, so, we need to emit Makefile.version when we build openafs-kernel
2006-12-19 04:18:48 +00:00
Jeffrey Altman
13cc6c5c37 volser-undo-cleanup-20061218
uncommit an inappropriate commit

  DELTA volser-cleanup-xx-20061128
2006-12-19 03:37:34 +00:00
Derrick Brashear
acca80fd67 rx-globals-avoid-INIT-reuse-20061218
FIXES 45515

avoid calling our macro INIT
2006-12-19 03:17:57 +00:00
Jeffrey Hutzelman
c4adc63872 volume-dont-artificially-untimeout-vlservers-20061218
FIXES 48959

remove synthetic event to undo timeouts of vlservers we "haven't talked to yet"
2006-12-19 02:32:55 +00:00
Chas Williams
01c0e029f7 linux-osi-cred-pool-byebye-20061218
ok, unneeded abstraction removed.
2006-12-19 02:28:19 +00:00
Jeffrey Altman
8a1debde84 windows-afslogon-20061218
test for the existence of the mutex and not the bInit flag
during the DLL attach
2006-12-18 23:56:19 +00:00
Asanka Herath
a1c31b6637 windows-install-wix-20061218
remove the AFS Server wizard shortcut

add AFS Server dependencies (tcpip and PNP_TDI)
2006-12-18 22:33:15 +00:00
Jeffrey Altman
a7ea1f2efd windows-nsis-20061218
remove the autorun for the AFS Server Wizard

remove the shortcut to the AFS Server Wizard

update the service dependencies for the bosctlsvc (tcpip and PNP_TDI)
2006-12-18 21:44:11 +00:00
Asanka Herath
a57531592b windows-optimize-smb-dir-search-if-no-wildcard-20061217
When performing a SMB FindFirst/FindNext/FindClose operation if there
are no wildcards involved, we can optimize the case and turn it from
O(n) to O(1) where 'n' is the number of entries in the directory.
This can be done by performing a cm_Lookup() and if it succeeds,
constructing the appropriate response instead of parsing the contents
of each buffer associated with the directory looking for matches.

Without this optimization, FindFirst operations on directories containing
thousands of entries can take a large number of seconds to complete.
2006-12-17 21:05:28 +00:00
Jeffrey Altman
5b56a0b8eb rx-fix-lock-init-20061216
When rxBind was added it made an assumption that rx_GetIFInfo could be
called before rx_InitXYZ.  This is true on non-Windows platforms, but
on Windows rxGetIFInfo relies on an initialized mutex.  This patch adds
a DllMain for Windows in order to initialize the mutex object upon DLL
load.
2006-12-17 01:21:52 +00:00
Derrick Brashear
d5583808e8 vldb-repair-tool-20061216
make vldb_check able to repair at least some kinds of damage

run it on a vldb which does not have a server operating live on it
verify the result with vldb_check before using.
2006-12-16 06:25:24 +00:00
Derrick Brashear
35fae890e2 ubik-better-debug-logging-in-remote-20061215
log when we get errors doing remote sync what it was, rather than covering it up
2006-12-15 16:37:03 +00:00
Jeffrey Altman
04daebb95e windows-custom-control-subclassing-bis-20061212
Do not link to both talocale.lib and taafsapplib.lib.

If you do, then there are duplicate functions in both the .EXE and
the TaAfsAppLib.DLL.
2006-12-13 00:25:23 +00:00
Jeffrey Altman
70c350c6d0 windows-custom-control-subclassing-20061212
While investigating the reasons behind the Drive Mapping listbox
failing to permit entries 2 or above to be edited or removed and
the text string being truncated to two characters (on some systems)
I discovered that the subclasses were being recompiled into each
application instead of linking against the DLL that contains the
controls.

The custom controls have been renamed to address name space issues.

The "Drive X:" label changed to "X:" to permit single character item
selection within the listbox.

Still have no idea what is really going on.  Spy++ shows the Windows
messages being sent to the correct Windows.  However, the getcount
message never obtains a value other than 0 or 1.  This is probably
why the selection code is broken.  Still working on it.
2006-12-12 20:37:44 +00:00
Jeffrey Altman
f126802236 windows-sleep-when-out-of-buffers-20061212
When there are no free buffers, don't loop continuously.
Sleep so that the other threads that are holding the buffers
can grab the global buffer lock and release them.
2006-12-12 17:02:37 +00:00
Jeffrey Altman
0919636307 windows-afsd-20061211
(1) Power Management improvements.  Maintain a global flag that
    specifies whether or not the service is in a suspend state.
    Do not panic if Netbios() returns NRC_BRIDGE meaning that the
    lana is no longer valid.  Instead, stop the listener threads
    and if all listener threads are stopped, reset the lana_list.
    Allow the cm_Daemon() thread to periodically check the state
    of the smb listeners.  If they are all stopped and the service
    is not suspended, attempt to restart them.  If there are no valid
    lanas, return to the stopped state.

(2) CreateX and NTCreateX use cm_CheckNTOpen() to test whether or not
    the user is permitted to obtain read or write locks.  This function
    would obtain the lock and then drop it returning whether or not
    the lock could be obtained.  If the lock was in fact required,
    CreateX/NTCreateX would then obtain it with cm_Lock().  The problem
    of course being that this pattern results in three RPCs to the
    file server (lock, unlock, lock).  This is reduced to one RPC by
    implementing cm_CheckNTOpenDone() which frees the allocated byte
    range lock from cm_CheckNTOpen() after the cm_Lock() call is
    performed.

(3) Remove unused code.

(4) Add debugging to SMB Directory Search functions.

(5) Increase the SMB Ioctl MaxData size
2006-12-12 04:00:40 +00:00
Russ Allbery
08bb3f6391 kaserver-log-tgtreq-20061206
Separately log TGT requests in addition to logging the authentication so
that one can distinguish in the logs between Kerberos v4 clients and uses
of klog.
2006-12-06 20:00:48 +00:00
Derrick Brashear
112604e9c3 rx-preparesendpacket-avoid-double-free-20061205
wow, this is special

existed forever but only when we stopped leaking packets did it become a problem

anyway, don't free packets and forget to reduce the number of packets in play
2006-12-05 19:38:44 +00:00
Russ Allbery
71a1d8a025 docbook-quickguide-cleanup-20061201
Remove generated files from CVS.

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

Some initial obvious cleanup.  Removed all the sections on Digital UNIX,
changed IBM AFS to OpenAFS throughout, and reformatted and cleaned up the
front matter and some of the first few pages.
2006-12-02 03:56:17 +00:00
Russ Allbery
f544468443 docbook-quickguide-makefile-20061201
Add some comments to the makefile, set up dependencies to build the index
automatically, remove a bunch of unnecessary @-signs in front of commands,
and add a clean target.
2006-12-02 02:22:34 +00:00
Russ Allbery
ddc66bbff0 pam-aklog-now-external-20061201
Remove pam_aklog.  pam_afs_session will be developed and distributed as an
external project instead.
2006-12-02 01:44:50 +00:00
Derrick Brashear
b81763506f give-s390x-syscall-table-the-big-hammer-20061201
Neale Ferguson contributed the assembler.

The false illusion of security some people want to play under is usually good for wasting a few hours; it was here. making the sys_call_table read nly for real of course fixes it, let's just hope keyrings come along before then on such platforms.
2006-12-01 18:48:26 +00:00
Derrick Brashear
9ba1d32b4b redhat-packaging-updates-20061201
updates from derek

updates for s390x

updates to handle suse
2006-12-01 18:32:49 +00:00