Commit Graph

2204 Commits

Author SHA1 Message Date
Nathan Neulinger
64b8ee9d88 linux-handle-short-reads-gracefully-20040504
break out of the read loop with EIO if we've reached EOF,
rather than looping forever hoping the file will grow.
2004-05-04 10:31:55 +00:00
Nickolai Zeldovich
5b6b91e6b8 add-missing-uafs-prototypes-20040504
add missing prototypes for uafs_seek
2004-05-04 10:31:11 +00:00
Jeffrey Altman
746aab497c csc_policy_logon_updates-20040503
From Andrei: CSC Policies

Updates to afslogon.dll: attempt lowercased name on authentication failure
if LSA provided name is all upper-case.
2004-05-04 05:05:25 +00:00
Robert S Murawski IV
cedfdb0873 nsis-server-updates-20040501
This implements:

1) Does not delete server config data on uninstall
2) If an upgrade or a re-install with existing server config data, will not auto-start the Server Configuration Wizard.
3) Checks for RPC keys on install.  (I believe you only need one because not all of the keys are required for AFS to work.  However, it might require TCP or UDP based RPC)

Still to do:
1) Server data should be destroyed if user answers "No" to "Do you want to keep your existing configuration data?"
2) If installing when existing server configuration data is present, populate the client cell to be the contents of the "ThisCell" file.
2004-05-02 23:09:22 +00:00
Jim Rees
86c8433bc6 obsd35-20040427
get ready for OpenBSD 3.5 (due May 1)
2004-04-27 20:43:04 +00:00
Jeffrey Altman
e1814aeb84 fixes-from-andrei-20040427
Cleanup the makefile to remove unnecessary defaultlib restrictions

Remove the DST fix added to address Rodney's bug with the timezone being
off by an hour on files one hour after the time change.  Still need to
identify the real cause.

Finally fix once and for all the afsd_service.exe shutdown error.
The ServiceHandler must be declared with the WINAPI calling convention
because it returns a value.
2004-04-27 19:58:48 +00:00
Jeffrey Altman
e116ec1476 release-vs-debug-flags-20040427
Move a few debug only compiler flags into a debug only build section of
the makefile
2004-04-27 19:54:28 +00:00
Jeffrey Altman
f4cc1fdc49 no-mfc-20040427
remove the reference to afx.h.  there is no reason to bring in MFC
for lanahelper.lib.  (thanks to Andrei)
2004-04-27 02:26:01 +00:00
Nickolai Zeldovich
519e7f0669 check-if-compiler-supports-__FUNCTION__-macro-20040426
Add an autoconf check to see if the compiler supports __FUNCTION__ and __LINE__
2004-04-26 22:39:33 +00:00
Jeffrey Altman
a40db2ebc0 kfw-upds-20040422
(1) remove the tkt_lifetime table which is no longer used

(2) improve the handling of token to k5 principal mapping

(3) assign the REALM to the token client name if the realm of
    the cell does not match the realm of the user
2004-04-23 04:43:24 +00:00
Jeffrey Altman
9374963fca ren-msgbox-logfile-20040422
Several fixes:

(1) the log file afsd_logp should not be referenced in the smb modules
    instead the smb_logp should be used

(2) Properly define the dummy_MessageBox function as _stdcall

(3) When afsd_service.exe fails due to a Network Error (IP address change)
    display a MessageBox to the end user

(4) Fix "rename foo foo" to not generate a "destination file exists" error
    (Thanks to asanka)
2004-04-23 04:38:54 +00:00
Chas Williams
171cec34dc linux26-more-updates-20040420
FIXES 4027

        . osi_cred now uses struct group_info
        . the big kernel lock has been moved from the fs generic code
          for some of the operations in 2.6
        . 2.6 now just uses iput() and hooks the appropriate routines
        . the dummy inode list handling should be clearer
2004-04-21 03:20:21 +00:00
Jeffrey Altman
37d106e228 kaanswertoolong-20040420
when determining whether or not the ticket len is too long for the
receiver to accept we want to compare against the actual ticket length
and not MAXKTCTICKETLEN which is what is used when sizeof(ktc_ticketAnswer)
is used for comparison.
2004-04-20 15:56:16 +00:00
Nickolai Zeldovich
daa011af02 more-memory-leak-fixes-20040418
Another memory leak plugged; thanks to Jeffrey Altman for noticing it.
2004-04-19 06:43:58 +00:00
Nickolai Zeldovich
6f22e163a5 memory-leak-fixes-20040417
Fix some memory leaks.
2004-04-18 07:13:47 +00:00
Nickolai Zeldovich
b06c359090 more-uafs-support-20040417
Some more minor uafs fixes
2004-04-18 07:10:33 +00:00
Nickolai Zeldovich
66e04e9f88 add-fs-exa-file-support-20040417
Make "fs exa filename" print out the FID for the filename, not just
the status for the volume containing that file.
2004-04-18 07:09:49 +00:00
Jeffrey Altman
194c348298 uninitialized-20040417
ngroups was uninitialized.  This produced a run-time warning even
though its value was never used in subsequent calls.  set to 0.
2004-04-18 04:16:14 +00:00
Nickolai Zeldovich
733af496e8 more-memory-scrubbing-20040415
Scrub the callBacks array just in case, as we're exposing some
arbitrary kernel stack contents to the user.
2004-04-16 07:26:11 +00:00
Nickolai Zeldovich
5db578e078 dont-leak-random-kernel-data-20040415
Zero out data structure being returned to user, so that we don't
send random kernel memory garbage to them.
2004-04-16 05:57:01 +00:00
Nickolai Zeldovich
cd495f0727 make-uafs-work-a-little-20040415
Make UAFS at least a little more likely to work.
2004-04-16 00:49:13 +00:00
Nickolai Zeldovich
e604accb42 fix-linux-build-20040415
It's AFS_LRALLOCSIZ, not AFS_LRALLOCSIZE.
2004-04-15 23:48:12 +00:00
Jeffrey Altman
f3983124b1 ticket-1241-20040415
Correct mistaken use of >= when > is appropriate
2004-04-15 22:04:21 +00:00
Jeffrey Altman
fa189b670d ntmakefile-20040414
Fix the makefile to build with vc.net 2003 in a release configuration.
/GZ and /Ox are mutually exclusive
2004-04-15 03:23:41 +00:00
Jeffrey Altman
fad225bab6 resource-fix-20040414
There was one more off by one error in the resource file
enumeration preventing the loading of the "Drive" string table entry
2004-04-15 03:21:23 +00:00
Jeffrey Altman
f8ed1111d7 ticket-1241-20040414
FIXES 1241

Modify buffer allocation to support tokens up to MAXPIOCTLTOKENLEN
(3*sizeof(afs_int32)+MAXKTCTICKETLEN+sizeof(struct ClearToken)+MAXKTCREALMLEN)
in length.
2004-04-15 00:26:13 +00:00
Ken Hornstein
1757180dab fileserver-no-longer-asserts-when-read-past-EOF-20040413 2004-04-13 21:41:11 +00:00
Jeffrey Altman
4a0729240a uninitialize-20040412
Fix uninitialized use of ltto
2004-04-13 04:47:50 +00:00
Jeffrey Altman
9dc32a5a18 aklog-20040412
MIT's aklog.exe imported into the OpenAFS for Windows distribution

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

MIT's aklog.exe imported into OpenAFS for Windows
2004-04-13 04:06:17 +00:00
Chas Williams
f3cd6ca063 linux-26-progress-20040412
FIXES 4027

if you complain about any of it, you better include a patch, or risk being
severely flamed. very much a work in progress
2004-04-12 20:42:19 +00:00
Jeffrey Altman
6a3068af6a md4-md5-20040408
Integration of Heimdal MD4/MD5 code

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

Integration of Heimdal's MD4/MD5 code

====================

Integrate Heimdal's MD4/MD5 code

====================

Integrate Heimdal's MD4/MD5 code

====================

Integrate Heimdal's md4/md5 code

====================

Integration of Heimdal's MD4/MD5 code
2004-04-09 07:48:22 +00:00
Jeffrey Altman
02deda384d remove-extra-compare-20040408
do not check for i < 2000 and i < MAXKTCTICKETLEN
2004-04-09 06:57:39 +00:00
Jeffrey Altman
efd0c52372 cross-realm-obtain-tokens-afscreds-20040408
If afscreds.exe you can now obtain credentials for cell "foo.com" with
credentials from "user@BAR.COM" when specifying a password.  This is a
first step since if there are already valid credentials for "user@BAR.COM"
the password should not be requested.  That would allow you to obtain
tokens for multiple cells with the same kerberos tgt.
2004-04-09 00:32:03 +00:00
Jeffrey Altman
6bcdc8cae3 unitialized-vars-20040408
Fix uninitialized pname reference

Rename afs_int32 pname to pnum
2004-04-08 23:20:39 +00:00
Jeffrey Altman
99c6354d4f more-mutex-20040406
Rodney found in his logs  "Event Object Already Exists fid_t" messages.
This lead to another location in the code where problem mutex usage
was missing.  In this case, multiple fid_t structs were created with the
same fid number.
2004-04-06 23:31:03 +00:00
Jeffrey Altman
afb8a66540 va_args-20040406
Who at IBM was stupid enough to believe it is acceptable to
pass a va_args variable into a function without initializing
it with va_start()?  Why would you ever bother to do otherwise?
2004-04-06 23:26:37 +00:00
Jeffrey Altman
6818e27fc3 debug-changes-20040406
Add run time checks to the compiler flags when debug
2004-04-06 09:54:54 +00:00
Jeffrey Altman
991edf329f i-need-sleep-20040406
* fix uninitialized return variables in smb.c and smb3.c

 * open the osi_log file as early as possible in afsd_init.c

 * create an argv to use for non-service executions

 * add support for \\afs\.cellname for rw volumes

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

Do not use IsKerberosLogon() it does not always report the right value.
2004-04-06 09:53:15 +00:00
Chas Williams
0054374495 linux22-fix-20040405
FIXES 3909

make linux 2.2 work again
2004-04-05 23:39:51 +00:00
Jeffrey Altman
b624c2bc73 afs-release-notes-20040405
release notes as of 1.3.63
2004-04-05 07:32:57 +00:00
Derrick Brashear
b32ac50073 remove-vnop-dont-umount-fix-entirely-20040405
circumstantially it doesn't work. /afs/andrew.cmu.edu/usr/shadow/tempdata is a
file and mvstat is 2, so I get EISDIR.

so i'll remove this for now and fix it after the next release.
2004-04-05 07:26:17 +00:00
Chaskiel M Grundman
3e45fd8591 darwin-pageout-limit-to-filesize-20040405
FIXES 3870

previously we weren't limiting to file size, now we are
2004-04-05 07:21:33 +00:00
Jeffrey Altman
1f5b66ecaa version-1-3-6300-20030405
Update version number to 1.3.6300
2004-04-05 07:00:11 +00:00
Jeffrey Altman
aa7f0cf9d5 preserve-server-config-20040404
Fix the replacedll macro

Comment out the code which deletes the server configuration files
on AFS Server uninstall.  We need to do this to protect existing
volumes if the product must be uninstalled and reinstalled
2004-04-05 05:26:45 +00:00
Jeffrey Altman
5a8e37d882 for-rodney-20040404
Formatting changes

Fix the problem with a corrupted cell table when using \\afs\cell-alias

Attempt to fix Rodney's DST problem.  Added a check for tm_isdst to the
computation of the local vs GMT differential.
2004-04-05 03:16:11 +00:00
Jeffrey Altman
4ad381d895 shell-extension-20040403
Fix missing resource strings for Symbolic Links and error strings
(english only)
2004-04-04 03:41:07 +00:00
Jeffrey Altman
0d00d2f08d nsis-installer-20040403
Change UpgradeDLL to ReplaceDLL

Fix missing pts.pdb
2004-04-04 03:38:49 +00:00
Jeffrey Altman
1f0e197dbf ktc_nt-20040403
Increase TBUFFERSIZE to match increase in KTCMAXTICKETSIZE
2004-04-04 03:35:47 +00:00
Jeffrey Altman
0a0f0e023b tchar-ptr-20040403
TCHAR != TCHAR * but MS VS .NET 2003 does not care.  Why not?
2004-04-03 23:33:35 +00:00
Jeffrey Altman
4449276b5c upgrade-dll-20040403
Apply the upgradedll to .CPL files as well as .DLL
2004-04-03 23:16:37 +00:00