Commit Graph

5821 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
8084f0f69c add prototypes for sequence.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12350 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-05 20:56:38 +00:00
Love Hörnquist Åstrand
c669a661db (libgssapi_la_SOURCES): add sequence.c
(test_sequence): build


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12349 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-05 20:41:56 +00:00
Love Hörnquist Åstrand
f24cb76b05 sequence number checks, order and replay
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12348 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-05 20:40:50 +00:00
Love Hörnquist Åstrand
63b7fe118d (gss_accept_sec_context): make sure time is returned in seconds from
now, not in kerberos time


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12347 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-03 15:25:41 +00:00
Love Hörnquist Åstrand
a704e2f3f4 (gss_aquire_cred): make sure time is returned in seconds from now, not
in kerberos time


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-03 15:24:29 +00:00
Love Hörnquist Åstrand
f6870509a7 (init_auth): if the cred is expired before we tries to create a token,
fail so the peer doesn't need reject us
(*): make sure time is returned in seconds from now, not in kerberos time
(repl_mutual): remember to unlock the context mutex


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12345 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-03 15:22:58 +00:00
Love Hörnquist Åstrand
a2408d7675 (gss_context_time): remove unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-03 15:08:00 +00:00
Love Hörnquist Åstrand
ee6c2cbd71 make sure minor_status is always set, pointed out by Luke Howard <lukeh@PADL.COM>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12343 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-03 14:58:51 +00:00
Love Hörnquist Åstrand
b95d33b7a5 add manpage for: krb5_get_in_cred, krb5_get_in_tkt,
krb5_get_in_tkt_with_keytab, krb5_get_in_tkt_with_password,
krb5_get_in_tkt_with_skey


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12341 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-02 21:46:27 +00:00
Assar Westerlund
eb49552f69 Fix unlock/destroy macros for the non-threaded cases to work. Fix typo.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12339 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-28 20:13:36 +00:00
Johan Danielsson
5ce268bf83 Fix encoding of "unsigned" integers. If MSB is set, we need to pad
with a zero byte.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12337 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-27 21:59:52 +00:00
Love Hörnquist Åstrand
ca77d81243 some more mdoc fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12336 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-27 13:51:10 +00:00
Love Hörnquist Åstrand
cb73a5dde8 (LDAP__connect): bind sasl "EXTERNAL" to ldap connection
(LDAP_store): remove superfluous argument to asprintf

From Alberto Patino <jalbertop@aranea.com.mx>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-27 10:03:54 +00:00
Love Hörnquist Åstrand
68ba8507a5 revert previous
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12333 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-26 21:59:54 +00:00
Love Hörnquist Åstrand
c17d918b00 remove again, not yet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12332 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-26 21:58:30 +00:00
Love Hörnquist Åstrand
cb584f6348 pacify mdoclink
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12331 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-26 21:56:28 +00:00
Love Hörnquist Åstrand
0caadd8b18 pacify mdoclint
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12329 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-26 14:09:04 +00:00
Love Hörnquist Åstrand
b74d060a00 document diffrences between mit and heimdal krb5_cc_gen_new
ccache -> credential cache
s/[\t ]+$//


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12328 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-26 12:50:02 +00:00
Love Hörnquist Åstrand
6ab45444b7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12319 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 14:52:47 +00:00
Love Hörnquist Åstrand
42f3fc029a - do some basic locking (no reference counting so contexts can be
removed while still used)
- don't export gss_ctx_id_t_desc_struct and gss_cred_id_t_desc_struct
- make sure all lifetime are returned in seconds left until expired,
  not in unix epoch


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 14:52:14 +00:00
Love Hörnquist Åstrand
a626def4cd document argument lifetime_rec to function gss_inquire_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 14:47:55 +00:00
Love Hörnquist Åstrand
e6992a52e1 s/FROM KERBEROS5/FROM krb5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 13:43:28 +00:00
Love Hörnquist Åstrand
b29a7e40a2 add missing structures
uncomment CHOICE stantments


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12314 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 12:25:59 +00:00
Love Hörnquist Åstrand
ee39ef2d2a draft-ietf-krb-wg-kerberos-set-passwd-00.txt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-20 21:57:22 +00:00
Love Hörnquist Åstrand
5762de90e3 (typetype): sort
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-20 18:45:43 +00:00
Love Hörnquist Åstrand
bd85856ef6 -= add parser/generate glue for UTF8String and NULL
(DER primitive encode/decode functions missing)
- handle parsing of DEFAULT and, ...


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-20 18:42:10 +00:00
Love Hörnquist Åstrand
37502b25c3 fix errors found with mdoclint
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 22:39:26 +00:00
Love Hörnquist Åstrand
aac29a35a4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 22:24:02 +00:00
Love Hörnquist Åstrand
ec8cfb3623 add missing argument to mutex_init
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 22:23:48 +00:00
Love Hörnquist Åstrand
08b804844a test gss_add_cred more then once
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 22:23:16 +00:00
Love Hörnquist Åstrand
8b3ba5532c protect the random initiator with a mutex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 20:44:55 +00:00
Love Hörnquist Åstrand
3064229aaf protect the mcc_head with a mutex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 20:43:36 +00:00
Love Hörnquist Åstrand
2b842fe389 include heim_threads.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 20:42:59 +00:00
Love Hörnquist Åstrand
cec7e2f443 wrapper macros for thread synchronization primitives
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 20:41:46 +00:00
Love Hörnquist Åstrand
18cf43dc28 Add all Kerberos principal function to one manpage, add a few more
principal function to it, remove old now dup manpages


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-15 18:52:42 +00:00
Love Hörnquist Åstrand
f6df5674ea sort sections, from netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 22:13:00 +00:00
Love Hörnquist Åstrand
617325e153 .Sh EXAMPLE -> .Sh EXAMPLES, from netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 22:11:04 +00:00
Love Hörnquist Åstrand
3eb988218b .Sh EXAMPLE -> .Sh EXAMPLES, sort sections, from netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 22:10:28 +00:00
Love Hörnquist Åstrand
a515bf6f94 .Sh EXAMPLE -> .Sh EXAMPLES, mdoc fixes, from netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 22:09:16 +00:00
Love Hörnquist Åstrand
58023b2fd9 add .Os, from NetBSD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 22:07:51 +00:00
Love Hörnquist Åstrand
27a1cca3e5 sort sections, from netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 22:06:54 +00:00
Love Hörnquist Åstrand
30ea393f82 compatability -> compatibility, from netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 22:03:20 +00:00
Love Hörnquist Åstrand
0ab0c25ce9 add copyright/license
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 21:54:00 +00:00
Love Hörnquist Åstrand
d730cb2b55 add SYNOPSIS and LIBRARY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 21:53:17 +00:00
Love Hörnquist Åstrand
9ab729d677 add RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 21:52:45 +00:00
Love Hörnquist Åstrand
71569c71b7 uppercase url, from Thomas Klausner <wiz@netbsd.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 16:44:47 +00:00
Love Hörnquist Åstrand
3dcad24844 ooops, remove cut and paste error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-13 12:32:59 +00:00
Love Hörnquist Åstrand
052858243f draft-ietf-cat-kerb-chg-password-02 and rfc3244 share the response packet
sure more constants now that they exists


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-13 11:28:39 +00:00
Love Hörnquist Åstrand
3ffb098c12 some define for rfc3244
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-12 16:57:37 +00:00
Love Hörnquist Åstrand
a50c4b3bfc add krb5_change_password and krb5_set_password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-12 16:50:55 +00:00