Commit Graph

51 Commits

Author SHA1 Message Date
Johan Danielsson
15e51be8f2 use ARG_MAX + 1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 19:50:49 +00:00
Johan Danielsson
6bf3bbb91b (read_str): return allocated string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 19:49:29 +00:00
Johan Danielsson
df02f41798 (save_krb5_creds): if rd_cred fails, syslog a reason
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-25 12:24:40 +00:00
Love Hörnquist Åstrand
7f03375e74 do krb5_afslog when compling with afs support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 14:18:56 +00:00
Johan Danielsson
76f0ff261e handle protocol version 2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11349 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-03 20:03:46 +00:00
Johan Danielsson
9ea473de34 don't show options that doesn't apply
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-18 20:02:14 +00:00
Johan Danielsson
bee8db420e make this build without krb5; also use the addrinfo interface to
mini_inetd, and set the keepalive option if requested


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-18 19:19:36 +00:00
Johan Danielsson
b396a05fa5 make the syslog messages somewhat more informative
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-30 14:38:48 +00:00
Johan Danielsson
e2343de659 add some compat flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10416 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-31 09:05:45 +00:00
Assar Westerlund
58315e3f0d (fatal): use vsnprintf correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10359 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-19 16:49:35 +00:00
Assar Westerlund
67422a6b02 s/[gs]et_progname/[gs]etprogname/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-20 01:44:56 +00:00
Assar Westerlund
0397d42c21 (login_access): add prototype
(syslog_and_die, fatal): add printf attributes
(*): AIX -> _AIX
(doit): use login_access
based on patches from Ake Sandgren <ake@cs.umu.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-07 05:05:58 +00:00
Assar Westerlund
6e38740a18 (save_krb5_creds): use krb5_rd_cred2 instead of krb5_rd_cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-09 18:44:29 +00:00
Assar Westerlund
633782864b (main): handle krb5_init_context failure consistently
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 08:05:03 +00:00
Johan Danielsson
6bd6f80082 require encryption if passed -x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9271 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-05 09:12:26 +00:00
Assar Westerlund
57975d729b (loop): check that the fd's aren't too large to select on
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:59:21 +00:00
Assar Westerlund
3e00ddf50d use esetenv
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9089 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-02 05:06:04 +00:00
Assar Westerlund
5f648d3799 use socklen_t where appropriate instead of int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-09 20:53:11 +00:00
Assar Westerlund
81178d12fe DCE stuff from Ake Sandgren <ake@cs.umu.se>
do not call syslog with a variable as format string


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-02 15:50:21 +00:00
Assar Westerlund
a1b0469cb7 (doit): check return value of getspnam. From <haba@pdc.kth.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-03 12:56:44 +00:00
Assar Westerlund
d196515c3f (doit): if we fail to connect back to the stderr port, act as if `-e'
was given on the client side, i.e. without the special
TCP-connection.  This tries to make things better when running the
head against a NAT wall, for example.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-22 22:19:15 +00:00
Assar Westerlund
919dd3528a only have des stuff if KRB4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-06 05:58:56 +00:00
Johan Danielsson
c5b916ca6f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Assar Westerlund
efade330cd (main): ignore SIGPIPE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7231 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-26 04:27:26 +00:00
Assar Westerlund
9fb0a9020d (loop): close some omre fd's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7151 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-17 10:26:45 +00:00
Assar Westerlund
34fa1e560c (recv_krb4_auth): set `iv'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6986 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-20 03:39:10 +00:00
Assar Westerlund
d3f5d79294 strc{py,at}_truncate -> strlc{py,at}
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6985 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 21:39:11 +00:00
Johan Danielsson
80f41aae8f fix some buglets (from ake@cs.umu.se)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6884 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-27 09:19:08 +00:00
Assar Westerlund
ab66cfb440 re-write the handling of forwarded credentials and stuff. From
Miroslav Ruda <ruda@ics.muni.cz>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6715 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:04:44 +00:00
Assar Westerlund
dcf1fc5166 v6-ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6661 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 22:01:49 +00:00
Assar Westerlund
088b640173 merge in ruda improvements
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6603 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-26 14:18:27 +00:00
Assar Westerlund
f5624d225c (doit): afslog correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6226 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-13 23:31:41 +00:00
Assar Westerlund
1d62e5795e (setup_copier): use socketpair' instead of pipe'. Some shells don't
think it's a rsh session if they find a pipe at the other end.
(setup_environment): add SSH_CLIENT just to make bash happy


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5908 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-10 15:32:50 +00:00
Johan Danielsson
5eee215061 add -P', -v', and `-L' flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5715 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-23 16:08:31 +00:00
Johan Danielsson
aaae186ab9 merge new-crypto branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5332 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-11 21:03:59 +00:00
Assar Westerlund
c63b15e404 (recv_krb5_auth): disable `do_encrypt' if not encrypting.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5178 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-11-02 00:15:02 +00:00
Assar Westerlund
fc1956b05f new arg_printusage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5130 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-08-18 21:17:01 +00:00
Assar Westerlund
02b8f601e4 (recv_krb5_auth): swap the order of the `local_user' and the
`remote_user'


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4211 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-17 01:32:28 +00:00
Assar Westerlund
40ec34c822 updated to use getarg.
changed `struct fd_set' to `fd_set'
implemented broken/BSD authentication (requires iruserok)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4076 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-29 07:29:39 +00:00
Assar Westerlund
f5fc784fff use roken_*
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3693 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-29 01:25:14 +00:00
Johan Danielsson
023d1960b0 context to krb5_getportbyname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3315 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-31 17:54:35 +00:00
Assar Westerlund
24d87ae881 syslog remote shells
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3128 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-24 11:42:52 +00:00
Assar Westerlund
1a4c12ef28 Use `krb5_sock_to_principal'
Send server parameter to krb5_recvauth


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2948 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-12 15:51:25 +00:00
Assar Westerlund
e2d147bf5a implement forwarding
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2629 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-25 15:32:34 +00:00
Johan Danielsson
5a32a5c8e7 Add copyright notice.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 21:40:05 +00:00
Assar Westerlund
657cb6c37d update with changing `krb5_ticket'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2298 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-14 12:42:02 +00:00
Assar Westerlund
80ac9bd335 new param for `krb5_verify_checksum'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2248 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-13 07:23:41 +00:00
Assar Westerlund
e686a72a20 support conditional KRB4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2219 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-12 22:33:32 +00:00
Assar Westerlund
9c276d53e3 log the PID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2110 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-09 05:31:14 +00:00
Assar Westerlund
b1ffd9b24a more functionality
encryption
implement `-p'


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2002 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-07 09:17:30 +00:00