summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* Add a comment about the low 128 error codes being defined by the Krb5Theodore Tso1998-02-062-0/+12
| | | | | | protocol spec. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10414 dc483132-0cff-0310-8789-dd5450dbe970
* wrap_size_limit.c (krb5_gss_wrap_size_limit): Fix bug where if theTheodore Tso1998-02-062-2/+15
| | | | | | | output header size is greater than the maximum requested output size, return 0 rather than a very large unsigned number. :-) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10413 dc483132-0cff-0310-8789-dd5450dbe970
* Updated to call Universal Headers 3.0.1Marshall Vale1998-02-021-14/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10401 dc483132-0cff-0310-8789-dd5450dbe970
* Updated from most recent MacTCP SDKMarshall Vale1998-02-021-15/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10400 dc483132-0cff-0310-8789-dd5450dbe970
* * init_sec_context.c (krb5_gss_init_sec_context): ActuallyTom Yu1998-01-312-5/+10
| | | | | | initialize now before calling make_ap_req. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10396 dc483132-0cff-0310-8789-dd5450dbe970
* * changepw.c (krb5_change_password): KRB5_USE_INET ->Tom Yu1998-01-302-3/+8
| | | | | | HAVE_NETINET_IN_H. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10392 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (clean-unix): Remove EXPORTED_BUILT_HEADERS as wellEzra Peisach1998-01-302-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10391 dc483132-0cff-0310-8789-dd5450dbe970
* * accept_sec_context.c (rd_and_store_for_creds): Don't mess withDan Winship1998-01-305-3/+74
| | | | | | | | | | | | krb5_cc_default--use a new mem-based ccache. * Makefile.in: * gssapi_krb5.h: * copy_ccache.c (gss_krb5_copy_ccache): Routine to copy a gss_cred_id_t (such as a forwarded creds) into an existing krb5_ccache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10389 dc483132-0cff-0310-8789-dd5450dbe970
* Add definition of GSS_C_NO_NAME (per draft-ietf-cbind-04.txt)Theodore Tso1998-01-272-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10379 dc483132-0cff-0310-8789-dd5450dbe970
* Add AC_PROG_INSTALL since it's need by the install rulesTheodore Tso1998-01-242-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10377 dc483132-0cff-0310-8789-dd5450dbe970
* accept_sec_context.c (krb5_gss_accept_sec_context): Will now obtainTheodore Tso1998-01-242-25/+38
| | | | | | default credentials if no credentials are given. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10375 dc483132-0cff-0310-8789-dd5450dbe970