summaryrefslogtreecommitdiffstats
path: root/src/appl
Commit message (Collapse)AuthorAgeFilesLines
* Between the 1.1 and 1.2 releases of Kerberos, the gss-sample protocolSam Hartman2003-01-094-30/+69
| | | | | | | | | | | | | | | changed. People seem to use this sample for interop testing, so support for the old protocol is needed. This commit adds a -v1 flag to the gss-client that will use the old protocol. The server does not yet support the old protocol, so the ticket remains open. Ticket: 881 Status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15103 dc483132-0cff-0310-8789-dd5450dbe970
* Nuke some old .orig filesKen Raeburn2003-01-088-144/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15089 dc483132-0cff-0310-8789-dd5450dbe970
* Only system headers should declare errnoSam Hartman2003-01-052-1/+5
| | | | | | | | | | | | | Many parts of krb5 declare errno in source files using extern int errno. This has not been needed in ANSI C for a long time, and actively breaks modern versions of glibc. So these declarations are removed and errno.h included where necessary. Ticket: new Component: krb5-build git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15082 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (auth_data): Kerberos v4 checksum must be a 32-bit valueKen Raeburn2003-01-032-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15081 dc483132-0cff-0310-8789-dd5450dbe970
* * compat_recv.c (accept_a_connection): Test if IPv6 socket returnsEzra Peisach2003-01-032-1/+7
| | | | | | | EAFNOSUPPORT as well as EPROTONOSUPPORT. Irix 6.5.16m returns the former. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15079 dc483132-0cff-0310-8789-dd5450dbe970
* Add IPv6 support to rshd test/debug code:Ken Raeburn2003-01-014-47/+154
| | | | | | | | | | | | | | | | * compat_recv.c: Include sys/select.h and port-sockets.h. (krb5_compat_recvauth_version): Only attempt krb4 authentication if the source address is an IPv4 one. (accept_a_connection): New function, derived from old krshd.c. Listen on IPv6 as well as IPv4, if possible. * krshd.c (main): Call accept_a_connection. Change fromlen to a socklen_t. (doit): Initialize s. Change length passed to getsockname to a socklen_t. (recvauth): Change len to socklen_t. Cast peer IPv4 address before calling krb5_compat_recvauth_version. * defines.h: Include port-sockets.h. (accept_a_connection): Declare. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15075 dc483132-0cff-0310-8789-dd5450dbe970
* * gss-misc.c (send_token, recv_token): Open-code the math to send and receiveKen Raeburn2002-12-302-5/+21
| | | | | | | the length as four bytes in network order, rather than using the first four bytes of a size_t. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15071 dc483132-0cff-0310-8789-dd5450dbe970
* Replace dependencies on generated krb524 and krb4 headers withTom Yu2002-12-234-27/+24
| | | | | | | | | variables, to allow correct behavior when krb4 is disabled. ticket: 1276 owner: tlyu git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15070 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesTom Yu2002-12-121-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15047 dc483132-0cff-0310-8789-dd5450dbe970
* More KfM merge workTom Yu2002-12-123-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | Create new file FSp-glue.c including KfM functions that had previously been scattered through various other files. Port RealmsConfig-glue.c from KfM, including old Unix-ish krb4 configuration code as fallback. Remove other files containing old realm/config file support. Add KRB5_CALLCONV to krb_get_in_tkt_creds. Fix various functions to take const char* as arguments now that tkt_string() returns const. Assorted minor cleanup. Implement krb_get_err_text in terms of com_err. Implement gross kludge to force krb_err_txt to remain in sync with com_err. ticket: 1189 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15046 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Quote the argument to AC_CHECK_HEADER. AutoconfEzra Peisach2002-12-064-2/+12
| | | | | | 2.57 was having problems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15033 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesTom Yu2002-11-273-17/+33
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15016 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Set SETENVSRC correctlyTom Yu2002-11-272-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15015 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Test for speed_t being presentEzra Peisach2002-11-157-17/+52
| | | | | | | | | * sys_term.c (addarg): When reallocing memory, ensure in size of pointer. Use speed_t instead of int for termspeeds. * authenc.c, ext.h, state.c, utility.c: Unsigned/signed cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15012 dc483132-0cff-0310-8789-dd5450dbe970
* * sys_bsd.c: Moved declaration for susp() to type of file andEzra Peisach2002-11-159-53/+85
| | | | | | | | | | | | | provide prototype. * commands.c, externs.h, telnet.c, network.c: Add prototype declaration for command handler table dispatch functions. Make functions called consistant with prototype. Misc unsigned/signed cleanups. * authenc.c, main.c, utilities.c: Signed vs. unsigned cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15011 dc483132-0cff-0310-8789-dd5450dbe970
* * enc-proto.h, enc_des.c, encrypt.c: Unsigned/signed cleanupsEzra Peisach2002-11-1515-29/+59
| | | | | | | | | | | | | | | | | | | * forward.c: Include unistd.h if present on machine. * misc-proto.h misc.c (auth_encrypt_user): Declare argument as const. * auth.c: Cast argument auth_encrypt_user. auth_gen_printsub() and auth_printsub() take unsigned int as buffer length. * auth.h, auth-proto.h, kerberos.c, kerberos5.c, spx.c: auth_gen_printsub(), auth_printsub(), kerberos4_printsub(), kerberos5_printsub(), spx_printsub() take unsigned int as length argument. * configure.in: Check for unistd.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15010 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c (makeargv): Report an error if parsed arguments won't fit in margvKen Raeburn2002-11-093-3/+16
| | | | | | | array. * ftp_var.h (line, argbuf): Extend to 500 bytes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14983 dc483132-0cff-0310-8789-dd5450dbe970
* This commit fixes up the in-tree callers of krb5_read_password() andTom Yu2002-11-062-1/+6
| | | | | | | | | | des_read_password(). We should perhaps tighten up the test suite now. ticket: 1217 status: open target_version: 1.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14972 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpcmd.y: Bison 1.75 cleanup. Essentially remove `=' beforeEzra Peisach2002-10-232-78/+83
| | | | | | | | statements to be executed. ticket: 1218 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14935 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Autoconf 2.55 will not simply use cpp to test forEzra Peisach2002-10-222-1/+17
| | | | | | | | | header file existance - the header file must be compilable. This will mean that if one header depends on another, it must be included. Test for term.h using the optional fourth argument to AC_CHECK_HEADERS to specify include files to test. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14933 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (rcp): Fix typo in 06-25 changeKen Raeburn2002-09-152-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14864 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesKen Raeburn2002-08-295-9/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14791 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2002-08-2932-16/+80
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore a bunch of files generated by building in the source tree, excludingKen Raeburn2002-08-297-0/+8
| | | | | | | | | those covered by CVSROOT/cvsignore patterns. Static UNIX build only, at the moment, may need updates for other configurations. (Second try; this time, deal with the cases where "cvs add"/"cvs ci" choked on previously deleted versions numbered 5.x.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14785 dc483132-0cff-0310-8789-dd5450dbe970
* retry checkin reviving dead fileKen Raeburn2002-08-291-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14784 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore a bunch of files generated by building in the source tree, excludingKen Raeburn2002-08-293-0/+5
| | | | | | | those covered by CVSROOT/cvsignore patterns. Static UNIX build only, at the moment, may need updates for other configurations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14783 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-2334-17/+85
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (auth_data, reply_gss_code): Use OM_uint32 instead of intEzra Peisach2002-08-232-2/+7
| | | | | | to match arguments to gssapi functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14760 dc483132-0cff-0310-8789-dd5450dbe970
* * compat_recv.c: Include defines.h for prototypesEzra Peisach2002-08-232-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14759 dc483132-0cff-0310-8789-dd5450dbe970
* * telnetd.c: Switched the valid and user descriptions under the -aJen Selby2002-08-082-2/+7
| | | | | | flag git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14690 dc483132-0cff-0310-8789-dd5450dbe970
* * klogind.M, kshd.M, login.M: changed manual sections 8c, 1c, andJen Selby2002-08-077-19/+25
| | | | | | | 3x to 8, 1, and 3, respectively * rcp.M, rlogin.M, rsh.M: added references to the server manpages git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14683 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesKen Raeburn2002-07-132-29/+26
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14638 dc483132-0cff-0310-8789-dd5450dbe970
* Don't install port-sockets.h, and don't include it from <kerberosIV/krb.h>.Ken Raeburn2002-07-124-0/+11
| | | | | | Instead, include it in the source files that need it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14627 dc483132-0cff-0310-8789-dd5450dbe970
* * login.M: added information about different command line options;Jen Selby2002-07-093-16/+27
| | | | | | | changed defaults given for tags that did not match code * login.c: changed inaccurate comments git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14625 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c (protocol): Initialize pbp, fbp. Change left to type size_tKen Raeburn2002-07-092-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14623 dc483132-0cff-0310-8789-dd5450dbe970
* updated depsKen Raeburn2002-06-281-5/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14590 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.M: added warning that encryption does not encrypt theJen Selby2002-06-273-4/+12
| | | | | | | command line *rlogin.M: added warning that username is sent unencrypted git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14589 dc483132-0cff-0310-8789-dd5450dbe970
* enable ipv6 rsh connectionsKen Raeburn2002-06-254-80/+126
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14580 dc483132-0cff-0310-8789-dd5450dbe970
* * defines.h (default_realm): DeclareKen Raeburn2002-06-252-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14579 dc483132-0cff-0310-8789-dd5450dbe970
* * kcmd.c (setup_secondary_channel): Use select to time out after 10 minutes, orKen Raeburn2002-06-252-0/+34
| | | | | | | notice the primary channel being closed or receiving data while we wait for the secondary one to be set up. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14578 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesKen Raeburn2002-06-251-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14577 dc483132-0cff-0310-8789-dd5450dbe970
* back out some changes that weren't readyKen Raeburn2002-06-252-68/+45
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14576 dc483132-0cff-0310-8789-dd5450dbe970
* some changes missed in last checkingKen Raeburn2002-06-251-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14575 dc483132-0cff-0310-8789-dd5450dbe970
* Move compat_recv.c from krb5util library. Move some duplicated code intoKen Raeburn2002-06-257-153/+632
| | | | | | kcmd.c. Use getnameinfo and sockaddr_storage more. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14572 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (ftpd): Don't use krb5util libraryKen Raeburn2002-06-252-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14571 dc483132-0cff-0310-8789-dd5450dbe970
* * krsh.c (SECURE_MESSAGE): Only indicate that input/output data are beingKen Raeburn2002-06-252-1/+4
| | | | | | encrypted, and don't automatically say it's with DES. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14568 dc483132-0cff-0310-8789-dd5450dbe970
* ipv6 support in krlogind.cKen Raeburn2002-06-252-18/+34
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14567 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesKen Raeburn2002-06-215-30/+36
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14553 dc483132-0cff-0310-8789-dd5450dbe970
* * klogind.M: documented the -D and -f optionsJen Selby2002-06-174-7/+47
| | | | | | | * ksh.M: documented the -D and -L options * rcp.M: documented the -c and -C options git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14524 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesKen Raeburn2002-06-155-59/+42
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14522 dc483132-0cff-0310-8789-dd5450dbe970