Commit Graph

604 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
a6a96fbc46 don't use sizeof(pointer)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 18:56:55 +00:00
Love Hörnquist Åstrand
e7e96c2abd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 12:37:54 +00:00
Love Hörnquist Åstrand
d76a6fef95 external password verifier sample
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 12:29:51 +00:00
Love Hörnquist Åstrand
bb095dc7cc replace dash with underscore in the new configuration file option,
just like the rest of the file


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 11:32:23 +00:00
Love Hörnquist Åstrand
60e7557445 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 11:13:28 +00:00
Love Hörnquist Åstrand
bb3421e14d (kadm5_add_passwd_quality_verifier): if NULL is passed in, load defaults
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 11:13:12 +00:00
Love Hörnquist Åstrand
4e95901a2b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 06:16:49 +00:00
Love Hörnquist Åstrand
17f0e880c2 add an end tag to the external password quality check protocol
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 06:04:37 +00:00
Love Hörnquist Åstrand
cd9d95cb0d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 11:48:40 +00:00
Love Hörnquist Åstrand
98c23307d7 add external passsword quality check builtin module
[password_quality]
	policies = external-check
	external-program = /bin/false

To approve password a, make the test program return APPROVED on stderr
and fail with exit code 0.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 11:47:48 +00:00
Love Hörnquist Åstrand
20d2613f63 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14602 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 15:52:07 +00:00
Love Hörnquist Åstrand
19963908b4 bump version to 7:7:0 and 6:5:2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 15:45:23 +00:00
Love Hörnquist Åstrand
e72a36c030 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-12 08:25:40 +00:00
Love Hörnquist Åstrand
140a5d502f (parse_file): use hdb_generate_key_set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14299 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-12 08:24:42 +00:00
Love Hörnquist Åstrand
c61ef0d7ab Move keyset parsing and password based keyset generation into hdb.
Requested by Andrew Bartlett <abartlet@samba.org> for hdb-ldb backend


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-11 23:50:25 +00:00
Johan Danielsson
209ac33571 (ihave): use krb5_write_priv_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-24 11:27:58 +00:00
Johan Danielsson
6765dd6fbe x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-23 12:56:20 +00:00
Johan Danielsson
524a064514 add help strings to some options
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-23 12:55:08 +00:00
Johan Danielsson
f00a88cf6c one more
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 15:50:29 +00:00
Johan Danielsson
61085a8a31 (write_stats): use krb5_format_time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14249 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 15:48:24 +00:00
Johan Danielsson
ef3f12c742 add --detach
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 14:56:03 +00:00
Love Hörnquist Åstrand
b234201112 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14220 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-12 12:11:06 +00:00
Love Hörnquist Åstrand
03b4ecc9bd deal with changed prototype for _kadm5_free_keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-12 12:10:35 +00:00
Love Hörnquist Åstrand
5bb4dc8723 (_kadm5_free_keys): change prototype, make it use krb5_context instead
of a kadm5_server_context


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14218 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-12 12:09:58 +00:00
Love Hörnquist Åstrand
cf112007d1 (parse_key_set): do way with static returning (function) static
variable and returned allocated memory
(_kadm5_generate_key_set): free enctypes returned by parse_key_set


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-12 12:08:40 +00:00
Love Hörnquist Åstrand
1a000b4604 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 11:42:13 +00:00
Love Hörnquist Åstrand
f0aee06246 Fix memory leak, don't return stack variables
From Andrew Bartlett


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 11:39:10 +00:00
Love Hörnquist Åstrand
c9d296148a make all_etypes const and move outside function to avoid returning
data on stack


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 11:25:30 +00:00
Love Hörnquist Åstrand
2924ee6f68 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 07:50:15 +00:00
Love Hörnquist Åstrand
a234077ca3 (fetch_acl): use " \t\n" instead of just "\n" for the delim of the
third element, this is so we can match
"foo@REALM<SPC>all<SPC><SPC>*@REALM", before it just matched
"foo@REALM<SPC>all<SPC>*@REALM", but that is kind of luck since what
really happen was that the last <SPC> was stamped out, and the it
never strtok_r never needed to parse over it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 07:48:46 +00:00
Love Hörnquist Åstrand
eb889bfd39 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 16:14:18 +00:00
Love Hörnquist Åstrand
423fef40e4 (_kadm5_generate_key_set): since arcfour-hmac-md5 is without salting,
some people tries to add the string "arcfour-hmac-md5" when they
really should have used "arcfour-hmac-md5:pw-salt", help them and add
glue for that


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 15:29:09 +00:00
Johan Danielsson
49856b092f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-18 16:59:16 +00:00
Johan Danielsson
1f57648d35 add --detach
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-18 16:59:03 +00:00
Love Hörnquist Åstrand
43281bd237 use new tsasl interface
remove debug printf
add upn to computer-accounts


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-06 04:11:08 +00:00
Love Hörnquist Åstrand
a8c1c83ad9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14012 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-27 22:57:33 +00:00
Love Hörnquist Åstrand
6d5a2620c1 implement kadm5_ad_init_with_password_ctx
set more error strings


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14010 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-27 22:33:18 +00:00
Johan Danielsson
4c01596aaf s/void static/static void/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13967 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-21 19:07:29 +00:00
Love Hörnquist Åstrand
cd3c0f2aa6 man_MANS = kadm5_pwcheck.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13966 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-21 11:18:33 +00:00
Love Hörnquist Åstrand
dfa233ebc9 document new password quality api
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13965 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-21 11:17:54 +00:00
Love Hörnquist Åstrand
193383cfd0 new password check interface (old still supported)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-21 11:16:14 +00:00
Love Hörnquist Åstrand
3a07c7a140 new password check interface
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-21 11:15:15 +00:00
Love Hörnquist Åstrand
c314db0f3a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-08 19:21:10 +00:00
Love Hörnquist Åstrand
e07443ac49 (main): process all slaves, not just up to the last slave sending data
(bug report from Björn Sandell <biorn@dce.chalmers.se>)
(*): only send one ARE_YOU_THERE


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13918 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-08 19:17:19 +00:00
Love Hörnquist Åstrand
4a712fedb8 rename get_cred_cache to _kadm5_c_get_cred_cache and export locally
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-02 20:32:32 +00:00
Love Hörnquist Åstrand
4193dbe40b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-02 19:34:08 +00:00
Love Hörnquist Åstrand
17083d8556 use krb5_set_password_using_ccache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-02 19:30:38 +00:00
Love Hörnquist Åstrand
9cae5b83b4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-01 15:08:42 +00:00
Love Hörnquist Åstrand
ac337eb057 try handle spn's better
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-01 15:08:29 +00:00
Love Hörnquist Åstrand
31ed3a4d60 add expiration time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-31 19:46:56 +00:00