Commit Graph

67 Commits

Author SHA1 Message Date
Love Hornquist Astrand
0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -07:00
Asanka Herath
d00f9984a5 Make roken build on windows
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-11-24 21:42:02 -08:00
Love Hörnquist Åstrand
00c521c6e2 remove krb4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:10:33 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
5118c90498 Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 11:11:43 +00:00
Johan Danielsson
252c9a30bc rename -a "none" to "plaintext", also bail out if requesting
unsupported auth method


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14043 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-14 09:04:34 +00:00
Johan Danielsson
0985fdc628 recognise sasl auth level
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-14 08:13:25 +00:00
Johan Danielsson
0ea5fcd9db (pop_init): change call to authentication function, from a ?:
construct (which toubles some versions of gcc) to if; from Björn
Grönvall


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12988 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-10 15:52:18 +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
bb9b0daf3e (pop_init): handle krb5_init_context failure consistently
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 07:35:05 +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
d0b8e98a34 (krb4_authenticate): do not exit on failure, just return
(krb5_authenticate): log errors from krb5_recvauth


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8374 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-10 07:43:41 +00:00
Assar Westerlund
5ec33df5ff replace all erroneous calls to pop_log with POP_FAILURE with POP_PRIORITY. reported by Janne Johansson <jj@it.kth.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-12 15:37:46 +00:00
Assar Westerlund
3c75c49ae6 (pop_init): use getnameinfo_verified
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7633 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-20 05:42:48 +00:00
Johan Danielsson
f62688d065 optionally trace connected addresses to a file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7481 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-03 13:13:26 +00:00
Johan Danielsson
19dde914b3 (krb5_authenticate): don't use the principal associated with the
socket for authentication, instead let krb5_rd_req pick the correct
one from the ticket; just check that it actually was a pop-ticket


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7146 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-16 13:12:02 +00:00
Assar Westerlund
bf75fac82a large strc{py,at}_truncate -> strlc{py,at} replacement
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6984 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 20:41:57 +00:00
Johan Danielsson
78e40372d4 (pop_init): don't freehostent if ch == NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6801 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-12 17:40:58 +00:00
Assar Westerlund
cff9accccb v6-ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6754 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-05 12:21:00 +00:00
Johan Danielsson
64d4aa49d8 use print_version
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5478 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-08 10:51:48 +00:00
Assar Westerlund
d26a0c9175 new arg_printusage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5127 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-08-18 20:49:26 +00:00
Assar Westerlund
62e1cf95fa s/net_read/pop_net_read/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5070 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-07-09 23:14:22 +00:00
Johan Danielsson
a5f54865d4 merge strcpy_truncate branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-09 19:25:40 +00:00
Assar Westerlund
73a2bdb229 missing int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4869 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-13 23:43:43 +00:00
Assar Westerlund
250c4009e2 use defined(KRB4) || defined(KRB5) instead of KERBEROS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4106 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-05 01:26:37 +00:00
Assar Westerlund
dd9bbc1eed static-ize
fix calls to krb5_net_{read,write}


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3902 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-11 01:34:37 +00:00
Assar Westerlund
28261c3c93 conditionalize OTP-support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3689 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-29 01:09:58 +00:00
Johan Danielsson
49e9507254 fixes for krb4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3609 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-14 21:59:37 +00:00
Assar Westerlund
f854d3c956 hata
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3446 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-08 20:13:57 +00:00
Assar Westerlund
b0873ff7a5 (pop_init): typo for argc vs argcount
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3445 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-08 20:13:19 +00:00
Assar Westerlund
c522f6cc39 (pop_init): check number of arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3420 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-07 23:33:51 +00:00
Assar Westerlund
3b9d299052 cast argument 1 to gethostbyaddr' to const char *'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3408 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-07 20:29:50 +00:00
Johan Danielsson
d4f46d9de4 Use getarg.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3310 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-31 17:45:11 +00:00
Assar Westerlund
227c4f61ee typos
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3125 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-24 11:42:09 +00:00
Assar Westerlund
bd5647c2c5 Use `krb5_sock_to_principal'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2947 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-12 15:50:15 +00:00
Assar Westerlund
ffd2ed44b0 Implement both v4 and v5.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2825 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-08 22:49:26 +00:00
Assar Westerlund
f290999528 Use 'STDIN_FILENO' and STDOUT_FILENO' instead of sp'.
OSF's libc isn't quite prepared to have two different FILEs refer
to the same file descriptor.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1906 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-14 19:13:55 +00:00
Assar Westerlund
300821313c changed signature of `k_getsockinst'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1621 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-04-23 21:29:00 +00:00
Johan Danielsson
ef21237e54 It is nice if the usage string matches the rest of the code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1250 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-02-20 14:30:00 +00:00
Assar Westerlund
b2676d795b slepping
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1192 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-01-26 20:30:55 +00:00
Assar Westerlund
12447e71d5 Use k_getsockinst.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1093 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-12-14 20:51:50 +00:00
Assar Westerlund
e73ebd8118 Add -p' option and make -a auth'-style
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1076 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-25 23:22:44 +00:00
Assar Westerlund
94cb9a93ac got rid of lots of stupid casts
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1057 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-19 22:48:40 +00:00
Assar Westerlund
99f492acf0 careful not to thrust h_length from gethostby{name,addr}
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1056 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-19 21:56:12 +00:00
Assar Westerlund
1c9b803c57 Added option `-a'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@984 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-16 18:37:41 +00:00
Assar Westerlund
5e5b36eeda save copies of addresses that otherwise get overwritten.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@914 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-29 11:32:21 +00:00
Assar Westerlund
daa8dbb66f removed stupid garbage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@909 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-28 16:25:42 +00:00
Assar Westerlund
aaafb2bf9c less warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@894 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-26 21:41:16 +00:00
Assar Westerlund
b8dc2786d1 Moved some variables into struct pop
(main): Added support for `-i'


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@853 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-17 19:38:24 +00:00
Assar Westerlund
4376135518 removed syslog garbage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@787 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-28 23:40:19 +00:00