24 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
8cdcd53a5a Add comments to tcp_server.c, to make it easier for a newcomer to understand the krb5 API usage.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2012-05-09 08:15:51 +02: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
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
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
7127d167db (proto): use keytab for krb5_recvauth
Patch from Ingemar Nilsson <init@pdc.kth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-01 09:01: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
Assar Westerlund
5257816a79 print messages to stderr
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7603 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-16 10:32:44 +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
Assar Westerlund
1b26c82957 (proto): only trust errno if krb5_net_read actually returns -1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6821 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:28:19 +00:00
Assar Westerlund
87b1e7cf02 simplify by using krb5_err instead of errx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6749 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-05 10:10:37 +00:00
Assar Westerlund
282c3db291 fix typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6748 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-05 10:03:51 +00:00
Assar Westerlund
983f403891 make v6 friendly and simplify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6747 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-05 10:03:18 +00:00
Assar Westerlund
fc19182265 (setsockopt): cast to get rid of a warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6197 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-10 03:52:46 +00:00
Assar Westerlund
bddf9f2d9e remove unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5871 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-07 19:37:45 +00:00
Assar Westerlund
c264b952a5 fix calls to krb5_net_{read,write}
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3910 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-11 01:37:57 +00:00
Assar Westerlund
b3712d39f4 less warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3750 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-02 04:07:03 +00:00
Johan Danielsson
81f41fc3d6 use common setup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3308 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-31 16:55:39 +00:00
Johan Danielsson
5a32a5c8e7 Add copyright notice.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 21:40:05 +00:00
Assar Westerlund
ffe80de3f7 krb5_ticket update
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2268 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-14 11:35:19 +00:00
Assar Westerlund
a6beea1d2d *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2260 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-13 07:28:41 +00:00
Assar Westerlund
e871433921 try rd_safe' and rd_priv'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2199 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-12 15:14:09 +00:00
Assar Westerlund
8252cb1a4f new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2191 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-12 14:40:15 +00:00