Commit Graph

2900 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
6e46d232bf Optionally support gss bindings, client does it by default, server not.
This is to make it work for clients behind NAT.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12458 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:51:15 +00:00
Love Hörnquist Åstrand
579b0037e6 (args): add gss-bindings
(main): set ftp_do_gss_bindings to 1 to make client use them


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:49:28 +00:00
Love Hörnquist Åstrand
5c9001d9a1 (args): add gss-bindings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12456 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:48:17 +00:00
Love Hörnquist Åstrand
295027f2e9 document --gss-bindings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12455 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:47:25 +00:00
Love Hörnquist Åstrand
72c26c7cce x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12437 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-15 12:56:59 +00:00
Love Hörnquist Åstrand
801e3f9334 (do_afslog): is cell is unset, set it "<default cell>" for error printing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-15 12:56:00 +00:00
Love Hörnquist Åstrand
b48c005971 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-15 12:40:04 +00:00
Love Hörnquist Åstrand
11f5550fe8 unconditionally set KRBTKFILE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-15 12:38:46 +00:00
Love Hörnquist Åstrand
431abedcbb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12428 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:37:35 +00:00
Love Hörnquist Åstrand
3026b3bd70 (verify_krb5): use krb5_cc_clear_mcred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:36:28 +00:00
Love Hörnquist Åstrand
64ac54bd79 (proto): use krb5_cc_clear_mcred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:33:13 +00:00
Love Hörnquist Åstrand
e00dc96279 (krb5_to4): use krb5_cc_clear_mcred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:31:49 +00:00
Johan Danielsson
573d4b592b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-13 12:08:27 +00:00
Johan Danielsson
bc6e02716a (gss_adat): fix name allocation bug
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12359 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-13 12:08:21 +00:00
Love Hörnquist Åstrand
7e9cb35e62 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 18:11:50 +00:00
Love Hörnquist Åstrand
d2db6a97db (proto): start to use gss_krb5_copy_ccache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 15:16:14 +00:00
Love Hörnquist Åstrand
74ede60132 (proto): comment out gss_ctx_id_t groveling for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12323 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 15:15:34 +00:00
Love Hörnquist Åstrand
7e2042b4cf (gss_userok): release delegated cred handle
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 15:08:48 +00:00
Love Hörnquist Åstrand
24ed2fa8bb (gss_adat): remove poking inside the delegated handle, also fixes
problem where to much memory was allocated


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 15:05:49 +00:00
Love Hörnquist Åstrand
59c5cdf594 (gss_userok): remove poking inside the delegated handle
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12320 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 15:04:27 +00:00
Love Hörnquist Åstrand
0a03b3cf20 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12299 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-15 15:11:53 +00:00
Love Hörnquist Åstrand
fa3611d0b1 (recv_conn): pass pointer to sockaddr, not pointer to pointer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-15 15:10:57 +00:00
Love Hörnquist Åstrand
e3fc3df5ad (recv_conn): get sizeof of the sockaddr_storage, not the sockaddr pointer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-15 14:37:13 +00:00
Love Hörnquist Åstrand
26562bff74 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-15 13:54:28 +00:00
Love Hörnquist Åstrand
91f5196857 (recv_conn): if getnameinfo failes, send error to client (and syslog)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-15 13:54:12 +00:00
Love Hörnquist Åstrand
eb9e2444a7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 21:54:30 +00:00
Love Hörnquist Åstrand
b8149a5910 support afslog <cell> and afslog when compiled with krb5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 21:51:28 +00:00
Love Hörnquist Åstrand
739b4277ab x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-07 12:00:58 +00:00
Love Hörnquist Åstrand
b1cd86cbc6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12234 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-07 12:00:35 +00:00
Love Hörnquist Åstrand
5c8ab5c7cc include afslog in both the krb4 and krb5 case
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-07 11:59:13 +00:00
Love Hörnquist Åstrand
10d8573897 always include kauth.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12232 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-07 11:58:33 +00:00
Love Hörnquist Åstrand
5eef63c1b0 always include auth.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-07 11:47:49 +00:00
Love Hörnquist Åstrand
b3a34b79f9 do afslog in the krb5 case too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-07 11:47:23 +00:00
Johan Danielsson
43d31b963d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12221 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-06 16:34:00 +00:00
Johan Danielsson
fa837f2a28 no checks here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12220 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-06 16:33:30 +00:00
Johan Danielsson
d80bf11dac x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12214 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-06 12:05:52 +00:00
Johan Danielsson
6bbb1400f8 remove accidentally committed code that prints the command being
executed


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-06 12:05:38 +00:00
Love Hörnquist Åstrand
d7267be347 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-29 09:19:12 +00:00
Love Hörnquist Åstrand
3602b138c6 include kafs.h in the krb5 case
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-29 09:17:17 +00:00
Love Hörnquist Åstrand
9da52c7744 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-23 18:04:36 +00:00
Love Hörnquist Åstrand
04729db559 (log_func): drop the error number
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-23 17:59:19 +00:00
Love Hörnquist Åstrand
1df5b33550 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-22 13:28:08 +00:00
Love Hörnquist Åstrand
867d4a0498 replace > with \*[Gt]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-22 13:27:58 +00:00
Love Hörnquist Åstrand
39770a3afa replace <,> with \*[Lt],\*[Gt]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-22 13:22:44 +00:00
Love Hörnquist Åstrand
b3e4ceeb17 replace > with \*[Gt]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-22 13:21:53 +00:00
Love Hörnquist Åstrand
33d28ad199 better/diffrent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12077 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 20:49:54 +00:00
Johan Danielsson
3ee8192137 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12076 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 20:37:41 +00:00
Johan Danielsson
20f6a22793 use krb5_appdefault to get defaults for forward and encrypt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12075 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 20:37:20 +00:00
Love Hörnquist Åstrand
cef5752a74 include <limits.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12074 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 20:05:39 +00:00
Love Hörnquist Åstrand
cf4873cd57 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12073 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 19:58:58 +00:00