20 Commits

Author SHA1 Message Date
Love Hornquist Astrand
f17c4a6c5c only check for keytab content where its needed 2013-04-24 16:42:30 -07:00
Marco Molteni
e242c40746 Verify the existence of the keytab for tcp_server, gssapi_server
appl/test/tcp_server and gssapi_server try to open the keytab file only when processing a connection.

This patch verifies the existence of the keytab file on program startup, so that troubleshooting is easier. In addition it adds some comments.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2012-05-01 23:01:19 +02:00
Love Hörnquist Åstrand
d791e70894 support ipv6 2012-03-07 07:58:50 -08:00
Roland C. Dowdeswell
cc47c8fa7b Turn on -Wextra -Wno-sign-compare -Wno-unused-paramter and fix issues.
We turn on a few extra warnings and fix the fallout that occurs
when building with --enable-developer.  Note that we get different
warnings on different machines and so this will be a work in
progress.  So far, we have built on NetBSD/amd64 5.99.64 (which
uses gcc 4.5.3) and Ubuntu 10.04.3 LTS (which uses gcc 4.4.3).

Notably, we fixed

	1.  a lot of missing structure initialisers,

	2.  unchecked return values for functions that glibc
	    marks as __attribute__((warn-unused-result)),

	3.  made minor modifications to slc and asn1_compile
	    which can generate code which generates warnings,
	    and

	4.  a few stragglers here and there.

We turned off the extended warnings for many programs in appl/ as
they are nearing the end of their useful lifetime, e.g.  rsh, rcp,
popper, ftp and telnet.

Interestingly, glibc's strncmp() macro needed to be worked around
whereas the function calls did not.

We have not yet tried this on 32 bit platforms, so there will be
a few more warnings when we do.
2012-02-20 19:45:41 +00:00
Love Hornquist Astrand
aabe9f0f4a let client do unwrap, handle keytab for gss 2011-09-22 16:10:06 +02:00
Luke Howard
9455577b65 Merge branch 'master' of github.com:heimdal/heimdal
Conflicts:
	lib/gssapi/gssapi/gssapi.h
	lib/gssapi/gssapi_mech.h
	lib/gssapi/mech/gss_mech_switch.c
2011-03-20 19:08:10 +11: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
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
3882d88c8c add --mech,-m argument
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12796 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 03:38:04 +00:00
Assar Westerlund
1024330a7a add --keytab
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-27 04:29:34 +00:00
Assar Westerlund
6eb399502d add --fork' / -f' (only used by gssapi)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-12 21:30:47 +00:00
Assar Westerlund
d220511e7f (client_doit): add forgotten ntohs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7600 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-16 10:29:18 +00:00
Assar Westerlund
bab3021fc1 (client_doit): move identical code here and start using getaddrinfo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7501 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 18:13:03 +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
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
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
fb718f33a9 (common_setup): don't use `optarg'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4011 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-16 06:23:47 +00:00
Johan Danielsson
408fc0f1fa Zero port.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3930 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-11 04:17:42 +00:00
Assar Westerlund
545297c6e4 roken_*
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3695 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-29 01:28:03 +00:00
Johan Danielsson
f196148b04 common setup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3307 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-31 16:54:59 +00:00