Commit Graph

2781 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
7b778a173b (default_s2k_func): unconst password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:15:20 +00:00
Love Hörnquist Åstrand
552b026c14 remove cast that to avoid dropping const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15463 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 22:57:14 +00:00
Love Hörnquist Åstrand
d83bcde1e8 rename `encrypt' to avoid shadow warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15462 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 22:54:33 +00:00
Love Hörnquist Åstrand
ac94b1f03b rename index to idx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15458 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 21:16:59 +00:00
Love Hörnquist Åstrand
b1efe15c20 use rk_UNCONST
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 21:16:40 +00:00
Love Hörnquist Åstrand
c3579d1f6c rename to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15446 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:25:20 +00:00
Love Hörnquist Åstrand
70aae422eb (_krb5_expand_default_cc_name): just copy the string instead of losing const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:19:57 +00:00
Love Hörnquist Åstrand
31a2c01297 use rk_UNCONST to silence const warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:16:12 +00:00
Love Hörnquist Åstrand
38f3241d93 rename sin to sin4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:10:34 +00:00
Love Hörnquist Åstrand
2679e4770f use HAVE_DLOPEN around cc_handle
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 19:32:44 +00:00
Love Hörnquist Åstrand
b251409222 (_krb5_expand_default_cc_name): replace strndup with inline copy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15393 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-15 11:18:16 +00:00
Love Hörnquist Åstrand
9176b9b05c rename close and log to avoid shadow warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15391 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-15 03:14:05 +00:00
Love Hörnquist Åstrand
098ce70bd4 rename variable to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-15 02:57:09 +00:00
Love Hörnquist Åstrand
625f4bf27f rename index to i to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-15 02:53:20 +00:00
Love Hörnquist Åstrand
2872371a33 (krb5_get_forwarded_creds): rename two of the local `realm' to srealm
to avoid shadowing


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-15 02:44:36 +00:00
Love Hörnquist Åstrand
a53ab943fc TESTS += test_mem
libkrb5_la_SOURCES += kcm.h


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15372 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-14 01:45:04 +00:00
Love Hörnquist Åstrand
025005530d Test run functions, to be used with valgrind to detect memoryleaks.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15371 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-14 01:41:50 +00:00
Love Hörnquist Åstrand
9766d760ab (main): catch KRB5_CONFIG_BADFORMAT from krb5_init_context
From: Mathias Feiler <feiler@uni-hohenheim.de>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15368 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-14 00:06:17 +00:00
Love Hörnquist Åstrand
825a65e9b9 Add more missig entires, from Mathias Feiler <feiler@uni-hohenheim.de>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15366 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-13 22:56:39 +00:00
Love Hörnquist Åstrand
4fcc39ccbc (krb5_closelog): free all content in krb5_log_facility
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15364 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-11 00:14:28 +00:00
Love Hörnquist Åstrand
7ab99ed744 (krb5_log_facility): drop const from program element
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15363 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-11 00:05:24 +00:00
Love Hörnquist Åstrand
c31ebc73a1 If we are allocating 0 entires, avoid failing if ALLOC returns NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15331 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-01 10:40:05 +00:00
Love Hörnquist Åstrand
66908bd0e7 Check for [kdc]v4-realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15330 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-01 07:26:20 +00:00
Love Hörnquist Åstrand
38ed451ae8 When returning a new error code, set error string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15328 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-31 22:13:50 +00:00
Love Hörnquist Åstrand
ea4a3e5660 When returning a new error code, either set error string or clear it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-31 22:06:15 +00:00
Love Hörnquist Åstrand
897ad7f8f3 Adapt to changed signature of _krb5_xunlock, clear more error string
where needed.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-31 21:50:43 +00:00
Love Hörnquist Åstrand
14747af538 (_krb5_xunlock): catch the error and turn it into something sensable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15325 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-31 21:48:57 +00:00
Love Hörnquist Åstrand
f549696d69 Spelling, from Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 21:58:36 +00:00
Love Hörnquist Åstrand
b314613a39 fix test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 18:22:59 +00:00
Love Hörnquist Åstrand
7c2839a3d5 XXX don't run the test unless the machine is in kth.se or su.se
because it depends on local resolver configuration.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 18:21:54 +00:00
Love Hörnquist Åstrand
f49bd1d202 change format for expantion variables in default_cc_name to
%{variable} to not confuse them with shell ditto


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 16:18:21 +00:00
Love Hörnquist Åstrand
78418b884a add _PATH_KCM_DOOR, default path to kcm door
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15261 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 14:50:35 +00:00
Love Hörnquist Åstrand
320ea792a2 use [libdefaults]kcm_door to find the door to kcm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15260 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 14:49:50 +00:00
Love Hörnquist Åstrand
3525446dd1 libkrb5_la_LIBADD += LIB_door_create
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 14:47:12 +00:00
Love Hörnquist Åstrand
9ed2aa6e3f Maybe include <sys/mman.h>, maybe include <door.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 14:28:39 +00:00
Love Hörnquist Åstrand
a50f5cbbd4 (kcm_send_request): add support for doing a door call to kcm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 14:27:09 +00:00
Love Hörnquist Åstrand
084b3b2d2a change format for expantion variables in default_cc_name to
%{variable} to not confuse them with shell ditto


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 13:15:58 +00:00
Love Hörnquist Åstrand
85718a32f7 fix last commit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 13:13:17 +00:00
Love Hörnquist Åstrand
25fea843b6 (_krb5_expand_default_cc_name): change format for expantion variables
to %{variable} to not confuse them with shell ditto


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15252 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 13:12:22 +00:00
Love Hörnquist Åstrand
a44ca50f26 remove trailing space
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-25 13:47:58 +00:00
Love Hörnquist Åstrand
b8c54d9492 remove . for .Nd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-25 13:19:16 +00:00
Love Hörnquist Åstrand
0d7e349526 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15238 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-25 13:18:33 +00:00
Love Hörnquist Åstrand
b612b2b0c8 update copyright
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15234 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-25 05:30:42 +00:00
Love Hörnquist Åstrand
1811dedf7b (kcm_alloc): allow kcm socket to be configured by [libdefaults]kcm_socket=/path
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-24 12:49:20 +00:00
Love Hörnquist Åstrand
5d06d26b07 document WRFILE and JAVA14
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15207 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 14:07:32 +00:00
Love Hörnquist Åstrand
285d9f5407 Remove duplicate line that was commented using c99 style comments.
Found by samba's build farm.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 10:42:54 +00:00
Love Hörnquist Åstrand
429998ed6e (srv_get_hosts): if srv_get_hosts failes, return and ignore the error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 09:09:42 +00:00
Love Hörnquist Åstrand
ea49018330 (srv_find_realm): make sure res' and count' have good values
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 09:07:18 +00:00
Love Hörnquist Åstrand
a1e379cb15 tests all keytab format
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 09:01:29 +00:00
Love Hörnquist Åstrand
cc1891f16f add missing options, prompted by James F. Hranicky mail to heimdal-discuss
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 20:50:53 +00:00