| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13525 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13524 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* auth_unix.h: Expand prototype for xdr_authunix_params to include
arguments.
* auth_gssapi.h: Give full prototypes for xdr_gss_buf,
xdr_authgssapi_creds, xdr_authgssapi_init_arg and
xdr_authgssapi_init_res.
* auth_gssapi.c, auth_none.c, auth_unix.c: For struct AUTH
disptach functions, provide full prototypes and ensure consistant
usage in functions
* auth.h: Provide prototypes dispatch functions in struct
AUTH. Give a forward declaration of struct rpc_msg. Change
duplicate definitions of AUTH_WRAP and AUTH_UNWRAP into auth_wrap
and auth_unwrap. Give full prototype for authany_wrap.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13521 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13518 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
krb_svc_init_preauth, krb_get_svc_in_tkt_preauth, kset_logfile,
krb_log, krb_set_logfile, krb_set_lifetime, month_sname,
krb_rd_preauth, krb_net_rd_preauth, krb_net_rd_sendauth,
krb_stime, krb_start_session, krb_end_session,
krb_get_default_user, krb_set_default_user.
* ad_print.c, g_svc_in_tkt.c, klog.c, log.c, mk_req.c,
month_sname.c, rd_preauth.c, sendauth.c, stime.c, unix_glue.c:
Include krb4int.h for prototypes.
* decomp_tkt.c: Include krb54proto.h for decomp_tkt_krb5()
prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13517 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13516 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
added oids from rfc 2744. Kept old oids for compatibility.
[pullup of lxs's changes]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13515 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
* ovsec_kadmd.c: Declare usage() and display_status() static.
Flush out static prototype for display_status_1().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13514 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
not having `.' or `,' after @xref.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13513 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
krb5 prototypes are declarted from krb.hkrb__get_cnffile() and
krb5 prototypes are declarted from krb.hk_gethostname().
* g_pw_in_tkt.c: Declare passwd_to_key() static.
* cr_tkt.c: Move krb5.h inclusion before krb.h so that certain
krb5 prototypes are declarted from krb.h.
* g_admhost.c, g_cnffile.c, g_krbhst.c, g_krbrlm.c,
gethostname.c
krb5 prototypes are declarted from krb.hrealmofhost.c:
Include krb4int.h and remove prototypes included in there.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13512 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
* krb524.h: Replace profile for krb524_send_message() with
krb524_sendto_kdc(). (krb524_send_message no longer exists).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13511 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
| |
to xcalloc() where was intented in code (two arguments to
xmalloc).
* ksu.h: Provide full prototypes for xmalloc(), xrealloc(),
xcalloc(), and xstrdup().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13510 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
pkt_cipher().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13509 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
getdate_yyerror().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13508 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
for extra separator characters (like spaces) between keysalts.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13507 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13502 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* kadmin.exp: Use $tmppwd rather than hardcoding tmpdir.
* rcp.exp: Use $tmppwd rather than hardcoding tmpdir.
* rsh.exp: Rearrange ordering of environment setup slightly.
* standalone.exp: Use $KLIST -5 -e so as to better debug enctype
problems.
* v4gssftp.exp: Do check_klogin as well as check_k5login. Use
$tmppwd rather than hardcoding tmpdir.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13501 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
specification of an alternative temporary directory. Wrap a loop
around various testings and settings of interface variables that
specify the locations of programs to be tested, e.g. $KADMIND.
Add some support for having different sets of enctypes on client,
server, and kdc. The envstack changes and multiple config file
support should get cleaned up somewhat later to possibly allow for
programs to execute on different hosts.
(check_k5login): Fix up to reflect actual (perhaps bogus) behavior
of krb5_kuserok(), which doesn't do quite what we expect, so there
really does need to be something like "luser@KRBTEST.COM" in the
.k5login file.
(check_klogin): New procedure; .klogin also needs to be checked
for the v4gssftp test.
(envstack_push, envstack_pop): New procedure; keep a stack of
environment variable state, which is useful for running different
programs with different config files.
(setup_runtime_flags, setup_kerberos_env): Rewrite somewhat so
they play nice with the envstack.
(setup_krb5_conf): New procedure; write a config file with the
contents parameterized based on the type of program that will use
it.
(setup_kerberos_files): Create different krb5.conf files for
client, server, and kdc.
(setup_kadmind_srvtab, setup_kerberos_db, start_kerberos_daemons):
Rewrite to play nice with envstack.
(setup_root_shell_noremote): New procedure from raeburn; handle
the case where we're already running as root.
(setup_root_shell): Call setup_root_shell_noremote as appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13500 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
| |
included, it gets redefined. Do not use "options" either.
* k5-int.h (krb5_get_init_creds): Do not use "options" as argument
name.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13499 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
use by krb5_change_password().
* README: Describes which admin protocol is used with which server.
There is a newer draft of the password changing protocol out
(version 2 of the protocol) but we do not implement it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13498 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13497 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
* configure.in: Test if prototype for daemon necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13496 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
(encrypt_failure): Change to not shadow global error_message.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13495 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
* authenc.c (telnet_gets): Change local variable prompt to tprompt
to not shadow global variable.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13494 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
global function.
* kerberos5.c (kerberos5_is): Change errbuf to kerrbuf to not
shadow previous local.
* kerberos.c (kerberos4_send): Change random_key to rand_key to
prevent redefine by des.h. Change auth to kauth to not shadow global.
(kerberos4_status): Change name to kname for same reason.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13493 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
* ftpd.c (main): Local variable name changes to prevent shadowing
of cp, sin, optarg.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13492 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
to match format.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13491 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13490 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
| |
prototype argument from sin to sockin. Get rid of global params
variable.
* schpw.c: Change function declaration as well.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13489 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
shadowing of getopt function.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13488 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
* krlogind.c (main): Change sin to sock_in.
* krshd.c: Change sin to sock_in to not shadow global. Change
some local variables to not shadow others.
2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13487 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
shadow filewide static definition of name.
Move file wide definition of "pl" into respective functions.
* pmap_rmt.c: Change sin->sockin and socket->sock.
* pmap_getmaps.c, pmap_getport.c: Change socket to sock to not
shadow network function.
* bindresvport.c, clnt_generic.c: Change sin to sockin to not
shadow function declaration.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13486 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
prevent shadowing.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13485 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
shadow local variable ptr.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13484 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
last change.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13483 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* util_crypt.c (kg_encrypt, kg_decrypt): Use free() instead of
krb5_free_data_contents().
* util_cksum.c (kg_checksum_channel_bindings): Make sure that
returned memory is allocated with xmalloc() so that caller can use
xfree() on it.
* k5unseal.c (kg_unseal_v1): Use krb5_free_data_contents()
instead of xfree().
* k5seal.c (make_seal_token_v1): Use krb5_free_data_contents()
instead of xfree().
* init_sec_context.c (make_ap_req_v1): Use xfree() instead of
free() to be consistent with xmalloc() usage. Use
krb5_free_data_contents() instead of xfree().
* disp_name.c (krb5_gss_display_name): Use
krb5_free_unparsed_name() instead of xfree().
* add_cred.c (krb5_gss_add_cred): Use xfree() instead of free() to
be consistent with xmalloc() usage.
* accept_sec_context.c (krb5_gss_accept_sec_context): Remove
variables that were effectively unused. Use
krb5_free_data_contents() instead of xfree() where appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13482 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
build of a directory.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13481 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13480 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13479 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13478 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
(convert): Do bounds checking on character values used as indices into value
array.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13477 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13476 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13475 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
exported for now)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13474 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
silence warnings
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13473 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13472 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(krb5_rc_io_open_internal): Include code previously in
krb5_rc_open(). Add a new full pathname parameter so that a file
can be opened by its full pathname. Make cleanup code easier to
read.
(krb5_rc_io_open): Call krb5_rc_io_open_internal().
(krb5_rc_io_move): Fix Windows implementation so that it works
where it is used (only called by krb5_rc_dfl_expunge()).
(krb5_rc_io_sync): Fix function header to comply with coding
standard. Add implementation for Windows.
(krb5_rc_io_close): Close file descriptor only if it is not -1.
Set file descriptor to -1 if it is successfully closed.
* rc_dfl.c (krb5_rc_dfl_close_no_free): Leave file descriptor
check for krb5_rc_io_close().
(krb5_rc_dfl_expunge): Do better resource cleanup on error.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13471 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
log entry was stale
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13470 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
macros, for better format/argument checking under gcc.
* main.c (pwd_change): Use strncpy instead of sprintf to copy error message
text into buffer. Use goto rather than repeated code.
(main): Use %lx for params.mask. Make debug_level volatile. Delete unused
variables oldnames, rlen.
* srv_net.c (net_find_slave): Initialize "found".
(net_dispatch): Make "kret" volatile, so longjmp won't clobber it.
(net_slaves_active): Variable deleted.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13469 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
is not defined, declare static functions as taking a void *type for
passing to g_set_entry_add.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13468 dc483132-0cff-0310-8789-dd5450dbe970
|