summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* str_conv.c (krb5_string_to_timestamp, strptime): Fix routines to beTheodore Tso1998-05-094-22/+98
| | | | | | | | able to properly parse Y2K dates. t_kerb.c: Add ability to test krb5_string_to_timestamp git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10559 dc483132-0cff-0310-8789-dd5450dbe970
* stime.c (krb_stime):Theodore Tso1998-05-094-8/+14
| | | | | | | log.c (krb_new_log, krb_log): klog.c (klog): Print the year using 4 digits to avoid Y2K issues. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10558 dc483132-0cff-0310-8789-dd5450dbe970
* POSIX states that getopt returns -1 when it is done parsing options,Theodore Tso1998-05-067-4/+20
| | | | | | not EOF. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10550 dc483132-0cff-0310-8789-dd5450dbe970
* t_ser.c (main): POSIX states that getopt returns -1 when it is doneTheodore Tso1998-05-063-5/+24
| | | | | | | | | | parsing options, not EOF. get_in_tkt.c (krb5_get_init_creds): If libdefaults/{REALM}/noaddresses is true, then don't put any addresses in the ticket request. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10549 dc483132-0cff-0310-8789-dd5450dbe970
* * get_in_tkt.c: Add prototype for make_preauth_listTom Yu1998-05-042-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10545 dc483132-0cff-0310-8789-dd5450dbe970
* * get_in_tkt.c (krb5_get_in_tkt): Add missing argument to call toTom Yu1998-05-032-1/+6
| | | | | | make_preauth_list to avoid stack smashing. Pointed out by lxs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10544 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_encode.c (asn1_encode_generaltime): Sanity check the returnTom Yu1998-04-172-1/+16
| | | | | | from gmtime() to avoid overruns. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10534 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_err.et (ASN1_BAD_GMTIME): Add code for case where badTom Yu1998-04-172-0/+6
| | | | | | values are returned from gmtime(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10533 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SHLIB_EXPDEPS):Tom Yu1998-04-1516-32/+66
| | | | | | (SHLIB_EXPLIBS): Rename libcrypto -> libk5crypto. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10532 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LIB): Rename to k5cryptoTom Yu1998-04-152-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10531 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (includes): The header is krb_err.h, notTom Yu1998-04-092-1/+6
| | | | | | /krb_err.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10525 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (includes): Don't mkdir unless the directory doesn'tTom Yu1998-04-062-1/+6
| | | | | | exist yet. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10522 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (includes): Don't call mkdir unless the directoryTom Yu1998-04-062-1/+6
| | | | | | exists. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10521 dc483132-0cff-0310-8789-dd5450dbe970
* * g_cnffile.c (krb__get_srvtabname): Fix up to not free contextTom Yu1998-04-052-1/+7
| | | | | | unless it is valid. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10514 dc483132-0cff-0310-8789-dd5450dbe970
* * disp_major_status.c (g_display_major_status): Fix a typo inTom Yu1998-04-012-1/+6
| | | | | | previous. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10513 dc483132-0cff-0310-8789-dd5450dbe970
* Change to not return GSS_S_CONTINUE_NEEDED, per the standard CTheodore Tso1998-03-312-3/+9
| | | | | | bindings specification. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10512 dc483132-0cff-0310-8789-dd5450dbe970
* * seteuid.c (krb5_setegid): Fix typo: seteuid -> setegidTom Yu1998-03-232-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10503 dc483132-0cff-0310-8789-dd5450dbe970
* * chk_trans.c (krb5_check_transited_list): Check lengths whenTom Yu1998-03-172-4/+25
| | | | | | appending to next and prev. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10501 dc483132-0cff-0310-8789-dd5450dbe970
* * alt_prof.c (krb5_free_realm_params): Free realm_acl_file portionEzra Peisach1998-03-052-0/+7
| | | | | | of structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10497 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add KRB5_BUILD_PROGRAMEzra Peisach1998-03-033-6/+14
| | | | | | | * Makefile.in (verify): Use CC_LINK and proper Makefile variables for library dependencies. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10494 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (t_cksum): Do not depend on libkrb5.a, useEzra Peisach1998-03-034-4/+20
| | | | | | | | KRB5_BASE_DEPLIBS. This allows configuration --enable-shared --disable-static to work. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10493 dc483132-0cff-0310-8789-dd5450dbe970
* Remove check for the regular expression functions, since they aren'tTheodore Tso1998-03-022-1/+5
| | | | | | used in lib/kdb. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10486 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SHLIB_EXPLIBS): Replace @SHLIB_GEN@ with @GEN_LIB@Tom Yu1998-02-282-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10480 dc483132-0cff-0310-8789-dd5450dbe970
* Collapse all of lib/kadm5's configure scripts into a single top-levelTheodore Tso1998-02-2812-61/+69
| | | | | | configure script. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10479 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Move the regular expression function tests intoTheodore Tso1998-02-282-24/+6
| | | | | | | aclocal.m4, since they also need to be shared by lib/kadm5's configure script. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10478 dc483132-0cff-0310-8789-dd5450dbe970
* Collapse lib/krb5's configure.in files into a single top-levelTheodore Tso1998-02-2840-117/+170
| | | | | | configure.in file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10476 dc483132-0cff-0310-8789-dd5450dbe970
* export_name.c (krb5_gss_export_name): Fix bug in gss_export_name. TheTheodore Tso1998-02-282-1/+7
| | | | | | | 2nd length field in the ASN.1 was 2 bytes bigger than it should have been. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10475 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add checks for set{re,e,res}gid()Tom Yu1998-02-233-6/+34
| | | | | | | * seteuid.c: Include k5-util.h rather than k5-int.h. Add krb5_setegid(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10468 dc483132-0cff-0310-8789-dd5450dbe970
* * recvauth.c (krb5_recvauth): Add some bookkeeping flags so weTom Yu1998-02-202-3/+16
| | | | | | | know how much stuff to free upon cleanup. Fix the up cleanup code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10465 dc483132-0cff-0310-8789-dd5450dbe970
* Remove trailing slash from thisconfigdir. Change directory syntaxTom Yu1998-02-1873-74/+253
| | | | | | used in BUILDTOP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10464 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Remove USE_ANAME, and the defines for ANAME_DBDEP andEzra Peisach1998-02-143-10/+8
| | | | | | | | ANAME_DBLIB as they are no longer used. * Makefile.in: Remove unused ANAME_DBDEP and ANAME_DBLIB definitions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10461 dc483132-0cff-0310-8789-dd5450dbe970
* asn1buf.h (asn1buf_insert_octet): Use static inline function to defineTheodore Tso1998-02-143-53/+77
| | | | | | | | | | | asn1_insert_octet, since the GCC specific hack we're using doesn't work on GCC compilers that also have Objective C enabled. asn1buf.c: define ASN1BUF_OMIT_INLINE_FUNCS before including asn1buf.h, since we don't want inline functions declared when we're defining the linkable version of the functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10457 dc483132-0cff-0310-8789-dd5450dbe970
* * admin.h:Tom Yu1998-02-145-10/+10
| | | | | | | * kadm_rpc.h: * kadm_rpc_xdr.c: Update header locations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10452 dc483132-0cff-0310-8789-dd5450dbe970
* oops forgot to update ChangeLog entirelyTom Yu1998-02-141-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10451 dc483132-0cff-0310-8789-dd5450dbe970
* * client_init.c:Tom Yu1998-02-147-7/+22
| | | | | | | | | | | | * client_principal.c: * client_rpc.c: * clnt_policy.c: * clnt_privs.c: Update header locations. * Makefile.in (LIBMAJOR): Bump major version to reflect change in rpc library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10450 dc483132-0cff-0310-8789-dd5450dbe970
* * adb_xdr.c: Update header locationsTom Yu1998-02-143-3/+10
| | | | | | | * Makefile.in (LIBMAJOR): Bump major version to reflect change in rpc library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10449 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c: Update header locations. Rename of xdr_freeTom Yu1998-02-144-8/+23
| | | | | | | | * rpc_test.h: Update header locations. * server.c: Update header locations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10448 dc483132-0cff-0310-8789-dd5450dbe970
* "Renames" in the following refer to renaming of various exportedTom Yu1998-02-1459-589/+337
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functions and global variables to prefix them with "gssrpc_" or "_gssrpc" as might be appropriate. Some symbols which are unlikely to occur in vendor rpc implementations have retained their old names (notably the gssapi specific ones). * auth.h: Renames. * auth_any.c: Update header locations. * auth_gssapi.c: Punt naughty RCS keywords. Update header locations. Remove explicit extern decl of rpc_createrr (clnt.h gets it). Renames. * auth_gssapi.h: Punt naughty RCS keywords. * auth_gssapi_misc.c: Punt naught RCS keywords. Update header locations. * auth_none.c: Update header locations. Renames. * auth_unix.c: Update header locations. Renames. * auth_unix.h: Renames. * authunix_prot.c: Update header locations. * bindresvport.c: Renames. * clnt.h: Renames. * clnt_generic.c: Update header locations. * clnt_perror.c: Update header locations. * clnt_raw.c: Update header locations. Renames. * clnt_simple.c: Update header locations. Renames. * clnt_tcp.c: Update header locations. Renames. * clnt_udp.c: Upate header loations. Renames. * get_myaddress.c: Update header locations. Renames. * getrpcent.c: Update header locations. * getrpcport.c: Update header locations. Renames. * netdb.h: Update header locations. * pmap_clnt.c: Update header locations. Renames. * pmap_clnt.h: Renames. * pmap_getmaps.c: Update header locations. * pmap_getport.c: Update header locations. * pmap_prot.c: Update header locations. * pmap_prot.h: Renames. * pmap_prot2.c: Update header locations. * pmap_rmt.c: Update header locations. Renames. * pmap_rmt.h: Renames. * rpc.h: Update header locations. No longer include rpc/netdb.h. * rpc_callmsg.c: Update header locations. Renames. * rpc_commondata.c: Update header locations. * rpc_dtablesize.c: Renames. * rpc_msg.h: Renames. * rpc_prot.c: Update header locations. Renames. * svc.c: Update header locations. Renames. * svc.h: Renames. * svc_auth.c: Update header locations. Renames. * svc_auth.h: Renames. * svc_auth_any.c: Update header locations. * svc_auth_gssapi.c: Punt naughty RCS keywords. Update header locations. Renames. * svc_auth_unix.c: Renames. * svc_raw.c: Update header locations. * svc_run.c: Update header locations. Renames. * svc_simple.c: Update header locations. Renames. Make pl static. * svc_tcp.c: Update header locations. Renames. * svc_udp.c: Update header locations. Renames. * xdr.c: Update header locations. Renames. * xdr.h: Renames. * xdr_alloc.c: Punt naughty RCS keywords. Update header locations. * xdr_array.c: Update header locations. * xdr_float.c: Update header locations. * xdr_mem.c: Update header locations. * xdr_rec.c: Update header locations. * xdr_reference.c: Update header locations. * xdr_stdio.c: Update header locations. * Makefile.in: Bump major version due to changes. Don't build getrpcent.o, since we don't use it, and dealing with the rpc/netdb.h lossage was a major pain. Also, rename HDRDIR to $(BUILDTOP)/gssrpc in order to avoid problems with system headers including rpc/*.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10447 dc483132-0cff-0310-8789-dd5450dbe970
* Remove free functions. (Now moved to lib/krb5/krb/kfree.c)Theodore Tso1998-02-1338-1783/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10439 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in, configure.in: Remove the free directory from the list ofTheodore Tso1998-02-133-13/+12
| | | | | | | subdirectories to be built. (All functions moved into lib/krb5/free/kfree.c) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10438 dc483132-0cff-0310-8789-dd5450dbe970
* Added new file kfree.c, which contained all of the functionsTheodore Tso1998-02-133-0/+582
| | | | | | previously in the lib/krb5/free directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10437 dc483132-0cff-0310-8789-dd5450dbe970
* Collapse configure.in files below lib/crypto into lib/cryptoTheodore Tso1998-02-1321-41/+69
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10435 dc483132-0cff-0310-8789-dd5450dbe970
* Change patch so that either mechanism is acceptedTheodore Tso1998-02-132-5/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10434 dc483132-0cff-0310-8789-dd5450dbe970
* accept_sec_context.c (krb5_gss_accept_sec_context): Always allow useTheodore Tso1998-02-132-0/+7
| | | | | | of the pre-RFC mechanism when accepting contexts. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10433 dc483132-0cff-0310-8789-dd5450dbe970
* * accept_sec_context.c (krb5_gss_accept_sec_context): Add lots ofTom Yu1998-02-132-15/+32
| | | | | | | | | | explicit assignments to major_status to ensure that we actually return an error when we mean to. This was previously preventing gssrpc authentication with the old ovsec_kadm interface from working because the gssrpc server side functions were failing to loop over a set of supplied credentials. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10428 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c (main): Tweak the kludge variableTom Yu1998-02-122-0/+14
| | | | | | | krb5_gss_dbg_clietn_expcreds so we can send expired creds to the server. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10427 dc483132-0cff-0310-8789-dd5450dbe970
* * init_sec_context.c: KLUDGE!! Add global variableTom Yu1998-02-122-1/+11
| | | | | | | krb5_gss_dbg_client_expcreds to allow the client library to send expired credentials for testing and debugging purposes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10426 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add commented out AC_OUTPUT to force autoreconf toTom Yu1998-02-128-1/+24
| | | | | | rebuild the configure script. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10425 dc483132-0cff-0310-8789-dd5450dbe970
* Mass makefile/configure.in build system revampTheodore Tso1998-02-1296-125/+430
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
* rd_cred.c (krb5_rd_cred):Theodore Tso1998-02-064-6/+15
| | | | | | | | | rd_safe.c (krb5_rd_safe): rd_priv.c (krb5_rd_priv): Use the remote_subkey first, since the mk_* routines try to use their local_subkey first. Otherwise, the wrong keys will get used if subkeys are used in both directions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10415 dc483132-0cff-0310-8789-dd5450dbe970