summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Set use_conf_ktypes to 1 while looking up the tgt to use forSam Hartman2003-06-162-0/+7
| | | | | | | | | forwarding. Ticket: 1610 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15627 dc483132-0cff-0310-8789-dd5450dbe970
* * ftp.c (recvrequest): Add new argument indicating whether "-" and "|..."Ken Raeburn2003-06-164-10/+19
| | | | | | | | | | | | | special treatment should be disabled. * ftp_var.h (recvrequest): Update declaration. * cmds.c (remglob, ls, mls): Pass 0 as the extra argument. (mget): Pass 1. (getit): Pass 1 iff only one filename was supplied. ticket: 1351 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15626 dc483132-0cff-0310-8789-dd5450dbe970
* * server_kdb.c (kdb_init_hist): Force history principal's key toTom Yu2003-06-132-6/+16
| | | | | | | | | | be of the same enctype as the master key, as searches for it later on explicitly specify the enctype. ticket: 964 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15621 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_rd_rep leaks subkeysTom Yu2003-06-132-0/+13
| | | | | | | | | | | | * rd_rep.c (krb5_rd_rep): Free subkeys before replacing them, if needed. This avoids a memory leak. ticket: new target_version: 1.3 component: krb5-libs tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15620 dc483132-0cff-0310-8789-dd5450dbe970
* libgss leaks, UMRsTom Yu2003-06-133-0/+9
| | | | | | | | | | | | | | | | | | * init_sec_context.c (krb5_gss_init_sec_context): Free default_enctypes to avoid leaking returned value from krb5_get_tgs_ktypes. * k5unseal.c (kg_unseal_v1): Explicitly set token.value to NULL if token.length == 0, to avoid spurious uninitialized memory references when calling memcpy() with a zero length. ticket: new target_version: 1.3 tags: pullup component: krb5-libs cc: Kent_Wu@trendmicro.com git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15619 dc483132-0cff-0310-8789-dd5450dbe970
* make_ap_req_v1 leaks memoryTom Yu2003-06-132-0/+7
| | | | | | | | | | | | * init_sec_context.c (make_ap_req_v1): Free checksum_data if needed, to avoid leaking memory. Found by Kent Wu. ticket: new target_version: 1.3 tags: pullup component: krb5-libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15618 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin: krb524_init_ets() takes one argumentTom Yu2003-06-124-5/+14
| | | | | | | | | | | * krb524.c (krb524_convert_creds_kdc, krb524_init_ets): Mark as KRB5_CALLCONV_WRONG. (krb524_init_ets): Takes a krb5_context. ticket: 1596 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15615 dc483132-0cff-0310-8789-dd5450dbe970
* * error_table.h, et_c.awk, et_c.pl, et_h.awk, et_c.awk: Removed Mac OS ↵Alexandra Ellwood2003-06-121-0/+5
| | | | | | support because it prevents darwin builds from getting com error strings via the initialize_*_error_table function git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15613 dc483132-0cff-0310-8789-dd5450dbe970
* Removed Mac OS 9 support because it prevents darwin builds from getting com ↵Alexandra Ellwood2003-06-125-31/+7
| | | | | | error strings via the initialize_*_error_table function git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15612 dc483132-0cff-0310-8789-dd5450dbe970
* Darwin libkrb4/err_txt.o needs dependency on krb_err.cTom Yu2003-06-113-1/+16
| | | | | | | | | | | | | | | * Makefile.in (KRB_ERR_C): New variable; Darwin needs err_txt.o to have a dependency on krb_err.c so that krb_err.c will be generated first. * configure.in: Set KRB_ERR_C to krb_err.c on Darwin. ticket: new target_version: 1.3 tags: pullup component: krb5-build git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15610 dc483132-0cff-0310-8789-dd5450dbe970
* Don't escape rcache filename characters with backslashTom Yu2003-06-112-5/+10
| | | | | | | | | | | | * srv_rcache.c (krb5_get_server_rcache): Octal escapes begin with hyphen now, since backslash is a pathname separator on DOS. ticket: new target_version: 1.3 component: krb5-libs tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15609 dc483132-0cff-0310-8789-dd5450dbe970
* oops, fix up ChangeLog attributionTom Yu2003-06-091-1/+1
| | | | | | ticket: 1568 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15601 dc483132-0cff-0310-8789-dd5450dbe970
* * krb524.c: Fix copyright noticeTom Yu2003-06-092-17/+24
| | | | | | ticket: 1568 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15600 dc483132-0cff-0310-8789-dd5450dbe970
* fix bug: would return krb.conf entries plus dns infoKen Raeburn2003-06-092-0/+9
| | | | | | | | | | * RealmsConfig-glue.c (krb_get_krbhst): Don't fall back to DNS if entries were found in krb.conf, and just not enough to fill the request. ticket: 1550 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15599 dc483132-0cff-0310-8789-dd5450dbe970
* Checkpoint some working code.Ken Raeburn2003-06-072-4/+77
| | | | | | | | | | | | | | | | | A better solution is in the works, but may or may not make the deadline for the next beta... * RealmsConfig-glue.c: Include k5-int.h. (dnscache): New variable. (DNS_CACHE_TIMEOUT): New macro. (krb_get_krbhst) [KRB5_DNS_LOOKUP]: If no krb.conf info is found, try DNS SRV records for "kerberos-iv". Cache results in case they're immediately requested again. ticket: 1550 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15598 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (struct srv_dns_entry): Moved to k5-int.h.Ken Raeburn2003-06-063-20/+34
| | | | | | | | | | | | | | (krb5int_make_srv_query_realm): Renamed from make_srv_query_realm. (krb5int_free_srv_dns_data): New function. (krb5_locate_srv_dns_1): Use it. * accessor.c (krb5int_accessor): Fill in make_srv_query_realm and free_srv_dns_data fields. ticket: 1550 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15596 dc483132-0cff-0310-8789-dd5450dbe970
* Export hooks for looking up SRV records, so we can avoid duplicating the codeKen Raeburn2003-06-062-1/+28
| | | | | | | | | | | * k5-int.h (struct srv_dns_entry): Declare. (krb5int_make_srv_query_realm, krb5int_free_srv_dns_data): Declare. (struct _krb5int_access): Add make_srv_query_realm and free_srv_dns_data fields. ticket: 1550 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15595 dc483132-0cff-0310-8789-dd5450dbe970
* Don't allow renewable_ok to be set if the renew liftime is greaterSam Hartman2003-06-062-0/+7
| | | | | | | | | | than the ticket lifetime. Ticket: 1576 Tags: pullup Status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15590 dc483132-0cff-0310-8789-dd5450dbe970
* * g_cnffile.c (krb__get_srvtabname): Make retname be a staticTom Yu2003-06-062-7/+12
| | | | | | | | | | | | | array rather than a static pointer, to avoid callers' possible retention of free()d pointers. Yes, this may cause difficulty with making this function thread-safe. ticket: 1563 target_version: 1.3 version_fixed: 1.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15589 dc483132-0cff-0310-8789-dd5450dbe970
* --localstatedir=/var/db for KfM buildsAlexandra Ellwood2003-06-061-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15586 dc483132-0cff-0310-8789-dd5450dbe970
* Static function krb5_generate_authenticator should take unsigned sequence ↵Ezra Peisach2003-06-062-2/+7
| | | | | | | | | | | | number argument * mk_req_ext.c (krb5_generate_authenticator): Sequence numbers are unsigned now. Ticket: new tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15585 dc483132-0cff-0310-8789-dd5450dbe970
* be more flexible in handling failures getting root access in test suiteKen Raeburn2003-06-052-2/+10
| | | | | | | | | | | * default.exp (setup_root_shell): Check for "not authorized". Map eof to unsupported. ticket: new target_version: 1.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15582 dc483132-0cff-0310-8789-dd5450dbe970
* Use fork not vfork in ftpSam Hartman2003-06-056-9/+14
| | | | | | | Ticket: 1547 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15581 dc483132-0cff-0310-8789-dd5450dbe970
* pullup of changes previously committed to branch firstTom Yu2003-06-053-4/+56
| | | | | | | | | ticket: 1568 version_fixed: 1.3 target_version: 1.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15578 dc483132-0cff-0310-8789-dd5450dbe970
* If krb5_c_string_to_key isSam Hartman2003-06-052-0/+19
| | | | | | | | | | | called with an afs3 salt length for a non-DES enctype, return KRB5_CRYPTO_INTERNAL. Ticket: 1521 Status: open Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15576 dc483132-0cff-0310-8789-dd5450dbe970
* remove debugging printf accidentally left in krb524initKen Raeburn2003-06-052-1/+4
| | | | | | | | | | * k524init.c (main): Remove debugging printf. ticket: new target_version: 1.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15575 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (make_srv_query_realm): Punt if strdup fails. Always returnKen Raeburn2003-06-052-24/+34
| | | | | | | | | | | | | what data we can, even if memory allocation or other problems prevent us from returning more. (krb5_locate_srv_dns_1): Always return what data we can. Fix memory leak. Free up temporary storage as quickly as possible, while building up address list to return. ticket: 1549 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15574 dc483132-0cff-0310-8789-dd5450dbe970
* * password_to_key.c (mit_passwd_to_key, afs_passwd_to_key): DeleteTom Yu2003-06-052-2/+7
| | | | | | | | spurious space from prompt. ticket: 1560 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15569 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (setup_root_shell): Don't try to use the procedureTom Yu2003-06-042-3/+6
| | | | | | "-" when handling error messages from rlogin. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15563 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (kdb_check): Remove uses of "dump -old", etc., sinceTom Yu2003-06-042-9/+6
| | | | | | | | | | it doesn't work anymore given the new default for triple-DES master keys. ticket: 1190 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15562 dc483132-0cff-0310-8789-dd5450dbe970
* Put krb5int_locate_server back in the accessor "export" listKen Raeburn2003-06-044-0/+12
| | | | | | | ticket: 1549 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15561 dc483132-0cff-0310-8789-dd5450dbe970
* Handle SRV RR target of "." by returning a new error code.Ken Raeburn2003-06-042-29/+65
| | | | | | | | | | | | | | | | May have memory leaks -- needs checking before pullup. * locate_kdc.c (struct srv_dns_entry): Move to top level. (make_srv_query_realm): Separate from krb5_locate_srv_dns_1; just do query and return results. (krb5_locate_srv_dns_1): Call it, and build addlist entries. Check for one RR with a target of ".", and return an error. (krb5_locate_srv_dns): Deleted. ticket: 1549 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15560 dc483132-0cff-0310-8789-dd5450dbe970
* * t_locate_kdc.c (main): Call krb5_locate_srv_dns_1Ken Raeburn2003-06-042-1/+3
| | | | | | | ticket: 1549 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15559 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (get_port): Revert last changeKen Raeburn2003-06-042-7/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15558 dc483132-0cff-0310-8789-dd5450dbe970
* * changepw.c (krb5_locate_kpasswd): Check specifically for certain errorsKen Raeburn2003-06-042-1/+4
| | | | | | | | | before using fallback heuristics. ticket: 1549 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15557 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_err.et (KRB5_ERR_NO_SERVICE): New error codeKen Raeburn2003-06-042-0/+6
| | | | | | | ticket: 1549 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15556 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (start_kerberos_daemons): "cannont" => "cannot"Ken Raeburn2003-06-032-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15555 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (get_port): Replace function with macroKen Raeburn2003-06-032-3/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15554 dc483132-0cff-0310-8789-dd5450dbe970
* * RealmsConfig-glue.c (get_krbhst_default): Deleted.Ken Raeburn2003-06-032-19/+5
| | | | | | | | | (krb_get_krbhst): Don't call it. ticket: 1551 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15553 dc483132-0cff-0310-8789-dd5450dbe970
* Yet more double colon password promptsSam Hartman2003-06-033-3/+8
| | | | | | | | | | | More places in the code with password prompts needing fixing to not include colon. Ticket: new Target_Version: 1.3 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15552 dc483132-0cff-0310-8789-dd5450dbe970
* Save a copy of the ciphertext from the kdc rather than trying toSam Hartman2003-06-032-0/+9
| | | | | | | | | decrypt the already decrypted text each time through the loop. Ticket: 1554 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15551 dc483132-0cff-0310-8789-dd5450dbe970
* Moved krb524_convert_creds_kdc into libkrb5 and krb5.h. Also export new ↵Alexandra Ellwood2003-06-034-397/+52
| | | | | | krb5_524_convert_creds git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15549 dc483132-0cff-0310-8789-dd5450dbe970
* * init_os_ctx.c: Included header to get __KLAllowHomeDirectoryAccess()Alexandra Ellwood2003-06-032-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15547 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (setup_root_shell): Handle error messages indicating "-x" isn'tKen Raeburn2003-06-032-1/+15
| | | | | | supported. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15545 dc483132-0cff-0310-8789-dd5450dbe970
* Drop default_kdc_enctypes and all related codeTom Yu2003-06-035-171/+19
| | | | | | | | | ticket: 1553 target_version: 1.3 status: open tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15544 dc483132-0cff-0310-8789-dd5450dbe970
* * change_password.c (krb_change_password): Explicitly zero theTom Yu2003-06-033-4/+15
| | | | | | | | | | | | | | | session key. Zero the key derived from the new password. * mk_req.c (krb_mk_req): Explicitly zero the session key. (krb_mk_req_creds_prealm): Don't zero the session key, in case the caller wants to make use of it. ticket: 1546 status: open target_version: 1.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15543 dc483132-0cff-0310-8789-dd5450dbe970
* * api.2/init-v2.exp (test117): Update lifetime expected for new defaultsKen Raeburn2003-06-022-2/+7
| | | | | | | ticket: 1190 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15542 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Default RLOGIN_FLAGS to "-x".Ken Raeburn2003-06-012-1/+33
| | | | | | | | | (start_kerberos_daemons): Watch for "Cannot bind server socket" and log it. Watch for "no sockets set up" and report an error. (setup_root_shell): Watch for "Cannot assign requested address", log it and give up. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15541 dc483132-0cff-0310-8789-dd5450dbe970
* * alt_prof.c (kadm5_get_config_params): Change default max_life to one dayKen Raeburn2003-05-312-1/+6
| | | | | | | ticket: 1190 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15539 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc.conf: Delete supported and master key type specsKen Raeburn2003-05-312-2/+2
| | | | | | | ticket: 1190 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15538 dc483132-0cff-0310-8789-dd5450dbe970