Commit Graph

1989 Commits

Author SHA1 Message Date
Derrick Brashear
7b838f474b base64-elsewhere-20040311
base64 is in util, and has a different name.
2004-03-11 07:24:23 +00:00
Derrick Brashear
70a4232ec9 irix-afs-osi-credp-declared-elsewhere-20040311
revert to 1.2 declaration for irix
2004-03-11 07:20:31 +00:00
Nathan Neulinger
5cef3a3fca viced-revert-EIO-and-instead-use-zero-length-20040311
FIXES 3594

this was the other considered approach, i'm unsure why it's needed,
but we'll play along for now.
2004-03-11 07:15:52 +00:00
Derrick Brashear
bfc88419b1 rx-user-dont-redefine-isafs-glock-for-ukernel-20040311
rx/UKERNEL/rx_kmutex.h already covers this
2004-03-11 06:30:58 +00:00
Derrick Brashear
76405667dc aix-update-linktest-20040311
aix hates darwin, again. include netinet/in.h (which was implicit from
rx/rx.h before) to make aix happy
2004-03-11 06:05:54 +00:00
Derrick Brashear
04c2e8aef3 aix-uafs-dir-compile-20040311
make dir package work for uafs on aix
2004-03-11 05:40:31 +00:00
Jim Rees
d0f33e1d88 freebsd-20040310
Support for FreeBSD 5.x client.
Both 4.x and 5.x now use vnodes from the system pool instead of attaching
a private vnode to the vcache.
Most of this is from Garrett Wollman <wollman@khavrinen.lcs.mit.edu>,
I just did some integration and made it work again on 4.x.
2004-03-10 23:01:50 +00:00
Derrick Brashear
9eea027e69 aix-dont-build-64bit-on-aix4-20040310
no 64 kit module for aix4.3.3
2004-03-10 17:14:13 +00:00
Derrick Brashear
d3b28b180b aix5-missed-autoconf-support-20040310
put back the aix5 stuff in autoconf files
2004-03-10 17:12:08 +00:00
Derrick Brashear
7e1b1a2e0d macos-build-update-20040310
make the head build again.
2004-03-10 08:35:38 +00:00
Jeffrey Altman
99dbd4c52b nsis-lang-file-fixes-20040308
Cleaned up the language file installations.
Place language files in the same directories as the non-language files.
Do not install the MSVC files twice.
Install debug symbols for language files for all languages; not just German.
2004-03-09 05:47:30 +00:00
Jeffrey Altman
5afe47f3db nsis-improvements-20040308
UpgradeDLL updated by Rob Murawski

Rob and I replaced dll installs with upgrades

I removed all of the support for beta versions of NSIS now that 2.0
is officially released.
2004-03-09 04:45:32 +00:00
Jeffrey Altman
1269df5ffa unmap-debugging-20040308
Add more debug info to DoUnmapShare
2004-03-09 03:07:27 +00:00
Jeffrey Altman
91dac9e5b5 afscreds-unmap-command-line-option-20040308
Add -z option to afscreds.exe which is called from the installer
to unmap the drive shares when uninstalling OpenAFS.
2004-03-09 03:06:32 +00:00
Jeffrey Altman
5af850b9ee event-object-naming-20040308
Restore event object naming to the pthread objects.  Be sure to identify
the objects by PID this time to avoid conflicts.
2004-03-09 02:02:38 +00:00
Jeffrey Altman
1e97e0dcab kfw-not-installed-bug-20040308
* Remove attempt to free a krb5_context when KFW is not installed.
2004-03-09 02:00:18 +00:00
Jeffrey Altman
946b2218e2 add-path-to-log-20040308
Discovered after wasting a huge quantity of time that it is possible
for OpenAFS to be installed on machines already containing the IBM/Transarc
AFS.  Add the PATH environment variable to the log to allow this situation
to be detected.
2004-03-09 01:57:34 +00:00
Jeffrey Altman
4c29d90830 long-lifetimes-20040308
Add long kerberos 4 ticket lifetime support
2004-03-08 14:02:50 +00:00
Jeffrey Altman
e0461bfb37 kfw-changes-20040307
* Increase debugging of the KFW code;

* Remove the krb5_cc_remove_creds
2004-03-08 02:23:34 +00:00
Jeffrey Altman
28fe0be851 fs-admin-privs-20040307
Add a requirement for Administrator privileges to the "fs setserverprefs"
command.
2004-03-08 02:05:44 +00:00
Jeffrey Altman
2ad3f0377c netbiosName-cellname-20040306
Add support for a new form of automatic share name generation

        \\netbiosName\cellname

which means that on systems with the loopback adapter you can
now refer to the athena.mit.edu afs cell as \\afs\athena.mit.edu\

This is implemented within cm_FindShare().  If the share name is not
one of the special ones and cannot be found in the Submounts table,
check to see if it is a known cell name,  If so, create a path to
the share of /afs/sharename with the "sharename" being lower cased.
(I hope there are no cell names in mixed or upper case.  This won't
work.)
2004-03-06 21:38:48 +00:00
Jeffrey Altman
4ec7d4f8c2 NTMakefile-dependencies-20040306
Update dependencies on various libraries to enforce consistency checks
2004-03-06 15:25:47 +00:00
Jeffrey Altman
c34c5822cd corrections-to-MIT-merge-20040306
* Corrections to MIT merge caught by Asanka.
2004-03-06 13:27:48 +00:00
Jeffrey Altman
30ad9faeb2 lanahelper-20040305
Minor updates.  Fix AFS Root UNC path string; add debugging code (off by default)
2004-03-06 08:09:13 +00:00
Jim Rees
9be2bdb79d inaddr-any-20040305
use INADDR_ANY instead of ADDR_ANY.
2004-03-06 02:42:53 +00:00
Jeffrey Altman
01059dcb66 drivemap-fix-take2-20040305
* See I knew it wouldn't work.  Revert to loop used in revision 1.14
2004-03-05 23:27:07 +00:00
Jeffrey Altman
52d6f09206 drivemap-fix-20040305
* an attempt at a cheap fix which probably won't work.
2004-03-05 23:19:33 +00:00
Jeffrey Altman
13c71ca0d3 lanahelper-library-20040305
* at my request Asanka Hearth of MIT ripped out all of the code used
  the compute the Netbios Name of the SMB Server and the mountRoot
  and constructed one commonly used library called lanahelper.lib.
  This library is now constructed in the WINNT/afsd directory and
  used throughout the tree.  At least we now have consistency if
  nothing else.
2004-03-05 23:09:18 +00:00
Jim Rees
93bb47640c no-cdev-fsync-20040303
don't try to fsync() a character special dev
reported and fix suggested by Helmut Jarausch
2004-03-03 22:41:05 +00:00
Jeffrey Altman
ce9f211c09 smbname-consistency-20040302
These changes are an attempt to provide a bit more consistency when
it comes to the establishment of SMB drive mappings.  Whenever mappings
are created, the same name is used when a name can be found.  This is
supposed to mirror what is performed in the integrated logon DLL.
2004-03-03 03:32:42 +00:00
Jeffrey Altman
c5689df286 fix-service-start-permissions-20040302
When merging the Skyrope changes I forgot to specify the SERVICE_START
privilege necessary to allow the -N option to work.
2004-03-02 15:41:43 +00:00
Jeffrey Altman
2617395f90 security-class-object-leak-20040301
Incorrect reference count management results in a leak of rx_securityClass
objects.
2004-03-02 07:23:41 +00:00
Jeffrey Altman
b37097c6b7 name-event-objects-20040301
When naming event objects allocated in a library, make sure the
names are unique by including the process id.
2004-03-02 04:14:43 +00:00
Jeffrey Altman
6152f1e0f2 openafs-nsi-20040301
Add two new registry keys:
	RxMaxMTU (DWORD) = 1200 (decimal)
	NoFindLanaByName (DWORD) = 1 (decimal)  DEBUG builds only
2004-03-02 04:12:07 +00:00
Jeffrey Altman
403e46be7d afsi_log-buffer-20040301
Increase the size of the final buffer to be large enough
to hold all of the data which is being written to it.
2004-03-02 04:09:32 +00:00
Jeffrey Altman
65b2c45287 smb_fid_t-leak-20040229
There was a significant leak of smb_fid_t objects produced when copying
files from an AFS volume.  This is clearly part of the problem reported
by UNCC.  However, there is still an unexplained memory leak associated
with reading and writing files even if the data is only being read from
the cache.

I am noticing reports of memory allocation overruns from the Debug CRT
when freeing SCache objects.  This could be a side effect of whatever is
causing the memory leak.  This will require more research.
2004-02-29 22:22:19 +00:00
Jeffrey Altman
85caa4d1de win32-name-event-objects-20040228
This is a very bad leak of Event Objects.  Name all of our event objects
in an attempt to identify the source of the leak.  Apparently, the leak
is not coming from any Event Objects we are creating directly.

Did find a misallocation of event objects in the smb code for the
initial session object.  Fixed.
2004-02-29 02:38:26 +00:00
Jeffrey Altman
d83b9bb75a findlanabyname-20040228
* an attempt to fix the problems with stack overwrites when calling
the undocumented calls does not work.  check it in anyway.
2004-02-28 19:13:26 +00:00
Jeffrey Altman
7942e801d9 hidedots-fix-20040228
* Fix the Hiding of dot files.  attributes were computed but never applied
  due to typo during merge

* Prevent crashing during service shutdown by power management thread
2004-02-28 19:10:05 +00:00
Jeffrey Altman
f0f49b80b0 afscreds-shortcut-params-20040227
Obtain Shortcut Parameters from Registry Key

   {HKLM, HKCU}\SOFTWARE\OpenAFS\Client
	(REG_SZ) AfscredsShortcutParams
   Default value is "-A -M -N -Q" if not found
2004-02-28 06:26:05 +00:00
Jeffrey Altman
1d7c0cc902 nsis-afscreds-shortcut-params-20040227
Add Shortcut Parameters to AfsCreds.exe  -A -M -N -Q

  A automatically attempt to obtain tokens on startup if needed
  M renew drive maps
  N background check monitors network configuration and attempts
    to obtain tokens or restart client service if needed
  Q do not start AFS wizard
2004-02-28 06:20:12 +00:00
Jeffrey Altman
d10a43683a NoFindLanaByName-regkey-20040227
Add a new registry entry "NoFindLanaByName" which can be set to 0x01 (DWORD)
to disable the FindLanaByName lookup in case it crashes
2004-02-27 20:38:48 +00:00
Jeffrey Altman
4d9e419c8c enablekfw-part2-20040227
Current User should have priority over Local Machine
2004-02-27 18:36:09 +00:00
Jeffrey Altman
c9b834d6e7 enablekfw-regkey-20040227
* Add new Registry Key:

	{HKLM,HKCU}\\SOFTWARE\\OpenAFS\\Client
		DWORD  EnableKFW

	Default value if missing is 0x01
2004-02-27 18:35:22 +00:00
Jeffrey Altman
4cc93fd626 morgan-patch-20040227
* Add error checking and logging for WaitForMultipleObject calls

* Place log file in directory pointed to by TEMP env variable if defined

* Use the platform defined value for MAXIMUM_WAIT_OBJECTS instead of
  the value 100.  (WinNT.h defines this as 64)

* Add a new registry value "AllSubmount" which can be set to DWORD 0x00
  to disable the automatic creation of the \\AFS\all submount.  This is
  for sites which wish to restrict access to the world.
2004-02-27 18:20:34 +00:00
Jeffrey Altman
4eb61ff347 nsis-new-reg-strings-20040227
Make the NSIS installer create the registry strings for NetbiosName = "AFS"
and MountRoot = "/afs"
2004-02-27 07:40:20 +00:00
Jeffrey Altman
94c5d9d6ad fix-unc-binding-message-20040227
Fix the UNC Binding message.
2004-02-27 07:35:25 +00:00
Jeffrey Altman
702e858526 nbname-instead-of-mountroot-20040227
When determining what name should be used for the NetbiosName
query the registry value "NetbiosName" instead of "MountRoot".
2004-02-27 06:44:46 +00:00
Jeffrey Altman
33f9f204bb fix-getlana-typo-20040227
GetUncServerName had a typo which was using "=" instead of "=="
not good.  :-(
2004-02-27 06:21:59 +00:00
Jeffrey Altman
569602eb62 no-wspp-builds-20040227
the WSPP build references in the current ntbuild.bat are extraneous
as there are no references to the defined variable anywhere else in
the build system.  remove them from ntbuild.bat
2004-02-27 06:02:18 +00:00