Love Hornquist Astrand
0879b9831a
remove trailing whitespace
2011-05-21 11:57:31 -07:00
Love Hornquist Astrand
c7f51c8c5b
use krb5_make_principal
2009-10-04 11:29:20 -07:00
Love Hornquist Astrand
276867b63e
Free the full keyblock and not just the content [CID-173]
2009-07-30 09:54:45 +02:00
Love Hornquist Astrand
e8c46282ee
Free keyblock when krb5_mk_rep() failes [CID-174]
2009-07-30 09:51:00 +02: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
fe5323f0e5
use unsigned/size_t where approprite
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:20 +00:00
Love Hörnquist Åstrand
5fed824f37
its vs it\'s etc. From Bjorn Sandell
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 20:04:50 +00:00
Love Hörnquist Åstrand
9d9e47cb42
(kerberos5_forward): use KDCOptions2int on flags before passing them
...
to krb5_get_forwarded_creds.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 12:37:02 +00:00
Johan Danielsson
1b8bdba909
rename foo to ap_msg
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-09 16:40:11 +00:00
Johan Danielsson
9bd626b2eb
(kerberos5_is): also syslog all messages printed in auth_debug_mode
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-09 16:39:38 +00:00
Love Hörnquist Åstrand
f7f36911ed
(Data): Use right variable. From Tomas Olsson
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-31 09:27:36 +00:00
Love Hörnquist Åstrand
af8272f96c
Check return value from asprintf instead of string != NULL since it
...
undefined behavior on Linux. From Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16223 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-22 17:09:06 +00:00
Love Hörnquist Åstrand
13525ea454
case uid_t to unsigned long in printf format
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-27 13:47:20 +00:00
Love Hörnquist Åstrand
ebd6d7be6e
(Data): allocate the data needed to be send
...
From: MAAAAA MOOOR <huaraz@btinternet.com >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-20 16:57:51 +00:00
Johan Danielsson
549c2f9d5f
also try to use the session key (if this is really correct is beyond
...
me, RFC2942 in unclear on this point)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-20 14:37:46 +00:00
Johan Danielsson
d0f02062c7
(kerberos5_is): check that the subkey is non-NULL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11469 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-20 14:12:57 +00:00
Johan Danielsson
ccf0fabb51
set AP_OPTS_USE_SUBKEY
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 15:33:20 +00:00
Johan Danielsson
e8c18ff436
add kerberos5_set_forward{,able} functions suitable for the command parser
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:55:53 +00:00
Johan Danielsson
67881e6e40
silly casts
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 19:52:22 +00:00
Assar Westerlund
2fb88a72e0
update to new krb5_auth_con* names
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 04:08:37 +00:00
Assar Westerlund
382865ebe8
(kerberos5_is): use krb5_rd_cred2 instead of krb5_rd_cred
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9465 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-09 18:45:33 +00:00
Assar Westerlund
4cf4233607
(kerberos5_init): check krb5_init_context for success
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 07:39:41 +00:00
Johan Danielsson
835f8fc8e0
de-pointerise auth_context parameter to krb5_mk_rep
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-06 21:03:34 +00:00
Johan Danielsson
dc92e4f3b1
print the principal we're trying to use
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-23 02:31:55 +00:00
Assar Westerlund
9bc8c2288e
put-back bonus change that sneaked in
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-18 04:49:33 +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
e3d3bbceb5
DCE stuff
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-02 05:33:48 +00:00
Assar Westerlund
5a38a1f0a1
(kerberos5_init): check that we do have a keytab before saying that we
...
will support KERBEROS5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-03 14:11:17 +00:00
Assar Westerlund
a7003ca562
(kerberos5_forward): spelling fix
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-01 00:32:05 +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
Assar Westerlund
622cbc87ad
(kerberos5_send): set the addresses in the auth_context
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6370 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-24 17:09:10 +00:00
Assar Westerlund
2e3cbdaadb
(kerberos5_send): use `krb5_auth_setkeytype' instead of
...
`krb5_auth_setenctype' to make sure we get a DES session key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6046 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-25 17:36:57 +00:00
Assar Westerlund
cf19609c3c
unifdef FORWARD
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5920 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-10 23:46:06 +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
5c4a9b57f0
s/net_write/telnet_net_write/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5072 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-07-09 23:16:40 +00:00
Assar Westerlund
e9fea047b0
random fixes to make it build with socks
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5028 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-13 00:06:56 +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
Johan Danielsson
4ccf98f0e8
Always print errors from mk_req.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4877 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-15 17:38:08 +00:00
Assar Westerlund
54a969bca0
(kerberos5_forward): zero out `creds'.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4212 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-17 01:33:15 +00:00
Assar Westerlund
db405ec922
(kerberos5_send): always ask for a session key of type DES
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4017 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-16 06:27:19 +00:00
Assar Westerlund
140e7e14fc
remove old garbage and fix call to krb5_auth_con_setaddrs_from_fd
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4008 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-16 03:36:47 +00:00
Johan Danielsson
b7ebe1debf
Rename krb5_free_keyblock to krb5_free_keyblock_contents.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3917 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-11 01:52:46 +00:00
Assar Westerlund
9a707cbe2d
more includes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3749 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-02 04:03:59 +00:00
Assar Westerlund
770632d951
const and char-cleanup
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3694 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-29 01:27:11 +00:00
Assar Westerlund
538f872b84
remove lots of old junk. clean-up. better error checking and
...
reporting. tell the user permission denied much earlier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3645 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-20 03:47:29 +00:00
Assar Westerlund
7edf7346cc
Use `krb5_sock_to_principal'
...
Send server parameter to krb5_rd_req
Set addresses in auth_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2949 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-12 15:52:00 +00:00
Assar Westerlund
f944fe32fc
Implement forwarding
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2544 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-23 05:54:33 +00:00
Assar Westerlund
07f6204f27
(kerberos5_is): Send a keyblock to krb5_verify_chekcsum
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2493 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-20 14:21:48 +00:00
Assar Westerlund
086a005d19
update with changing `krb5_ticket'
...
actually report error messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2299 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-14 12:42:27 +00:00
Assar Westerlund
aa12712031
Add support for genering and verifying checksums.
...
Also start using session subkeys.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2266 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-14 10:24:36 +00:00