Commit Graph

2133 Commits

Author SHA1 Message Date
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
Jeffrey Altman
086376b593 afsd-improvements-20040403
continuing attempts to identify the cause of the crash after the service
shuts down successfully.  (without success)

Add shutdown logic for SMB and RX daemons.

Fix Global Drive Mapping

Add Global Drive Unmapping
2004-04-03 20:50:37 +00:00
Jeffrey Altman
9a7b375bcf fix-missing-parameters-20040403
Fix missing username parameter in calls to Mount Drives
2004-04-03 20:47:22 +00:00
Jeffrey Altman
ce17273242 resource-20040403
conflict resolution
2004-04-03 20:45:48 +00:00
Jeffrey Altman
426f7d6a01 precedence-20040403
!= has higher precedence than &
2004-04-03 20:43:15 +00:00
Jeffrey Altman
9e4d68ffba more-cleanup-20040403
removal of unused variables, formatting, comments, etc.
2004-04-03 10:34:16 +00:00
Jeffrey Altman
536c4547d6 even-larger-ticket-sizes-20040403
Microsoft Windows 2003 max ticket size is 12000
2004-04-03 08:59:53 +00:00
Jeffrey Altman
c38e32c778 reformatting-20040402
Reformatting of the source code.  Minor editorial changes to comments.
2004-04-03 08:17:52 +00:00
Jeffrey Altman
2d0b67fed0 unitialized-return-variable-20040402
krb5_des_decrypt() does not initialize the return value to 1, failure,
therefore it returns random success (0) values when ticket types of
DES-CBC-MD5 or DES-CBC-MD4 are used because we do not have checksum
functions for those types.
2004-04-02 17:41:27 +00:00
Jeffrey Altman
4c6238b3d9 restore-original-size-test-20040402
feeling like an idiot.  the original test compared the size of the
ticket field in the ktc_token struct allocated by the app which might
be smaller than the size of the field defined in the library
2004-04-02 12:12:01 +00:00
Jeffrey Altman
8939c5189d something-weird-20040402
something weird.  the previous commit had diff marks.
2004-04-02 11:54:35 +00:00
Jeffrey Altman
92e83f6d68 one-more-try-20040402
much too sleepy.  TBUFFERSIZE for all tbuffers
2004-04-02 11:52:49 +00:00
Jeffrey Altman
64fe0b914d lowercase-cell-20040402
Lowercase the cell name (from realm name) for which we are
requesting set/get token operations

Return the error code generated by the ktc_SetToken operation and
not one of the many Kerberos operations.
2004-04-02 11:41:58 +00:00
Jeffrey Altman
49fd75dce4 maxticketsize-20040402
When processing pioctl() operations, properly perform the test of
the ticket size to the ktc.ticket field.  The field is of fixed
size MAXKTCTICKETLEN and not some value which is adjusted based
upon the content of the message.
2004-04-02 11:39:13 +00:00
Jeffrey Altman
2b0160125f maxktcticketlen-20040402
The buffer size for the ktc_SetToken and ktc_GetToken should be of size
MAXKTCTICKETLEN not some arbitrary value.
2004-04-02 08:46:07 +00:00
Jeffrey Altman
52abace679 windows-server-config-20040402
Corrections to the libadmin interface for the Windows Server Configurator

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

Use lanahelper.lib for the server configurator as well
2004-04-02 07:56:24 +00:00
Ed Moy
3ee6917895 macos-fstab-fun-so-fileserver-works-20040401
so we use getfsent and actually find vice partitions (and make volinfo work)
2004-04-01 23:26:22 +00:00
Jeffrey Altman
1503077a55 rxkad-increase-token-ticket-sizes-20040401
In order to support the large ticket sizes produced by Microsoft
Active Directory and allow the use of raw Kerberos 5 tickets as tokens
increase the size of MAXKTCTICKETLEN and MAXKRB5TICKETLEN to 4096
from 344 and 1024 respectively.
2004-04-01 20:53:49 +00:00
Jeffrey Altman
10e3aa6cc2 kill-afsd-20040401
Remember to kill afsd_service.exe when uninstalling.
2004-04-01 20:51:09 +00:00
Jeffrey Altman
3f91e4305a smb-8dot3-pattern-matching-20040401
Do not enforce the funky 8dot3 pattern matching rule that the first "."
is special when using long file names.  (you must use "*.*" and not "*")
Instead only enforce it when performing 8dot3 searches.
2004-04-01 20:49:49 +00:00
Jeffrey Altman
a346d60fee afsd-debugging-20040401
Add additional debugging during initialization
2004-04-01 20:46:42 +00:00
Jeffrey Altman
9692a83f62 resource-string-loading-20040401
Fix TaLocale_Initialize to be thread safe

Fix String Resource loading to not generate exceptions which must
be caught by try-catch(...)
2004-04-01 20:45:03 +00:00