summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Makefile.in: Remove msvcrt.lib from the explicit WINLIBS link lineTheodore Tso1997-07-305-3/+17
| | | | | | | | | | | since we're now using /MD and have removed the /nodefaultlibs switch. For now, build debug versions of the libraries. krb5_16.def, krb5_32.def, sapkrb16.def: Add decode_krb5_ap_req to the exported functions list, since the GSSAPI krb5 mechanism routine needs access to this internal routine. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10143 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for the new OID value for host-based service nameTheodore Tso1997-07-303-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10142 dc483132-0cff-0310-8789-dd5450dbe970
* inq_names.c (krb5_gss_inquire_names_for_mech): Add the the new OIDTheodore Tso1997-07-303-1/+20
| | | | | | | | | | value for the host-based service name and the exported name OID to the list of OID's supported by this mechanism. import_name.c (krb5_gss_import_name): Add support for the new OID value for the host-based service name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10141 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_db2.c (krb5_db2_db_set_hashfirst): Don't cast aTom Yu1997-07-292-1/+6
| | | | | | krb5_context * to a krb5_db2_context *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10140 dc483132-0cff-0310-8789-dd5450dbe970
* Take out the /nod option, and remove libc.lib from the list ofTheodore Tso1997-07-296-9/+21
| | | | | | libraries to be linked. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10139 dc483132-0cff-0310-8789-dd5450dbe970
* Add additional debugging messages so we can see the winsock errorTheodore Tso1997-07-292-24/+44
| | | | | | numbers. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10138 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_db2.c: Fix typo; also, tweak page size in attempt to speedTom Yu1997-07-263-5/+8
| | | | | | | | things up. * kdb_db2.h: Fix typo. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10137 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_funcs.c: Remove mention of dbm for now. It should probablyTom Yu1997-07-252-1/+10
| | | | | | be added back later to deal with dbm-hashed passwd files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10136 dc483132-0cff-0310-8789-dd5450dbe970
* * loadv4.c:Tom Yu1997-07-255-16/+36
| | | | | | | | * kdb5_create.c: * kdb5_destroy.c: * dump.c: Update to new kdb API. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10135 dc483132-0cff-0310-8789-dd5450dbe970
* * dump.c: Update to new kdb APITom Yu1997-07-252-3/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10134 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c (init_realm): Fix to use new ktkdbTom Yu1997-07-252-6/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10133 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Remove test-randkey since it was breaking theTom Yu1997-07-252-1/+7
| | | | | | | server-side tests; api.2/getprinc-v2.exp wants *two* keys, while randkey results in only one. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10132 dc483132-0cff-0310-8789-dd5450dbe970
* * server_init.c: Change a few calls to align with the new kdbTom Yu1997-07-253-3/+10
| | | | | | | | API. * Makefile.in: Bump version. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10131 dc483132-0cff-0310-8789-dd5450dbe970
* * t_kdb.c: Reflect changes in the API, mostly db_createTom Yu1997-07-257-60/+1545
| | | | | | | | | | | | | | * Makefile.in: Bump version due to major reworking. * kdb_db2.h: * kdb_db2.c: Add Berkely DB backend. * keytab.c: Add support for new kdb API; delete dead arguments. * kdb_xdr.c: Remove dependencies on dbm; encode things to krb5_datas rather than datums. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10130 dc483132-0cff-0310-8789-dd5450dbe970
* * t_ser.c: Add support for changed kdb APITom Yu1997-07-252-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10129 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_err.et: Add error code for bad creation flagsTom Yu1997-07-252-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10128 dc483132-0cff-0310-8789-dd5450dbe970
* * 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