| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
format in debugging statments.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13564 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
getgroups.
* auth_unix.c (authunix_create_default): Use GETGROUPS_T array in
call to getgroups. Copy into array of int for call to
authunix_create. Note: If auth_unix protection ever used with this
code, we will need to cleanup assumptions in int being 32 bits in
OTW transfer of gids.
* clnt_tcp.c, svc_tcp.c: Change writetcp and readtcp to take char
* as first argument to be compatible with xdrrec_create.
* xdr.c (xdr_opaque): Cast argument in call to XDR_GETBYTES.
* svc.h: Add prototype for gssrpc_svcudp_enablecache.
* svc_auth_gssapi.c (_gssrpc_svcauth_gssapi): Change
_svcauth_gssapi to _gssrpc_svcauth_gssapi for consistancy.
* svc_auth.c: Move prototypes for _gssrpc_svcauth_{unix, null,
short, gssapi} to:
* svc_auth.h: here.
* svc_auth_unix.c: Update _gssrpc_svcauth_short and
_gssrpc_svcauth_unix to match prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13563 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13559 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13558 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13557 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13556 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13555 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
exercise PBSZ failure.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13554 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
| |
variables to keep track of the total buffer length desired and
the actual maximum that can be fitted. Add
secure_determine_constants() to determine the mechanism
dependent overhead. This has a hard limit for krb4 - for
gssapi use gss_wrap_size_limit.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13553 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
static.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13550 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13549 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
| |
"/dev/" for the non-sysV case. Handle lseek() returning non-zero
yet non-negative values (it usually does... :-), so that we can
actually write somewhere not at the beginning of the utmp file if
necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13548 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rpc_test_prog_1_svc.
* rpc_test.h: Create prototypes for rpc_test_echo_1_svc and
rpc_test_prog_1_svc.
* server.c: Declare usage and handlesig static. Change
rpc_test_echo_1 to rpc_test_echo_1_svc and rpc_test_prog_1 to
rpc_test_prog_1_svc.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13547 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
profile_ser_externalize, profile_ser_internalize.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13546 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ftpd.c: Declare secure_fprintf, gunique, sgetsave, sgetpwnam,
path_expand static.
* ftpd_var.h: Add prototypes for getline, renamefrom, ftpd_popen,
ftpd_pclose.
* ftpcmd.y: Declare lookup, copy and urgsafe_getc static.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13545 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
EncryptAuthDec(), EcnryptDebug(), EncryptVerbose() as they exists
in enc-proto.h in libtelnet.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13544 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* kerberos5.c: Include krb5forw.h for rd_and_store_for_creds()
prototype which is removed from this file.
* forward.c: Include krb5forw.h for prototype.
* setenv.c: Include misc-proto.h for setenv/unsetenv prototypes.
* parsetos.c: Include misc-proto.h for parsetos prototype.
* misc-proto.h: Add prototype for parsetos(), setenv(), unsetenv()
as needed.
* kerberos5.c: Declare kerberos5_forward() static and flush out
prototype.
* gettytab.h: Flush out prototypes for getent() and getstr().
* getent.c: Include gettytab.h for prototypes.
* genget.c: Include misc.h for prototypes.
* enc_des.c: Add prototype for fb64_printsub.
* enc-proto.h: Add prototypes for encrypt_debug(),
finddecryption(), EncryptAuthEnc(), EncryptAutoDec(),
EncryptDebug(), EncryptVerbose().
* encrypt.c: Declare encrypt_list_types() and encrypt_keyid() static.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13543 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13542 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* main.c: Declare usage() static.
* ring.h: Provide full prototypes for ring_mark() and
ring_clear_mark().
* sys_bsd.c: Declare signal handler and NetNonblockingIO static.
* telnet.c: Declear gettermname() and mklist() static. Change
local variable timeout to tmie_out to avoid shadowing curses
header file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13541 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
inclusion if LINEMODE defined.
* sys_term.c: Declare getptyslave() and addard() static.
* telnetd.c: Declare _gettermname() and getterminaltype()
static.
* utility.c: Declare putstr() and nextitem() static.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13540 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
| |
* admin_server.c, kadm_func.c: Declare functions static that are
local to file.
* acl_files.c: Include kadm_server.h for prototypes. Flush out
static prototype for acl_abort.
* kadm_supp.c: Include kadm_server.h for prototypes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13539 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tcl_ovsec_kadm_init.
* tcl_kadm5.c: Include tcl_kadm5.h. Declare
tcl_kadm5_{rename,chpass,get}_principal,
tcl_kadm5_chpass_principal_util, tcl_kadm5_randkey_principal,
tcl_kadm5_{create,delete,modify,get}_policy,
tcl_kadm5_free_{principal,policy}_ent, tcl_kadm5_get_privs as
static.
* test.c, tcl_ovsec_kadm.c: Include tcl_kadm5.h.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13538 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
* misc.h: Add prototypes for kadm_1 and process_chpw_request.
* ovsec_kadmd.c: Include misc.h and remove prototype for
process_chpw_request and kadm_1.
* kadm_rpc_svc.c, schpw.c: Include misc.h for prototypes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13537 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ovload.c: Include nstrtok.h
* strtok.c: Include nstrtok.h for prototype. Declare delim as
const char * argument. Delete rcsid.
* string_table.c: Delete rcsid.
* kadm5_create.c (build_name_with_realm): Declare static.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13536 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
| |
that trailing separator characters (as in the DEFAULT_ETYPE_LIST)
don't cause another iteration, which was causing the following
loop to fall off the end of the string due to count being one too
great.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13532 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13531 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
used.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13529 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* auth_gssapi.h: Complete prototypes for
_svcauth_gssapi_unset_names().
* clnt.h: Prototype dispatch functions and all functions.
* clnt_perror.c: Prototype static auth_errmsg().
* clnt_raw.h clnt_tcp.c, clnt_udp.c: Provide prototypes to static
functions and match dispatch table prototypes. control function
takes void * instead of caddr_t.
* pmap_rmt.c: Move prototype for resultproc_t to pmap_clnt.h.
* rpc.h: get_myaddress returns int. Add prototypes for callrpc and
getrpcport.
* rpc_commondata.c (rpc_createerr): When initializing rpc_creaerr
use RPC_SUCCESS instead of 0.
* get_myaddress.c, rpc_dtablesize.c: Include gssrpc/rpc.h for
prototype.
* pmap_clnt.h, pmap_prot.h, pmap_rmt.h, rpc_msg.h: Full prototypes
for all functions.
* svc.c: Provide full prototype for static function.
* svc.h: Prototypes for dispatch functions added. Flushed out
prototypes for all functions missing prototypes. Added prototype
for svcfd_create.
* svc_auth.c: Prototypes for all functions referenced.
* svc_auth.h: Prototype dispatch functions to svc_auth_ops.
* svc_auth_any.c: Replace use of authany_wrap() with a new local
function that matches svc_auth_ops dispatch table.
* svc_simple.c: Provide prototype for static function
universal. Fill in missing types of parameters to
gssrpc_registerrpc.
* svc_raw.c svc_tcp.c, svc_udp.c: Provide prototypes for static
functions and match prototypes in dispatch table. Change getargs
and freeargs argument to void * from caddr_t.
* xdr.c (xdr_void): Function to match prototype of arguments given.
* xdr.h: Provide full prototypes for xdr_ops dispatch table and
xdr_void().
* svc_auth_gssapi.c, xdr_alloc.c, xdr_mem.c, xdr_rec.c,
xdr_stdio.c: Provide protypes for static functions and match
dispatch tables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13528 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
krb_set_default_user if _WINDOWS is not defined. There is a
conditional prototype in krb.h for them.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13527 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13526 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
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
|