Commit Graph

15607 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
a28a141ec2 Constify principal argument to on krb5_principal_get_ functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16362 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-11 17:48:38 +00:00
Love Hörnquist Åstrand
fa44f5a141 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16361 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-08 19:24:23 +00:00
Love Hörnquist Åstrand
8145f2b840 drop convert_db, 0.0 to 0.1 transition was a long long time ago
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-08 19:23:53 +00:00
Love Hörnquist Åstrand
36ac3bcf8e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16359 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-06 20:00:48 +00:00
Love Hörnquist Åstrand
945ffb4357 Add test string for constraints.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16358 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-06 20:00:33 +00:00
Love Hörnquist Åstrand
f1f22c334f Add support for part of the Constraint-s
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16357 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-06 19:59:52 +00:00
Love Hörnquist Åstrand
fcfe7bc161 Set new constraints pointer in Type to NULL for inline constructed types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16356 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-06 19:59:13 +00:00
Love Hörnquist Åstrand
fb7c1e5ca2 Add support for parsing part of the Constraint-s
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16355 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-06 19:57:59 +00:00
Love Hörnquist Åstrand
3f5f50e0b8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16354 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 18:44:17 +00:00
Love Hörnquist Åstrand
a7589e6109 more tests, From Andrew Bartlet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16353 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 18:44:02 +00:00
Love Hörnquist Åstrand
08b361da54 (mkt_remove_entry): realloc can return NULL on success in the case 0
entries are allocated, From Andrew Bartlet


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16352 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 18:39:46 +00:00
Love Hörnquist Åstrand
f223888240 x
x


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16351 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 13:09:59 +00:00
Love Hörnquist Åstrand
8b53c6c4f2 Change gss_krb5_import_ccache to gss_krb5_import_cred, it can handle keytabs too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16350 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 11:52:45 +00:00
Love Hörnquist Åstrand
2fab85ec36 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16349 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 09:31:56 +00:00
Love Hörnquist Åstrand
723e43d205 test acquire_cred(GSS_C_ACCEPT)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16348 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 09:22:03 +00:00
Love Hörnquist Åstrand
afe55cba30 (gss_add_cred): avoid deadlock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16347 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 09:20:32 +00:00
Love Hörnquist Åstrand
0c372958f3 (gssapi_lifetime_left): define the 0 lifetime as GSS_C_INDEFINITE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 09:19:52 +00:00
Love Hörnquist Åstrand
828197fc78 (acl_parse_format): tmp needs to be freed too on failure to parse
format specifier.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16345 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-02 15:33:47 +00:00
Love Hörnquist Åstrand
2b64016a93 Free more of the allocated memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-02 15:15:43 +00:00
Love Hörnquist Åstrand
eb0369c938 (krb5_derive_key): Free more of the allocated memory, this function is
only used by the test program.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16343 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-02 14:47:44 +00:00
Love Hörnquist Åstrand
e4794726e4 Free more of the allocated memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16342 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-02 14:14:43 +00:00
Love Hörnquist Åstrand
63506f62b3 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16341 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 21:00:03 +00:00
Love Hörnquist Åstrand
8ed16b3e1c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16339 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 16:26:13 +00:00
Love Hörnquist Åstrand
c9962c948d (acquire_acceptor_cred): only check if principal exists if we got
called with principal as an argument.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16338 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 16:26:02 +00:00
Love Hörnquist Åstrand
68d7efd2e4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16337 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 15:50:58 +00:00
Love Hörnquist Åstrand
1cff67e8ce (acquire_acceptor_cred): check that the acceptor exists in the keytab
before returning ok.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16336 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 15:50:42 +00:00
Love Hörnquist Åstrand
449a5b09a7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16335 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 15:30:51 +00:00
Love Hörnquist Åstrand
477270a1ca remove setlinebuf that sneeked in
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 15:29:40 +00:00
Love Hörnquist Åstrand
1dda491372 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16332 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 15:26:01 +00:00
Love Hörnquist Åstrand
ea8a943e6d Initialize the slc mapping table before its used.
Based on bugraport from Russell Sanford <rrs@clyde.dcccd.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16331 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 15:25:45 +00:00
Love Hörnquist Åstrand
7b06520517 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16330 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 15:05:59 +00:00
Love Hörnquist Åstrand
5b8d57d256 spelling, From Måns Nilsson
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16329 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 14:56:28 +00:00
Love Hörnquist Åstrand
b8044b7a33 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16328 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 12:41:37 +00:00
Love Hörnquist Åstrand
bc23e0056b Memory keytab are now named and refcounted.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 12:41:22 +00:00
Love Hörnquist Åstrand
76fe170bdd Test that memory keytab are refcounted.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 12:40:50 +00:00
Love Hörnquist Åstrand
b6037cc29a Index by name and start reference counting on entries.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16325 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 12:40:22 +00:00
Love Hörnquist Åstrand
c955b32547 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 09:27:31 +00:00
Love Hörnquist Åstrand
591052ef87 Add ank as an alias to add, it lost in transition to slc, from Måns Nilsson.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16323 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 09:26:02 +00:00
Love Hörnquist Åstrand
d6931c3fea (krb5_address_type): add KRB5_ADDRESS_NETBIOS (20)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-30 15:20:32 +00:00
Love Hörnquist Åstrand
ad3f3d8f3c (set_field): try another way to calculate the path to the
database/logfile/signal-socket


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-30 12:39:19 +00:00
Love Hörnquist Åstrand
665577dc46 (kadm5_log_init): set error string on failures
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16320 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-30 12:27:07 +00:00
Love Hörnquist Åstrand
fe6921c768 Specifify explicitly that the database is in the current directory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16319 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-30 12:22:38 +00:00
Love Hörnquist Åstrand
6e58db8120 (find_method): accept relative paths as old db format too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16318 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-30 12:22:09 +00:00
Love Hörnquist Åstrand
116c7fa6f6 Remove usage of krb5_enctype_to_keytype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-30 11:25:45 +00:00
Love Hörnquist Åstrand
486c4cd80c Make compile again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 20:34:35 +00:00
Love Hörnquist Åstrand
d63b2abca9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 19:04:27 +00:00
Love Hörnquist Åstrand
1019cb16d4 (kcm_loop): Use HAVE_DOOR_CREATE, not HAVE_DOORS.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16314 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 19:03:50 +00:00
Love Hörnquist Åstrand
68caf40b2c (libdefaults_entries): add default_cc_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 18:59:19 +00:00
Love Hörnquist Åstrand
c2fc62851f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 18:53:33 +00:00
Love Hörnquist Åstrand
f32ada0887 Only match db databases on filename starting with '/'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 18:48:07 +00:00