Commit Graph

2001 Commits

Author SHA1 Message Date
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
Jeffrey Altman
c357237a23 kfw-ak5log-20040401
Remove internally defined life_to_time.  Instead rely on version
in rxkad

Use kvno = RXKAD_TKT_TYPE_KERBEROS_V5 when setting tokens.  No longer
use krb524d.

Fix the assignment of the username and instance to place the instance
within the aclient.instance field instead of appended to the aclient.name
field.
2004-04-01 20:43:06 +00:00
Jeffrey Altman
784c86de8c windows-srvr-cfg-resource-20040401
Renumber and re-organize all of the String Table entries
to adhere to the rules specified for dynamically loading
them with the tools in WINNT/talocale.  All numbers must
be sequential.  Each block must begin on a mod 16 == 0
value.

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

Update resource constants to avoid conflicts
2004-04-01 20:38:37 +00:00
Jeffrey Altman
a75d4cd3f8 ntmakefile-clean-20040401
Cleanup the *_component_version_number.* files in all directories
2004-04-01 20:29:38 +00:00
Derrick Brashear
b197192bcc winnt-dont-display-ibm-legal-message-20040326
remove the ibm legal message display at bosserver startup
2004-03-26 07:42:21 +00:00
Jeffrey Altman
df33edc049 win-xp-sp2-20040325
Support for punching holes in the Win XP SP2 Firewall
for AFS Cache Manager Callbacks
2004-03-26 06:39:23 +00:00
Derrick Brashear
2e455c3702 pam-login-sia-et-al-reorg-20040325
FIXES 3680

rework top makefile to build pam or not depending on acinclude.m4
2004-03-25 23:25:50 +00:00
Nickolai Zeldovich
7e55cf6c26 remove-vnop-dont-unmount-fix-20040325
Make remove-vnop-denies-unlink-on-mtpt-20040325 more likely to work,
and don't forget to afs_PutFakeStat() while we're at it.  After we
call afs_EvalFakeStat(), there's no way that mvstat can be 1 -- either
the object wasn't a mountpoint and it'll be mvstat 0, or EvalFakeStat
will evaluate it and it'll be mvstat 2.
2004-03-25 22:52:15 +00:00
Derrick Brashear
df744ad374 remove-vnop-denies-unlink-on-mtpt-20040325
FIXES 3724

if mvstat is 1, we're a mountpoint; simply short circuit EISDIR and return
2004-03-25 22:10:54 +00:00
Jeffrey Altman
75f081a027 afsd-service-shutdown-crash-20040325
More fixes to the afsd client service which do not result in solving
the problem but still should be done.
2004-03-25 19:37:41 +00:00
Jeffrey Altman
82817983fe global-mapping-20040325
Undo change imported from MIT bulk changes
2004-03-25 19:35:49 +00:00
Jim Rees
02991c3b70 openbsd-20040325
go back to using afs_vget instead of VREF for VN_HOLD
in afs_vget, only insert vnode in mount queue if it came off freelist
2004-03-25 17:04:44 +00:00
Jim Rees
a1bfd0339c openbsd-packaging-20040324
fix small typo
2004-03-24 22:53:19 +00:00
Derrick Brashear
819a0a44fe viced-dont-atoi-NULL-20040324
FIXES 3726

check argument number when processing args at startup
2004-03-24 17:36:57 +00:00
Jeffrey Altman
6ec9685445 nsis-install-20040323
Uninstall should be deleting CRT and MFC DLLs; not be installing them

Add new startup flags to the LogonScript for Integrated Logon
2004-03-24 09:47:06 +00:00
Jeffrey Altman
8b6ff6ca6b static-cm_dnsEnabled-20040323
Make cm_dns.c cm_dnsEnabled static to prevent potential
conflict (not really) with a variable of the same name
in afsd_init.c
2004-03-24 09:24:16 +00:00
Jeffrey Altman
fa95e92340 bad-checkin-20040323
bad checkin
2004-03-24 09:22:59 +00:00
Derrick Brashear
344b1f3f2c sunx86-59-sysname-id-20040324
add missing sysname id for solaris 9 x86
2004-03-24 08:40:19 +00:00
Derrick Brashear
afcb78c966 aix52-add-param-header-20040324
FIXES 3718

copy and modify the aix 5.1 header
2004-03-24 08:38:15 +00:00
Jeffrey Altman
074c2f0909 version-update-20040323
1.3.6200
2004-03-24 08:35:36 +00:00
Jeffrey Altman
28c0534dfb no-getcellconfig-error-20040323
don't produce a MessageBox when getcellconfig fails
2004-03-24 08:32:16 +00:00
Jeffrey Altman
5cf8fc1d99 no-longjmp-20040323
Do not use setjmp/longjmp in multithreaded code.  It will destroy the stack.
2004-03-24 08:27:36 +00:00
Jeffrey Altman
14de032146 integrated-logon-20040323
Cleanup the integrated logon code.  Remove memory overwrites.  Refactor
the rest of the code.  Make it readable.
2004-03-24 08:25:39 +00:00
Jeffrey Altman
5865e9cbd8 doug-nsis-20040322
apply patch to include more header and lib files.

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

Fix doug's patch.  remote extraneous colons

Move (once again) the DependsOnXXX values to the right place.
(how did these end up back in NetworkProvider?)
2004-03-23 04:45:29 +00:00
Jeffrey Altman
08845d8548 uninstall-exception-handler-20040321
Before we shut down the service and return control to the service
manager uninstall the exception handler before it gets unloaded
from the process.
2004-03-22 05:40:52 +00:00
Jeffrey Altman
f31cd9a4f3 power-mgmt-20040321
#define REGISTER_POWER_MANAGEMENT
2004-03-22 04:09:48 +00:00
Jeffrey Altman
45ca8632f2 power-mgnt-close-handles-20040321
Close the Handles before terminating the thread to ensure that
additional power events cannot be queued during shutdown.
2004-03-22 04:07:10 +00:00
Jeffrey Altman
efc9d62e93 nofindlanabyname-20040321
Disable the Find Lana By Name functionality for 1.3.61 because it
appears to be causing grief for too many people.
2004-03-21 23:03:56 +00:00
Jeffrey Altman
ec0b44efad version-1-3-6100-20040321
update version to 1.3.6100
2004-03-21 21:35:27 +00:00
Jeffrey Altman
8ef7d621c5 nsis-installer-20040321
Remove Rob's new way of installing services as it does not appear
to work properly.

Add in code to test the legitimacy of the upgrade to ensure we don't
try to upgrade an old IBM AFS version that isn't supported

Make sure that the only AFS in the PATH is ours and that we are only
in once.

Add the TransarcAFSDaemon entry into the Control\NetworkProviders::Order value
to support Integrated Login

Build service.exe and killer.exe with static libraries to avoid
run-time dependencies at install and uninstall time

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

Check both Client and Server for unsupported previous installation
2004-03-21 20:56:25 +00:00
Jeffrey Altman
53029f4827 debug-log-20040321
A more informative log message plus fix uninitialized variable
2004-03-21 19:48:49 +00:00
Jeffrey Altman
f1a997e275 VLCallBack-vos-20040321
The variable 'm_unique' is an afs_uint32 where the desired parameter
must be of type struct VLCallBack when attempting to call VL_GetAddrs.
I do not know how this code ever worked on any platform as the stack
was being overwritten.

This produced binary, vos.exe on windows, also generates massive
memory leaks.  I do not think we care all that much because the
utility does not stay around all that long.  However, the fact that
the API makes it so easy to lose memory is scary.
2004-03-21 11:41:57 +00:00
Jeffrey Altman
6b11da1d0c nsis-service-20040320
Incorporate a new NSIS library ServiceLib.nsh which will allow us
to avoid using the Service.exe which we must build from Service.cpp
2004-03-21 05:24:19 +00:00