Russ Allbery
20c65310ea
Support MIT dump formats 5 and 6 in hprop
...
Dump formats 5 and 6 differ from the supported version 4 dump format
only in that they include policy information for each principal in an
extension that the dump parsing code already knows how to ignore and
that they include policy lines. Ignore the policy information, since
there isn't a corresponding concept in Heimdal, and accept the new
dump format versions.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2010-02-02 13:27:36 -08:00
Russ Allbery
73d0fc23a4
Store last password change date when parsing MIT dumps in hprop
...
If the MIT dump file includes a last password change date, allocate
a database extension structure to hold that information and include
it in the corresponding Heimdal database entry.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2010-02-02 13:27:10 -08:00
Love Hornquist Astrand
b02039ae30
have require_hwauth
2009-11-22 00:25:31 -08:00
Love Hörnquist Åstrand
9eedf9e4f3
don't set unused variables
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:34:06 +00: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
8d40c2994b
check return value of alloc functions, from Charles Longeau
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 16:11:25 +00:00
Love Hörnquist Åstrand
e3a5114857
(mit_prop_dump): close fd when done processing
...
Coverity NetBSD CID#1955
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17011 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-07 18:53:45 +00:00
Love Hörnquist Åstrand
0c2369acd0
Wrap hdb_entry with hdb_entry_ex, patch originally from Andrew Bartlet
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16378 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:40:12 +00:00
Love Hörnquist Åstrand
7132a9b084
Merge in the libkdc/kdc configuration split from Andrew Bartlet <abartlet@samba.org>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 01:03:35 +00:00
Love Hörnquist Åstrand
683bbc3149
(mit_prop_dump): cast argument to krb5_parse_principal to avoid warning
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-02 09:55:43 +00:00
Love Hörnquist Åstrand
6e8d98b9be
rename KRB5_TL_MOD_PRINC to mit_KRB5_TL_MOD_PRINC to hint its a
...
constant originating from mit codebase
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-02 08:16:17 +00:00
Johan Danielsson
fe0b167c46
handle all sorts of weird MIT salt types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-09 09:57:37 +00:00
Johan Danielsson
b50c8c78a8
set initial master key version number to 0 instead of 1; if we lated
...
bump the mkvno we don't risk using the wrong key to decrypt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-05 19:44:34 +00:00
Johan Danielsson
d3c2873bcf
read MIT krb5 dump files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-05 19:30:46 +00:00