summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Added required include for <sys/types.h>Theodore Tso1995-04-211-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5415 dc483132-0cff-0310-8789-dd5450dbe970
* Changes for testsuite from Ian Taylor <ian@cygnus.com>Mark Eichin1995-04-212-2/+52
| | | | | | | | | | | | | | * kerberos5.c (telnet_srvtab): New global variable. (telnet_krb5_realm): New global variable. (kerberos5_send): If telnet_krb5_realm is set, copy it into creds.server. Pass new_creds to krb5_mk_req_extended, not &creds. Pass &new_creds->keyblock to krb5_copy_keyblock_contents, not new_creds. (kerberos5_is): pass telnet_srvtab in to krb_rd_req. (kerberos5_forward): If telnet_krb5_realm is set, copy it into local_creds->server. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5414 dc483132-0cff-0310-8789-dd5450dbe970
* dejagnu test cases. (from Ian Taylor <ian@cygnus.com>)Mark Eichin1995-04-208-0/+2205
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5413 dc483132-0cff-0310-8789-dd5450dbe970
* Changes from Ian Taylor <ian@cygnus.com> to support testsuite.Mark Eichin1995-04-202-11/+30
| | | | | | | | | | | * adm_extern.h: declare admin_port. * adm_extern.c: define admin_port. * adm_server.c (process_args): set admin_port from -p command line argument. (usage): document -p port option. * adm_network.c (setup_network): use admin_port if set. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5412 dc483132-0cff-0310-8789-dd5450dbe970
* added missing htonsMark Eichin1995-04-201-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5411 dc483132-0cff-0310-8789-dd5450dbe970
* Changes from Ian Taylor <ian@cygnus.com> to support testsuite.Mark Eichin1995-04-205-15/+33
| | | | | | | | | | | * adm_extern.h: declare admin_port. * adm_extern.c: define admin_port. * adm_server.c (process_args): set admin_port from -p command line argument. (usage): document -p port option. * adm_network.c (setup_network): use admin_port if set. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5410 dc483132-0cff-0310-8789-dd5450dbe970
* Move the define of BACKWARDS_BITMASK_COMPAT to asn1_k_decode.c, sinceTheodore Tso1995-04-203-8/+14
| | | | | | it doesn't #include krbasn1. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5409 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (.ct.c): use $(RM) instead of plain rmMark Eichin1995-04-202-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5408 dc483132-0cff-0310-8789-dd5450dbe970
* Some PC fix-ups due to the include structure changingKeith Vetter1995-04-202-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5407 dc483132-0cff-0310-8789-dd5450dbe970
* mk_req.c (krb5_mk_req): Use krb5_sname_to_principal() in orderTheodore Tso1995-04-203-40/+43
| | | | | | | | | | | | | to create the service principal from the service and hostname pair. This allows for the host cannoncialization to work correctly. mk_req_ext.c (krb5_mk_req_extended): Revamp checksum handling code so that no checksum is performed in in_data is NULL, and the special case handing of cksumtype == 0x8003 for the GSSAPI library is handled correctly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5406 dc483132-0cff-0310-8789-dd5450dbe970
* Changes for the PC due to tytso's changing the include structureKeith Vetter1995-04-2010-3/+28
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5405 dc483132-0cff-0310-8789-dd5450dbe970
* Updated windows readme file to reflect gssapi and makefile changesKeith Vetter1995-04-202-3/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5398 dc483132-0cff-0310-8789-dd5450dbe970
* Some top level makefile changes for the PC--does some of the MakefileKeith Vetter1995-04-202-15/+27
| | | | | | configuring on the Unix side versus the PC side. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5396 dc483132-0cff-0310-8789-dd5450dbe970
* Smarter PC makefile pulling .h files from the gssapi worldKeith Vetter1995-04-202-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5395 dc483132-0cff-0310-8789-dd5450dbe970
* Remove .h files which are now collapsed into krb5.hTheodore Tso1995-04-2014-1878/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5394 dc483132-0cff-0310-8789-dd5450dbe970
* Modify usage to reflect reality. Modified getopt call to recognize the alreadyEzra Peisach1995-04-202-3/+17
| | | | | | | coded -r option. Cleanup memory on exit and set exit status to number of errors found. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5393 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(CC) instead of ccTheodore Tso1995-04-201-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5392 dc483132-0cff-0310-8789-dd5450dbe970
* Add include of <errno.h>Theodore Tso1995-04-202-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5391 dc483132-0cff-0310-8789-dd5450dbe970
* Add include of adm_defs.h, since that's no longer included by krb5.hTheodore Tso1995-04-2015-6/+25
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5390 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Add checking for SIZEOF_SHORT, SIZEOF_INT, andTheodore Tso1995-04-205-5/+61
| | | | | | | | | | | | | | | | | SIZEOF_LONG, so we don't need to depend on getting this information from include/krb5/autoconf.h gssapi.h: Removed dependence on krb5 include files. gssapiP_generic.h: We need to include k5-config in order to get Windows specific hackery. Somewhat of a wart, but this is a gssapi internal header file, so the rest of the world doesn't have to see this. util_token.c: Define VALID_INT, instead of relying on this being defined by krb5.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5388 dc483132-0cff-0310-8789-dd5450dbe970
* removed unneeded #include of wordsize.hTheodore Tso1995-04-202-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5387 dc483132-0cff-0310-8789-dd5450dbe970
* Remove support for HAS_ANSI_CONST (that was needed only forTheodore Tso1995-04-203-16/+7
| | | | | | | compatibility with the old imake build; autoconf uses -Dconst=), and HAS_ANSI_VOLATILE, which isn't used at all. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5386 dc483132-0cff-0310-8789-dd5450dbe970
* Inlined the following include files in krb5.h, to simplify the headerTheodore Tso1995-04-203-19/+1607
| | | | | | | | | files which actually need to be installed: wordsize.h, base-defs.h, hostaddr.h, fieldbits.h, proto.h, macros.h, error_def.h, safepriv.h, ccache.h, rcache.h, keytab.h, func-proto.h, k5-free.h. Also moved the #include of k5-config.h and k5-errors.h to k5-int.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5385 dc483132-0cff-0310-8789-dd5450dbe970
* Add profile directoryTheodore Tso1995-04-202-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5383 dc483132-0cff-0310-8789-dd5450dbe970
* Initial checkin of the profile libraryTheodore Tso1995-04-2016-0/+1880
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5382 dc483132-0cff-0310-8789-dd5450dbe970
* asn1_k_decode.c (asn1_decode_krb5_flags): Make the functionTheodore Tso1995-04-194-6/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | accept bit strings which are less 32 bits long. (RFC-1510 makes no guarantee that the length of the bit string must be 32 bits long; the old code required that the length of the bit string must be exactly 32 bits.) Flip the bits with respect to a 32-bit boundary, since that's what the old ASN.1 glue code did. (The values in fieldbits.h are encoded backwards, for no good reason.) If BACKWARDS_BITMASK_COMPAT is defined, then only flip the bits if the high 16 bits are clear and there are some bits set in the low 16 bits. This preserves interoperabilty with the old beta 4 distribution, which sent the bit string without flipping them around. asn1_k_encode.c (asn1_encode_krb5_flags): Flip the bits with respect to a 32-bit boundary, since that's what the old ASN.1 glue code did. (The values in fieldbits.h are encoded backwards, for no good reason.) krb_asn1.h: #define BACKWARDS_BITMASK_COMPAT. Add extern declaration for asn1_swbits, which is needed for the bit reversing code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5380 dc483132-0cff-0310-8789-dd5450dbe970
* When default realm specified on command line, call krb5_set_default_realm soEzra Peisach1995-04-192-1/+14
| | | | | | | that created keys will have the proper realm. (which may not be the same as the machines default realm) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5379 dc483132-0cff-0310-8789-dd5450dbe970
* 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