summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * Makefile.in: Bump version due to et changesTom Yu1997-07-252-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10127 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_kt.h: Move support for "kdb" keytab hereTom Yu1997-07-253-8/+79
| | | | | | | | | | * kdb.h: Add support for modified kdb API; remove extra arguments for db_set_mkey and db_get_mkey. Remove all (hopefully) mentions of any particular backend database implementation. Add flags argument for db_create, allowing caller to specify whether btree or hash methods are to be used in the backend. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10126 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h: Don't include anything related to dbmTom Yu1997-07-252-17/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10125 dc483132-0cff-0310-8789-dd5450dbe970
* * util_ordering.c: Include string.h for prototypesEzra Peisach1997-07-222-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10124 dc483132-0cff-0310-8789-dd5450dbe970
* (krb5_gss_accept_sec_context): Initialize ctx before it is referenced ↵Ezra Peisach1997-07-222-1/+6
| | | | | | without being set in failure cases git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10123 dc483132-0cff-0310-8789-dd5450dbe970
* * error_message.c (error_message): Mask error code withEzra Peisach1997-07-223-2/+12
| | | | | | | | | | | | | | | | | ERRCODE_MASK to handle case where 32bit ints are zero filled in the gssapi layer. * error_table.h: Define ERRCODE_MAX, the maximum allowed error code (32bits). I am taking the draconian outlook that the com_err library was always intending to define the error as a 32 bit value. I taken this approach instead of making the errcode_t machine specific as the com_er generated header files would then need be machine specific as well. (error codes are declared as say -4353L explicitly). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10122 dc483132-0cff-0310-8789-dd5450dbe970
* Fix stupid #ifdef logic errorTheodore Tso1997-07-171-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10121 dc483132-0cff-0310-8789-dd5450dbe970
* * dump.c (process_k5beta_record): Change variables from char toEzra Peisach1997-07-173-6/+15
| | | | | | | | | krb5_octet to match types in krb5_key_data. * ovload.c (process_ov_principal): Change "more" variable to krb5_boolean as argument to krb5_db_get_principal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10120 dc483132-0cff-0310-8789-dd5450dbe970
* Fix name of srvtab file in the man page to be krb5.keytabTheodore Tso1997-07-162-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10119 dc483132-0cff-0310-8789-dd5450dbe970
* Only copy over the old table when there's an old table to copy over.Theodore Tso1997-07-162-2/+9
| | | | | | Otherwise, BoundsChecker complains about memcpy(foo, NULL, 0). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10118 dc483132-0cff-0310-8789-dd5450dbe970
* Always copy the mechtype so that delete_sec_context() can safelyTheodore Tso1997-07-162-1/+11
| | | | | | release the OID without smashing memory passed in by the application. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10117 dc483132-0cff-0310-8789-dd5450dbe970
* Remove (probably unneeded) size_t definitionTheodore Tso1997-07-154-7/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10116 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc_preauth.c (get_sam_edata): Don't goto cleanup if SAM is notTom Yu1997-07-152-5/+8
| | | | | | used; this prevents freeing an unallocated keyblock. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10115 dc483132-0cff-0310-8789-dd5450dbe970
* Added Winsock kludge for finding your local IP address. May not workTheodore Tso1997-07-042-6/+65
| | | | | | for all stacks, so we use it as a fallback. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10114 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_funcs.c, kadm_server.c, kadm_ser_wrap.c: Reenable mod andTom Yu1997-07-014-177/+115
| | | | | | check_pw. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10113 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_funcs.c, kadm_server.c, kadm_ser_wrap.c: Reenable get andTom Yu1997-07-014-308/+253
| | | | | | add. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10112 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_rpc_svc.c, server_stubs.c: Add support for setv4keyTom Yu1997-07-013-0/+68
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10111 dc483132-0cff-0310-8789-dd5450dbe970
* Fix goof in ChangeLogTom Yu1997-07-011-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10110 dc483132-0cff-0310-8789-dd5450dbe970
* * client_principal.c, client_rpc.c: Add support for setv4keyTom Yu1997-07-013-0/+40
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10109 dc483132-0cff-0310-8789-dd5450dbe970
* * server_acl.h: Fix ACL_ALL_MASK to include ACL_SETKEYTom Yu1997-07-013-2/+9
| | | | | | * svr_principal.c: Fix setv4key_principal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10108 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_rpc.h, kadm_rpc_xdr.c: Add support for setv4keyTom Yu1997-07-013-1/+33
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10107 dc483132-0cff-0310-8789-dd5450dbe970
* Added code so that a valid credential handle is generated whenKevin Mitchell1997-06-302-3/+75
| | | | | | credentials are delegated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10106 dc483132-0cff-0310-8789-dd5450dbe970
* killpg() wasn't conditionalized in login.c, causing compiles to fail onKevin Mitchell1997-06-302-0/+12
| | | | | | Solaris 2.4 (which puts the function into the BSD compatibility libraries). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10105 dc483132-0cff-0310-8789-dd5450dbe970
* * svr_principal.c: Add new function kadm5_setv4key_principalTom Yu1997-06-292-0/+134
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10104 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_err.et: Add support for kadm5_setv4key_principalTom Yu1997-06-293-0/+11
| | | | | | * admin.h: Add prototype for kadm5_setv4key_principal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10103 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c (add_principal): Don't call kadm5_free_key_data; that'sTom Yu1997-06-272-1/+10
| | | | | | Just Wrong here and was causing coredumps. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10102 dc483132-0cff-0310-8789-dd5450dbe970
* * acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Fix bug in previousTom Yu1997-06-203-5/+10
| | | | | | patch; add double quotes to protect things. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10101 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_funcs.c (kadm_chg_srvtab): Remove extraneous macros thatTom Yu1997-06-182-35/+46
| | | | | | were elaborate contortions to avoid using goto. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10100 dc483132-0cff-0310-8789-dd5450dbe970
* * acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Assign the path toTom Yu1997-06-183-10/+23
| | | | | | | | | ac_dummy and then expand it, rather than simply tacking on $ac_dummy to the path. This works around POSIX.2 word splitting semantics, in which even things like a:b:c:$PATH don't get word-split as you might expect on a pre-POSIX shell. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10099 dc483132-0cff-0310-8789-dd5450dbe970
* Added the mac/gss files to the Macintosh tar fileTheodore Tso1997-06-112-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10098 dc483132-0cff-0310-8789-dd5450dbe970
* New snapshot from Meeroh; eliminated the GSS Window classTheodore Tso1997-06-119-840/+756
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10097 dc483132-0cff-0310-8789-dd5450dbe970
* gss-server.c (server_establish_context): Rearrange server establishTheodore Tso1997-06-113-16/+35
| | | | | | | | | | | | context loop to match with the draft-ietf-gssv2-cbind-04.txt suggestion --- always send the output token even in the case of an error, and call gss_delete_sec_context() if needed. gss-client.c (client_establish_context): Check for error condition after sending the output token, if present. In case of error, call delete_sec_context if necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10096 dc483132-0cff-0310-8789-dd5450dbe970
* login.c: Always use the new tty line discpline. [krb5-appl/428]Theodore Tso1997-06-072-10/+34
| | | | | | | login.c: If a hangup signal is received, pass it onto the child. [krb5-appl/432] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10095 dc483132-0cff-0310-8789-dd5450dbe970
* accept_sec_context.c (krb5_gss_accept_sec_context): Reorganized errorTheodore Tso1997-06-074-172/+220
| | | | | | | | | | | | | | | | handling code to be more compact (and correct!). If an error occurs while we are doing mutual authentication, send an KRB_ERROR message back to the client, so that it knows what is going on. (This is specified by RFC 1964; we just weren't implementing this previously.) delete_sec_context.c (krb5_gss_delete_sec_context): Check to make sure pointers in the context are non-zero before freeing them. init_sec_context.c (krb5_gss_init_sec_context): If the server sends a KRB_ERROR message, decode it and return an appropriate minor status error code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10094 dc483132-0cff-0310-8789-dd5450dbe970
* Remove erroneous space from the HPUX open()Theodore Tso1997-06-032-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10093 dc483132-0cff-0310-8789-dd5450dbe970
* Check in Miro's new gss sample codeTheodore Tso1997-05-3011-0/+1998
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10092 dc483132-0cff-0310-8789-dd5450dbe970
* * do_as_req.c (process_as_req), do_tgs_req (process_tgs_req): UseTheodore Tso1997-05-305-6/+36
| | | | | | | | | | limit_string() to make sure the length of cname and sname are reasonable. * kdc_util.c (limit_string): New function which limits the strings that will end up in log files to "reasonable" lengths. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10091 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bug where kinit would core dump if given a really long principalTheodore Tso1997-05-292-3/+9
| | | | | | name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10090 dc483132-0cff-0310-8789-dd5450dbe970
* * admin.h: add prototype for kadm5_setkey_principalBarry Jaspan1997-05-283-1/+29
| | | | | | * misc_free.c (kadm5_free_key_data): add kadm5_free_data git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10089 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c (add_principal): use kadm5_free_key_dataBarry Jaspan1997-05-282-5/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10088 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (OBJS): Build kadm_funcs.c againTom Yu1997-05-275-137/+186
| | | | | | | | | | | * kadm_funcs.c: Re-enable kadm_chg_srvtab() and update it to use the new kadm5 interface. * kadm_ser_wrap.c: Re-enable kadm_ser_stab(). * kadm_server.c: Re-enable kadm_ser_stab(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10087 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in:Tom Yu1997-05-145-77/+86
| | | | | | | | | | * admin_server.c: * kadm_server.c: * kadm_ser_wrap.c: Convert to use new kadm5 API; this still needs work to remove references to krb5_db and to regain full v4 kadmind functionality (or as much as is possible). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10086 dc483132-0cff-0310-8789-dd5450dbe970
* * setkey-test.c, configure.in: add rules to test for correctBarry Jaspan1997-05-053-2/+24
| | | | | | random()-equivlant function git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10085 dc483132-0cff-0310-8789-dd5450dbe970
* Fix Y2K bug in the parsing of the MDTM command. [krb5-appl/399]Theodore Tso1997-05-022-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10083 dc483132-0cff-0310-8789-dd5450dbe970
* Write special case hack for the SAP kerberos libraries since we can'tTheodore Tso1997-05-025-21/+323
| | | | | | | make the version server code correctly read out the version resource from SAPGUI.EXE for some reason.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10082 dc483132-0cff-0310-8789-dd5450dbe970
* File containing test tracker MOTDTheodore Tso1997-04-291-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10081 dc483132-0cff-0310-8789-dd5450dbe970
* Add version resource information to test version server codeTheodore Tso1997-04-292-0/+38
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10080 dc483132-0cff-0310-8789-dd5450dbe970
* Remove #include of "mitcpyrt.h" (since it's of dubious legal value, andTheodore Tso1997-04-293-7/+5
| | | | | | the file doesn't exist.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10079 dc483132-0cff-0310-8789-dd5450dbe970
* win_glue.c: Add code to get the version resource from the callingTheodore Tso1997-04-293-10/+159
| | | | | | application and use that to call the Version server. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10078 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Add MIT files to the windows zip file (if the mitTheodore Tso1997-04-293-52/+120
| | | | | | | | | directory exists) wconfig.c (main): Add arguments to allow specification of the --mit, --nomit, --ignore=XXX options. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10077 dc483132-0cff-0310-8789-dd5450dbe970