Commit Graph

837 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
49918f566e add modify operations
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-31 19:05:01 +00:00
Love Hörnquist Åstrand
3c86d50eec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-31 09:09:34 +00:00
Love Hörnquist Åstrand
67b8478b09 handle create and delete
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-31 09:07:51 +00:00
Love Hörnquist Åstrand
433bc74722 more code for get, handle attributes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-27 00:34:40 +00:00
Love Hörnquist Åstrand
3d52065a27 more code for get, handle time stamps and bad password counter
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-27 00:05:38 +00:00
Love Hörnquist Åstrand
ac703f462f more code for get, only fetches kvno for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 23:08:30 +00:00
Love Hörnquist Åstrand
98c3b8e6e8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 21:51:46 +00:00
Love Hörnquist Åstrand
bcf009d4ce add support for tsasl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 21:41:13 +00:00
Love Hörnquist Åstrand
a841a7ff7d (SOURCES_client): += ad.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 17:01:01 +00:00
Love Hörnquist Åstrand
dd8726de2c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 16:56:15 +00:00
Love Hörnquist Åstrand
0b7181dd58 add kadm5_ad_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 16:55:25 +00:00
Love Hörnquist Åstrand
08853058a8 (prop_one): store the opcode in the begining of the blob, not the end
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 16:53:20 +00:00
Love Hörnquist Åstrand
d5a581b7fc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13870 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 16:51:42 +00:00
Love Hörnquist Åstrand
9fd5c0254f try all ldap servers in dns, generate a random password,
base64(random_block(64)), XXX must make it support other then ARCFOUR


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13869 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 16:51:28 +00:00
Love Hörnquist Åstrand
a925d449e1 framework for windows AD backend
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 16:21:20 +00:00
Johan Danielsson
26457b7135 replace krb5_free_creds_contents by krb5_free_cred_contents
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:25:35 +00:00
Love Hörnquist Åstrand
1ac5cd4aa5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 22:44:49 +00:00