summaryrefslogtreecommitdiffstats
path: root/src/appl
Commit message (Collapse)AuthorAgeFilesLines
...
* * configure.in: use AC_CONST since we don't learn it from the krb5Mark Eichin1995-04-262-0/+6
| | | | | | headers and gssapi.h uses it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5511 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c (main): LOG_AUTH in openlog arguments in wrong place.Ezra Peisach1995-04-263-5/+14
| | | | | | | | | | (recvauth): Do not copy principal on a V4 request. The ticket portion is not set by krb5_compat_recvauth for these. * configure.in: Check for libutil. Under OSF/1, logwtmp is stored there. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5494 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c (doit()) : If TIOCOTTY is defined unset theChris Provenzano1995-04-262-0/+16
| | | | | | controlling tty before setting it to another tty. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5493 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in, sys_term.c, telnetd.c : Have configure check forChris Provenzano1995-04-264-1/+13
| | | | | | sys/ptyvar.h and sac.h before .c files include it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5486 dc483132-0cff-0310-8789-dd5450dbe970
* * forward.c (rd_and_store_for_creds()) : Rewritten to useChris Provenzano1995-04-263-98/+218
| | | | | | | | | | | | | auth_context and the new krb5_rd_creds(). * forward.c (get_for_creds()) : New function replacing krb5_get_for_creds() and uses auth_context and new krb5_mk_creds() routine. * kerberos5.c (kerberos5_send()): Set initial flags on auth_context to KRB5_AUTH_CONTEXT_RET_TIME, and use new rd_and_store_for_creds() routine. * kerberos5.c (kerberos5_forward()): Use the new get_for_creds(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5485 dc483132-0cff-0310-8789-dd5450dbe970
* * forward.c (rd_and_store_for_creds()) : Rewritten to useChris Provenzano1995-04-269-92/+276
| | | | | | | | | | | | | | | auth_context and the new krb5_rd_creds(). * forward.c (get_for_creds()) : New function replacing krb5_get_for_creds() and uses auth_context and new krb5_mk_creds() routine. * kcmd.c (kcmd()): Use new get_for_creds() routine. * krlogind.c (recvauth()): Use new rd_and_store_for_creds() routine. * configure.in, krlogind.c, krsh.c, krshd.c, login.c, logutil.c. A bunch of patches from Ezra to get BSD to work on The Alpha that looked reasonable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5484 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize auth_context to NULL before usingChris Provenzano1995-04-262-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5482 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use krb5_override_default_realm, as it is obsoleteTheodore Tso1995-04-222-3/+15
| | | | | | (non-existent). Use krb5_set_default_realm instead. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5450 dc483132-0cff-0310-8789-dd5450dbe970
* Only call krb5_init_context if the telnet context hasn't beenTheodore Tso1995-04-222-2/+8
| | | | | | initialized yet. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5449 dc483132-0cff-0310-8789-dd5450dbe970
* The variable krb5_override_default_realm is obsolete. Use theTheodore Tso1995-04-222-6/+11
| | | | | | krb5_set_default_realm function instead. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5448 dc483132-0cff-0310-8789-dd5450dbe970
* The variable krb5_override_default_realm is obsolete. Use theTheodore Tso1995-04-222-4/+16
| | | | | | | | krb5_set_default_realm function instead. Add #include for <sys/stat.h>, which is now needed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5447 dc483132-0cff-0310-8789-dd5450dbe970
* rlogin testing changes from ian@cygnus.comMark Eichin1995-04-213-6/+56
| | | | | | | | | | | | | | | | > Fri Mar 24 15:04:25 1995 Ian Lance Taylor <ian@cygnus.com> * krlogind.c (srvtab): New global variable. (krb5_override_default_realm): Declare. (ARGSTR): Add "S:M:L:" to Kerberos version. (login_program): New global variable. (main): Handle -S, -M, and -L arguments. Call SO_REUSEADDR on socket if debug_port set. (doit): Use login_program instead of LOGIN_PROGRAM. (recvauth): Pass srvtab to krb5_compat_recvauth. * krlogind.M: Document -S, -M, and -L. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5430 dc483132-0cff-0310-8789-dd5450dbe970
* More changes from ian@cygnus.com to support testingMark Eichin1995-04-215-16/+124
| | | | | | | | | | | | | | | | | | | | | | | | > Fri Mar 24 15:04:25 1995 Ian Lance Taylor <ian@cygnus.com> * krcp.c (forcenet): New global vraiable. (main): Accept -D and -N arguments. Pass Kerberos realm to remote rcp execution. (hosteq): If -N specified, always return 0. * rcp.M: Document -D and -N. * krshd.c (ARGSTR): Add "P:" to KERBEROS version. (kprogdir): New global variable. (main): Handle -P. (path): Remove global variable. (path_rest): Remove explicit size. (envinit): Use 0 instead of path. (PATHENV): define. (doit): Use kprogdir variable instead of KPROGDIR macro when setting path. Build path in allocated memory rather than using a fixed size array. If the command starts with "rcp ", force use of kprogdir/rcp if it exists. * krshd.M: Document -P. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5429 dc483132-0cff-0310-8789-dd5450dbe970
* Fri Apr 21 14:07:15 1995 Mark Eichin <eichin@cygnus.com>Mark Eichin1995-04-218-15/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | Added Ian's changes with minor tweaks. These are used by the testsuite. > Thu Mar 23 18:18:31 1995 Ian Lance Taylor <ian@cygnus.com> * krshd.c (ARGSTR): Add S:M:A to KERBEROS version. (srvtab): New global variable. (krb5_override_default_realm): Declare. (main): Handle -S, -M and -A arguments. Call SO_REUSEADDR on socket if debug_port set. (doit): If -A used, allocate a random port for the stderr stream, rather than allocating a reserved port. Don't call initgroups if not changing the uid. (recvauth): Pass srvtab to krb5_compat_recvauth. * krshd.M: Document -S, -M, and -A. * krsh.c (main): Accept -A, and pass it to kcmd. * rsh.M: Document -A. * kcmd.c (kcmd): Add new argument anyport. If it is set, permit any port for the stderr stream, rather than requiring a reserved port. Initialize ret_cred to NULL. * krcp.c (main): Pass 0 for anyport to kcmd. * krlogin.c (main): Pass 0 for anyport to kcmd. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5428 dc483132-0cff-0310-8789-dd5450dbe970
* From Ian Taylor <ian@cygnus.com>.Mark Eichin1995-04-213-4/+45
| | | | | | | | | * telnetd.c (valid_opts): Add 'L'. If KRB5, add -R and -t. (main): Handle -L. If KRB5, handle -R and -t. * sys_term.c (login_program): New global variable. (start_login): Use login_program instead of LOGIN_PROGRAM. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5426 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c (main): Handle -k if KRB5 is defined. (from ian@cygnus.com)Mark Eichin1995-04-212-1/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5425 dc483132-0cff-0310-8789-dd5450dbe970
* Changes for testsuite from Ian Taylor <ian@cygnus.com>Mark Eichin1995-04-212-2/+52
| | | | | | | | | | | | | | * kerberos5.c (telnet_srvtab): New global variable. (telnet_krb5_realm): New global variable. (kerberos5_send): If telnet_krb5_realm is set, copy it into creds.server. Pass new_creds to krb5_mk_req_extended, not &creds. Pass &new_creds->keyblock to krb5_copy_keyblock_contents, not new_creds. (kerberos5_is): pass telnet_srvtab in to krb_rd_req. (kerberos5_forward): If telnet_krb5_realm is set, copy it into local_creds->server. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5414 dc483132-0cff-0310-8789-dd5450dbe970
* Add Cygnus's "Sanitize" system to the krb5 tree, to make it easier to doTheodore Tso1995-04-1420-0/+885
| | | | | | releases.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5359 dc483132-0cff-0310-8789-dd5450dbe970
* pop_init.c (pop_init): Put in a type cast to shut up the compiler.Theodore Tso1995-04-042-1/+6
| | | | | | | Popper is still using gethostbyname()'s static data wrong; this should be fixed eventually. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5340 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize auth_context to NULL before calling sendauth()Theodore Tso1995-04-012-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5336 dc483132-0cff-0310-8789-dd5450dbe970
* Use configure to see if unistd.h needs to be included. RemoveTheodore Tso1995-04-013-17/+8
| | | | | | leftover hair from emacs config. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5334 dc483132-0cff-0310-8789-dd5450dbe970
* Remove CFLAGS=@CCOPTS@ line, which is in pre.inTheodore Tso1995-03-312-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5329 dc483132-0cff-0310-8789-dd5450dbe970
* No need to have the session_key established for mutual authenticationTheodore Tso1995-03-292-6/+6
| | | | | | to work. (That's only done if ENCRYPTION is defined.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5313 dc483132-0cff-0310-8789-dd5450dbe970
* Add a makefile dependency for libtelnet.a, so that the executable getsTheodore Tso1995-03-294-2/+10
| | | | | | automatically relinked when the library changes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5312 dc483132-0cff-0310-8789-dd5450dbe970
* Allow mutual authentication even if the ENCRYPTION option is notTheodore Tso1995-03-292-2/+5
| | | | | | turned on. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5311 dc483132-0cff-0310-8789-dd5450dbe970
* * server.c: Use new calling conventions for krb5_sendauth(),Chris Provenzano1995-03-273-68/+75
| | | | | | | | | krb5_mk_req_extended(), and krb5_mk_safe(). * client.c: Use new calling conventions for krb5_recvauth(), krb5_rd_req(), and krb5_rd_safe(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5258 dc483132-0cff-0310-8789-dd5450dbe970
* * kerberos5.c (kerberos5_is()): Use new calling convention forChris Provenzano1995-03-272-40/+35
| | | | | | krb5_rd_req(), and krb5_mk_rep(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5257 dc483132-0cff-0310-8789-dd5450dbe970
* * sim_server.c: Use new calling convention for krb5_rd_req(),Chris Provenzano1995-03-272-53/+31
| | | | | | krb5_rd_safe(), and krb5_rd_priv(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5256 dc483132-0cff-0310-8789-dd5450dbe970
* * sim_client.c: Don't set cksumtype because CKSUMTYPE_RSA_MD4_DESChris Provenzano1995-03-272-4/+7
| | | | | | is now the default type. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5255 dc483132-0cff-0310-8789-dd5450dbe970
* * sserver.c: Use new calling convention for krb5_recvauth()Chris Provenzano1995-03-272-20/+22
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5254 dc483132-0cff-0310-8789-dd5450dbe970
* * pop_init.c Use new calling conventions for krb5_recvauth()Chris Provenzano1995-03-272-10/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5253 dc483132-0cff-0310-8789-dd5450dbe970
* * movemail.c: Fixups to get movemail to compileChris Provenzano1995-03-272-7/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5252 dc483132-0cff-0310-8789-dd5450dbe970
* * poplib.c (pop_init()): Use new calling convention for krb5_sendauth()Chris Provenzano1995-03-272-8/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5251 dc483132-0cff-0310-8789-dd5450dbe970
* kcmd.c (kcmd()): Don't pass any data to sendauth() to beChris Provenzano1995-03-275-87/+69
| | | | | | | | | | | | cchecksummed. The remote side doesn't check it anyway. krcp.c (send_auth()): Use new calling convention for krb5_rd_req(). krshd.c (recvauth()): Use new calling convention for krb5_compat_recvauth(). krlogind.c (recvauth()): Use new calling convention for krb5_compat_recvauth(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5250 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize auth_context to zero before calling mk_reqTheodore Tso1995-03-252-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5245 dc483132-0cff-0310-8789-dd5450dbe970
* fix copied code in HAVE_GETUTENT caseMark Eichin1995-03-251-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5244 dc483132-0cff-0310-8789-dd5450dbe970
* Make same fix for krlogindTheodore Tso1995-03-241-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5217 dc483132-0cff-0310-8789-dd5450dbe970
* Stupid typo in previous fixTheodore Tso1995-03-241-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5216 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (krshd): Move $(K4LIB) after $(KLIB) so that ifTheodore Tso1995-03-243-2/+9
| | | | | | | | we're using des425, the V5 crypto library can be picked up. configure.in: Use the correct path to find libdes425 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5214 dc483132-0cff-0310-8789-dd5450dbe970
* * logutil.c (update_wtmp): initialize ut from ent the way the V4Mark Eichin1995-03-242-0/+22
| | | | | | | code did. Appears to handle SunOS case (when nearly all of the ifdef's are off) correctly now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5207 dc483132-0cff-0310-8789-dd5450dbe970
* Delete redundant definitions defined in pre/config.inTheodore Tso1995-03-172-17/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5153 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in, configure.in: Use the libdes425 library so that the DESTheodore Tso1995-03-175-8/+26
| | | | | | | | | | | | | | code doesn't get dragged in twice. krlogind.c: Include <sys/time.h> so that Linux can get the FD_SET macros. kcmd.c (kcmd): Close the credentials cache when you're done with it. krlogind.c (doit): Always initialize the Krb5 error table. krlogind.c (main, doit): Minor type fixes to gethostbyname(), accept(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5151 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize ret_cred to zero so that in case of an error, we don't tryTheodore Tso1995-03-102-1/+6
| | | | | | to free stack garbage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5108 dc483132-0cff-0310-8789-dd5450dbe970
* * kerberos5.c Use new calling convention for krb5_mk_req_extended()Chris Provenzano1995-03-102-34/+30
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5105 dc483132-0cff-0310-8789-dd5450dbe970
* * sim_client.c Use new calling convention for krb5_mk_req(),Chris Provenzano1995-03-102-103/+35
| | | | | | krb5_mk_priv(), and krb5_mk_safe(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5104 dc483132-0cff-0310-8789-dd5450dbe970
* * sclient.c Use new calling convention for krb5_sendauth()Chris Provenzano1995-03-102-25/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5103 dc483132-0cff-0310-8789-dd5450dbe970
* * kcmd.c (kcmd()) Use new calling convention for krb5_sendauth().Chris Provenzano1995-03-103-40/+25
| | | | | | * krcp.c () Use new calling convention for krb5_mk_req_extended(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5102 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (UsePepsy, PepsyTarget): removed, not referencedMark Eichin1995-03-086-5/+12
| | | | | | | | | | | anywhere in the tree. (ISODE_INCLUDE, ISODE_DEFS): removed along with remaining references in the tree. --enable-isode is dead. * configure.in (most directories): removed last remaining ISODE_INCLUDE and ISODE_DEFS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5082 dc483132-0cff-0310-8789-dd5450dbe970
* Remove reference to $(ISODELIB)Theodore Tso1995-03-028-5/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5061 dc483132-0cff-0310-8789-dd5450dbe970
* Remove reference to $(ISODELIB)Theodore Tso1995-03-0216-15/+40
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5059 dc483132-0cff-0310-8789-dd5450dbe970