summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Added storing of default realm in context. Global default realmEzra Peisach1995-04-192-19/+42
| | | | | | variable removed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5378 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize and free default realm in contextEzra Peisach1995-04-192-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5377 dc483132-0cff-0310-8789-dd5450dbe970
* Removed global_context hackEzra Peisach1995-04-192-4/+8
| | | | | | Added prototype for krb5_set_default_realm git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5376 dc483132-0cff-0310-8789-dd5450dbe970
* Added default_realm to krb5_context structureEzra Peisach1995-04-192-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5375 dc483132-0cff-0310-8789-dd5450dbe970
* Change getdate.o to getdate.c in the SRCS listTheodore Tso1995-04-191-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5374 dc483132-0cff-0310-8789-dd5450dbe970
* Change depend: to depend::Theodore Tso1995-04-191-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5373 dc483132-0cff-0310-8789-dd5450dbe970
* Bug fix in the windows telnet programKeith Vetter1995-04-192-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5372 dc483132-0cff-0310-8789-dd5450dbe970
* Changed compile flags on windows cns programKeith Vetter1995-04-182-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5371 dc483132-0cff-0310-8789-dd5450dbe970
* Add production for creating the .depend file, and updating theTheodore Tso1995-04-182-0/+22
| | | | | | Makefile.in with the new dependencies. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5370 dc483132-0cff-0310-8789-dd5450dbe970
* Sed script which postprocesses the output from cc -M for "make depend"Theodore Tso1995-04-181-0/+32
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5369 dc483132-0cff-0310-8789-dd5450dbe970
* kpropd uses fork instead of vfork, because it's closing fileTheodore Tso1995-04-182-10/+59
| | | | | | | | | | | | | | | | | | | | | descriptors in the child. Print out the pid of the child process if debugging is enabled. Use _exit() instead exit() after a fork(), so that child process doesn't cause the stdio buffers don't get flushed twice. When debugging is enabled and kpropd can't bind to the port, it should try binding again after setting SO_REUSEADDR on the socket. This avoids problems when debugging modifications to kprop/kpropd or its setup, when kpropd is run twice quickly in succession. kpropd shouldn't signal(SIGCHLD, SIG_IGN) in the parent. Instead, it should wait() until the child exits. This was causing problems because setting SIGCHLD to SIG_IGN under SYSV causes child processes to get reaped automatically, so the wait() for kdb5_edit was failing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5368 dc483132-0cff-0310-8789-dd5450dbe970
* an_to_ln.c (dbm_an_to_ln): Don't compile dbm_an_to_ln() ifTheodore Tso1995-04-183-5/+22
| | | | | | | | | | | | USE_DBM_LNAME isn't defined. hst_realm.c (krb5_get_host_realm): Eliminate memory leak in the unlikely case that gethostname fails. If the krb.realms file isn't available, use the default realm of the host. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5367 dc483132-0cff-0310-8789-dd5450dbe970
* * sendauth.c (krb5_sendauth): initialize error return parameterTheodore Tso1995-04-183-5/+21
| | | | | | | | | * copy_princ.c (krb5_copy_principal): Fix bug where krb5_copy_principal can fail if it is asked to copy a principal with a zero-length component on a system where malloc(0) returns null. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5366 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unneeded include of adm_defs.h (since it's now included by krb5.h)Theodore Tso1995-04-182-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5365 dc483132-0cff-0310-8789-dd5450dbe970
* Set SUPPORT_DESMD5 attribute for the krbtgt entryTheodore Tso1995-04-182-1/+38
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5364 dc483132-0cff-0310-8789-dd5450dbe970
* If there is an error while making in a subdirectory, abort the make inTheodore Tso1995-04-182-1/+8
| | | | | | | the parent directory. This makes it more obvious when we have a problem in the tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5363 dc483132-0cff-0310-8789-dd5450dbe970
* Forgot a makefile change for the Windows gssapi dllKeith Vetter1995-04-182-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5362 dc483132-0cff-0310-8789-dd5450dbe970
* Spelling corrections. (was testing a new version of ispell)Ezra Peisach1995-04-182-9/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5361 dc483132-0cff-0310-8789-dd5450dbe970
* Cosmetic changes for the Windows CNS programKeith Vetter1995-04-183-13/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5360 dc483132-0cff-0310-8789-dd5450dbe970
* Add Cygnus's "Sanitize" system to the krb5 tree, to make it easier to doTheodore Tso1995-04-14121-0/+5731
| | | | | | releases.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5359 dc483132-0cff-0310-8789-dd5450dbe970
* com_err.h: If FAR is not defined, define it awayTheodore Tso1995-04-142-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5358 dc483132-0cff-0310-8789-dd5450dbe970
* aclocal.m4 (MAKE_SUBDIRS, _MAKE_SUBDIRS): Creatre new macroTheodore Tso1995-04-142-2/+13
| | | | | | | | | | _MAKE_SUBDIRS which works like MAKE_SUBDIRS except that it is possible for the target name in the parent Makefile and the target name which should be built in each of the subdirectories can be different. MAKE_SUBDIRS is now a special case of _MAKE_SUBDIRS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5357 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in, configure.in: Move dependency for all-$WHAT backTheodore Tso1995-04-142-3/+11
| | | | | | | | | | into Makefile.in so that the Windows port can pick up the line (since it doesn't use configure). Instead, change the name of target which causes the subdirectories to be built under Unix, and make that a dependency for all-unix. Gross, but this should fix things for both DOS and Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5356 dc483132-0cff-0310-8789-dd5450dbe970
* Removed 'unreferenced local variable' problemKeith Vetter1995-04-142-1/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5355 dc483132-0cff-0310-8789-dd5450dbe970
* Windows global stuff:Keith Vetter1995-04-14309-1408/+1569
| | | | | | | | | o removed INTERFACE from non-api functions o add FAR to pointers visible to the world o made the tests for __STDC__ also check for _WINDOWS o creates GSSAPI.DLL & GSSAPI.LIB as per spec. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5354 dc483132-0cff-0310-8789-dd5450dbe970
* asn1_k_decode.c (setup, next_tag, apptag, get_field_body,Theodore Tso1995-04-135-13/+64
| | | | | | | | | | | | | | | | | | | | | | get_lenfield_body, asn1_decode_ticket): Use the taglength to determine whether or not the indefinite encoding was used, and if so skip over the termination flag bytes in the ASN.1 stream. asn1buf.c (asn1buf_imbed, asn1buf_remains): Make changes to allow for indefinite encodings. asn1buf_remains() is now only used for decoding structures and arrays (i.e., asn.1 constructs which terminate indefinite encodings with two zero octets. [ Note these fixes to support indefinite encoding aren't terribly clean; some invalid encodings may be accepted when they should not be. This should be looked at in more detail later.] asn1_get.c (asn1_get_tag): Inline original asn1buf_remains() code, since asn1_get_tag doesn't use asn1buf_remains in the context of a structure or an array. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5353 dc483132-0cff-0310-8789-dd5450dbe970
* that everything is really up to dateEzra Peisach1995-04-113-48/+90
| | | | | | | | | | errors.tex: Removes isode (yay!!) Updated tables to reflect current reality Added asn.1 tables and magic number table Makefile: Two pass latex processing of library file will now realize git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5351 dc483132-0cff-0310-8789-dd5450dbe970
* Changed syntax for windows on the stored ccache file nameKeith Vetter1995-04-072-7/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5345 dc483132-0cff-0310-8789-dd5450dbe970
* Windows cns: user can now specify the ccache file on the options dialog.Keith Vetter1995-04-077-176/+336
| | | | | | | Windows telnet: accepts and remembers port number specified after the host name in the initial dialog. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5344 dc483132-0cff-0310-8789-dd5450dbe970
* Bug fixes or better error handling for the following 4 Windows bugsKeith Vetter1995-04-0626-111/+238
| | | | | | | | | | | | | | | | | | | | | | (note, these changes haven't yet been tested on the PC which were failing so no guarantee that they fully work): a) GUI to cns improved so that you don't need a resize for the widgets to align properly, and so the interaction of typing: "username cr password cr" is all you need to do to get you a ticket. b) cns uses krb5_us_gettimeofday instead of krb5_timeofday because the former is more accurate and handles timezones. Probably should make the latter just call the former. c) Added SOCKET_INIT and SOCKET_DESTROY around krb5_sendto_kdc to prevent some tcp/ip stacks from locking up after 8 uses. d) Added a new error message and better error handling to give more precision as to why one PC was getting the error 'Cannot find KDC for requested realm.' git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5342 dc483132-0cff-0310-8789-dd5450dbe970
* pop_init.c (pop_init): Put in a type cast to shut up the compiler.Theodore Tso1995-04-042-1/+6
| | | | | | | Popper is still using gethostbyname()'s static data wrong; this should be fixed eventually. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5340 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed low-level i/o routine (dup) not being STDC on the PCKeith Vetter1995-04-012-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5337 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize auth_context to NULL before calling sendauth()Theodore Tso1995-04-012-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5336 dc483132-0cff-0310-8789-dd5450dbe970
* Use the local autoconf when rebuilding the configure scriptTheodore Tso1995-04-012-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5335 dc483132-0cff-0310-8789-dd5450dbe970
* Use configure to see if unistd.h needs to be included. RemoveTheodore Tso1995-04-013-17/+8
| | | | | | leftover hair from emacs config. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5334 dc483132-0cff-0310-8789-dd5450dbe970
* Move the dependency which causes all-$(WHAT) to be built so that itTheodore Tso1995-04-013-1/+8
| | | | | | occurs after the "make all" subdirectories rule. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5333 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_get_in_tkt returns proper error on clock skew mismatchesKeith Vetter1995-04-012-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5332 dc483132-0cff-0310-8789-dd5450dbe970
* Can now specify port to telnet to on the command lineKeith Vetter1995-04-016-202/+322
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5331 dc483132-0cff-0310-8789-dd5450dbe970
* Zero out the entry before inserting itTheodore Tso1995-03-312-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5330 dc483132-0cff-0310-8789-dd5450dbe970
* Remove CFLAGS=@CCOPTS@ line, which is in pre.inTheodore Tso1995-03-312-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5329 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure the context is initialized before it is usedTheodore Tso1995-03-312-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5328 dc483132-0cff-0310-8789-dd5450dbe970
* * rc_dfl.c (krb5_rc_dfl_expunage): Close the old, temporary replyTheodore Tso1995-03-313-2/+16
| | | | | | | | | | | cache after we're done expunging it. * rc_io.c (krb5_rc_io_move): Make duplicate copies of the filename and the file descriptor (via malloc/strcpy and dup), so that the old rc_io object can be cleanly closed without affecting the new rc_io object. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5327 dc483132-0cff-0310-8789-dd5450dbe970
* * realm_dom.c (krb5_get_realm_domain): Don't indent #ifdef's!Theodore Tso1995-03-313-6/+12
| | | | | | * hst_realm.c (krb5_get_host_realm): Don't indent #ifdef's! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5326 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (CONFIG_RULES): ReplacedTheodore Tso1995-03-312-0/+5
| | | | | | (Why was this removed?) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5325 dc483132-0cff-0310-8789-dd5450dbe970
* Back out previous change so that it doesn't break people who are usingTheodore Tso1995-03-312-15/+32
| | | | | | | VPATH to have separate build directories. (See comments in the Makefile.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5324 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unused fileTheodore Tso1995-03-312-152/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5323 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typos in Mike's changesJonathan Kamens1995-03-311-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5319 dc483132-0cff-0310-8789-dd5450dbe970
* Changes from shanzer for API versioning testsJonathan Kamens1995-03-311-0/+241
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5318 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo which caused new_keytab to not get freed, causing a memoryTheodore Tso1995-03-312-1/+6
| | | | | | leak. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5317 dc483132-0cff-0310-8789-dd5450dbe970
* Commit on the whole tree to make a checkpoint for a working windows worldKeith Vetter1995-03-3117-474/+661
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5315 dc483132-0cff-0310-8789-dd5450dbe970