Commit Graph

6582 Commits

Author SHA1 Message Date
Assar Westerlund
e48065ffaa (init_sec_context): cosmetics
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6726 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:18:40 +00:00
Assar Westerlund
eff8df852d (calling_error, routine_error): right shift the code to make it
possible to index into the arrays


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6725 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:17:34 +00:00
Assar Westerlund
1b8b5cde97 incorporate patches from Miroslav Ruda <ruda@ics.muni.cz>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6724 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:16:41 +00:00
Assar Westerlund
1974bff890 (main): add config file support for forwardable and krb4 support.
From Miroslav Ruda <ruda@ics.muni.cz>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6723 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:15:01 +00:00
Assar Westerlund
d50e05405a (as_rep): add an empty X500-compress string as transited.
(fix_transited_encoding): check length.
From Miroslav Ruda <ruda@ics.muni.cz>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6722 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:14:27 +00:00
Assar Westerlund
bff061de49 (dump_krb4): check the realm so that we don't dump principals in some
other realm. From Miroslav Ruda <ruda@ics.muni.cz>
(main): rename sa_len -> sin_len, sa_lan is a define on some
platforms.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6721 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:10:57 +00:00
Assar Westerlund
9c375cbc4e *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6720 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:06:33 +00:00
Assar Westerlund
cc0a3e7102 (rmut): work around utmpx strangness. From Miroslav Ruda
<ruda@ics.muni.cz>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6719 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:06:20 +00:00
Assar Westerlund
55c9485f34 add support for shadow passwords and rewrite some logic. From
Miroslav Ruda <ruda@ics.muni.cz>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6718 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:05:46 +00:00
Assar Westerlund
90edd0ab75 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6717 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:05:11 +00:00
Assar Westerlund
b89da10e6d add libkafs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6716 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:04:58 +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
40f4f81bdb always include kafs.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6714 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:04:12 +00:00
Assar Westerlund
5bbde2428f add -z' and -G' options
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6713 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:03:54 +00:00
Assar Westerlund
9f0b8ec3de (utmpx_login): fix for Solaris. From Miroslav Ruda <ruda@ics.muni.cz>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6712 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:03:15 +00:00
Assar Westerlund
c16a20c566 add <shadow.h> and some prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6711 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:02:42 +00:00
Assar Westerlund
e0ac5883aa fixes with v4 and shadow support. From Miroslav Ruda
<ruda@ics.muni.cz>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6710 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 16:58:23 +00:00
Assar Westerlund
b345587c61 new file with functions for handling shadow passwords
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6709 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 16:57:48 +00:00
Assar Westerlund
c1d9354a25 add shadow
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6708 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 16:57:20 +00:00
Assar Westerlund
0412defc7b add regpag support. From Miroslav Ruda <ruda@ics.muni.cz>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6707 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 16:57:03 +00:00
Assar Westerlund
cd4006ff87 add `-G' and forwardable option in krb5.conf. From Miroslav Ruda
<ruda@ics.muni.cz>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6706 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 16:56:46 +00:00
Assar Westerlund
2d8e9289c6 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6705 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 16:55:55 +00:00
Assar Westerlund
75b24a61d2 (main): use mkstemp to generate temporary file names. From Miroslav
Ruda <ruda@ics.muni.cz>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6704 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 16:55:38 +00:00
Johan Danielsson
dd4237d6e5 remove again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6703 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 12:18:52 +00:00
Assar Westerlund
eda1262b87 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6702 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 06:38:48 +00:00
Assar Westerlund
9f1162bd9b (parse_list): don't run past end of line
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6701 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 06:38:36 +00:00
Assar Westerlund
fb65910df2 (loop): shutdown one side of the TCP connection on EOF. From Brian A
May <bmay@dgs.monash.edu.au>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6700 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 06:35:50 +00:00
Assar Westerlund
48a8b1f5fc add shutdown constants
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6699 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 06:34:59 +00:00
Assar Westerlund
ce4e548b12 (do_read): handle EOF. From Brian A May <bmay@dgs.monash.edu.au>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6698 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 06:31:32 +00:00
Assar Westerlund
9c9ae30857 add Brian A May <bmay@dgs.monash.edu.au>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6697 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 06:31:06 +00:00
Assar Westerlund
5c38586799 (gss_print_errors): more type correctness
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6696 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 06:19:40 +00:00
Assar Westerlund
358816e9a5 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6695 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 06:14:41 +00:00
Assar Westerlund
fd97900c80 new prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6694 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 06:14:29 +00:00
Assar Westerlund
964a7c6cba use gss_err instead of abort
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6693 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 06:13:58 +00:00
Assar Westerlund
bd808564e3 (gss_verr, gss_err): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6692 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 06:13:32 +00:00
Assar Westerlund
04657a2a46 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6691 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-03 22:23:31 +00:00
Assar Westerlund
f9ed687f65 (listen_v4, listen_v6): handle the case of the protocol not being
supported


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6690 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-03 22:23:15 +00:00
Assar Westerlund
2d3c3ba942 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6689 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-03 14:10:53 +00:00
Assar Westerlund
6c7d3fb944 (n_fold_test_LDADD): need to set this otherwise it doesn't build with
shared libraries


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6688 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-03 14:10:35 +00:00
Assar Westerlund
aa5eeebd2f *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6687 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-03 12:02:30 +00:00
Assar Westerlund
3cc3529ef8 (active_mode): hide failure of EPRT by setting verbose
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6686 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-03 12:02:18 +00:00
Assar Westerlund
f745b2ef20 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6685 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-03 11:55:56 +00:00
Assar Westerlund
da4227406b (gss_auth): initialize application_data in bindings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6684 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-03 11:55:45 +00:00
Assar Westerlund
3a1bec784c *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6683 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-02 22:15:39 +00:00
Assar Westerlund
90cfa0924e v6-ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6682 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-02 22:14:39 +00:00
Assar Westerlund
4801a3a550 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6681 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-02 21:57:39 +00:00
Assar Westerlund
2d425c89f4 save file names when doing commands that might get aborted (and
longjmp:ed out of) to avoid overwriting them
also remove extra closing brace


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6680 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-02 21:57:27 +00:00
Assar Westerlund
1044f9a7f1 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6679 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-02 19:41:38 +00:00
Assar Westerlund
66e1d23128 (doit): only free hp if != NULL. From: Jonas Oberg <jonas@coyote.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6678 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-02 19:38:45 +00:00
Assar Westerlund
629e07b569 add socket and inet_ntop
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6677 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-02 00:39:08 +00:00