summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* init_sec_context.c (make_ap_req): Enforce a stricter requirement onTheodore Tso1998-01-242-2/+27
| | | | | | | | | | the ticket expiration time of the credentials, since accept_sec_context doesn't use the timeskew fudge for checking ticket expirations. (krb5_gss_init_sec_context): Return GSS_S_NO_CRED when appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10374 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LIBMINOR): Bump minor version due to internalTom Yu1998-01-222-1/+6
| | | | | | structure change. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10372 dc483132-0cff-0310-8789-dd5450dbe970
* * gssapiP_krb5.h: Add rcache member to the credsTom Yu1998-01-226-2/+46
| | | | | | | | | | | | | | | | | | | structure. [krb5-libs/370] * accept_sec_context.c (krb5_gss_accept_sec_context): Actually set an rcache in auth context from the one saved in the creds structure. [krb5-libs/370] * acquire_cred.c (acquire_accept_cred): Set up an rcache for use later. [krb5-libs/370] * delete_sec_context.c (krb5_gss_delete_sec_context): Don't delete the rcache when freeing the auth_context. [krb5-libs/370] * rel_cred.c (krb5_gss_release_cred): Properly close the rcache. [krb5-libs/370] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10371 dc483132-0cff-0310-8789-dd5450dbe970
* * bindresvport.c: Include string.h for memset prototypeEzra Peisach1998-01-212-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10367 dc483132-0cff-0310-8789-dd5450dbe970
* * alt_prof.c (kadm5_get_config_params): Add support for Cygnus chpwTom Yu1998-01-213-1/+26
| | | | | | * admin.h: Add support for Cygnus chpw. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10357 dc483132-0cff-0310-8789-dd5450dbe970
* Changed all PBGetCatInfo to PBGetCatInfoSync for new UH'sMarshall Vale1998-01-132-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10350 dc483132-0cff-0310-8789-dd5450dbe970
* * in_tkt.c: Conditionalize use of macro do_seteuid, rather thanTom Yu1998-01-062-9/+21
| | | | | | redefining setreuid. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10349 dc483132-0cff-0310-8789-dd5450dbe970
* * seteuid.c (krb5_seteuid): Don't check for _POSIX_SAVED_IDS, asTom Yu1998-01-062-9/+12
| | | | | | | 4.4BSD derivatives don't define it but do have a reasonable seteuid anyway. [krb5-libs/503] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10348 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (krb5_locate_kdc): Check return ofTom Yu1998-01-033-0/+16
| | | | | | | | | malloc. [krb5-libs/518] * changepw.c (krb5_change_password): Check return of malloc. [krb5-libs/518] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10347 dc483132-0cff-0310-8789-dd5450dbe970
* * preauth.c (handle_sam_labels):Tom Yu1998-01-033-0/+24
| | | | | | | | | (obtain_sam_padata): Check return of malloc. [krb5-libs/518] * chpw.c (krb5_mk_chpw_req): Check return of malloc. (krb5_rd_chpw_rep): Check return of malloc. [krb5-libs/518] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10346 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1buf.c (asn12krb5_buf): Check return value ofTom Yu1998-01-032-0/+9
| | | | | | malloc. [krb5-libs/518] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10345 dc483132-0cff-0310-8789-dd5450dbe970
* * init_rkey.c (mit_des_init_random_key): Punt the struct; useTom Yu1997-12-292-7/+20
| | | | | | | | explicit variables instead because we're no longer doing a memcpy. In addition, fill p_state->sequence.data a byte at a time. [krb5-libs/492] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10344 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (OBJS): Changed val_cred.$(OBJECT) toEzra Peisach1997-12-292-1/+6
| | | | | | val_cred.$(OBJEXT) for windows building. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10343 dc483132-0cff-0310-8789-dd5450dbe970
* * svc_auth_gssapi.c (_svcauth_gssapi): When looping over services,Ezra Peisach1997-12-162-0/+14
| | | | | | free previous output_tokens. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10339 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (krb5_locate_kdc): Free hostlist array elementsEzra Peisach1997-12-162-0/+9
| | | | | | when finished with them. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10338 dc483132-0cff-0310-8789-dd5450dbe970
* * mk_req_ext.c (krb5_mk_req_extended): Check enctype of sessionTom Yu1997-12-162-1/+6
| | | | | | key, not that of the ticket, which we really shouldn't care about. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10336 dc483132-0cff-0310-8789-dd5450dbe970
* * val_cred.c (krb5_gss_validate_cred): Free principal extractedEzra Peisach1997-12-072-0/+6
| | | | | | from credential cache when finished. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10330 dc483132-0cff-0310-8789-dd5450dbe970
* * gic_pwd.c (krb5_get_init_creds_password): Change fourth argumentEzra Peisach1997-12-072-1/+6
| | | | | | in call to prompter (which is an int) from NULL to 0. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10329 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (krb5_locate_kdc): Get rid of extra krb5_xfreeEzra Peisach1997-12-072-1/+5
| | | | | | which caused freeing of memory twice. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10326 dc483132-0cff-0310-8789-dd5450dbe970
* Include <string.h>Ezra Peisach1997-12-072-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10325 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Add changepw.c, prompter.cTom Yu1997-12-067-41/+668
| | | | | | | | | | | | | | * changepw.c: New file; Cygnus password changing protocol. * locate_kdc.c: Add parameter to indicate master KDC. * os-proto.h: Reflect changes to locate_kdc. * prompter.c: New file; Cygnus initial creds. * sendto_kdc.c: Add parameter to indicate master KDC. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10322 dc483132-0cff-0310-8789-dd5450dbe970