Commit Graph

7601 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
101d943acc avoid shadowing sin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15412 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:53:09 +00:00
Love Hörnquist Åstrand
761bb32c40 (parse_record): fix casting to avoid losing const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:46:16 +00:00
Love Hörnquist Åstrand
601faffba8 add rk_UNCONST that can be used to unconstify variables to avoid
api problems that -Wcast-qual will detect


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15410 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:39:42 +00:00
Love Hörnquist Åstrand
9dc4717476 since we got no feedback regarding people running heimdal on the
crays, remove the quoted # version


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:29:58 +00:00
Love Hörnquist Åstrand
d6777fe3f7 rename index to idx to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:27:35 +00:00
Love Hörnquist Åstrand
3a721fe1b5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15400 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 15:17:57 +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
aff0b33bff x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15343 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-02 07:39:30 +00:00
Love Hörnquist Åstrand
26719d30d9 use struct kafs_data everywhere, don't mix with the typedef kafs_data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15342 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-02 07:38:22 +00:00
Love Hörnquist Åstrand
b8eb6ed9e6 rename more resolve.c symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15341 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-02 07:35:45 +00:00
Love Hörnquist Åstrand
7a3b0e2dcd Don't building map_syscall_name_to_number where its not used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15340 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-02 07:25:58 +00:00
Love Hörnquist Åstrand
1e11681354 Include <stdlib.h> for srandom/random.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15339 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-02 07:18:50 +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
ed3c91d6b1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15320 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:59:43 +00:00
Love Hörnquist Åstrand
e9cef62ab1 (init_auth): honor ok-as-delegate if local configuration approves
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15319 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:58:29 +00:00
Love Hörnquist Åstrand
34f0637d14 prototype for _gss_check_compat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:53:46 +00:00
Love Hörnquist Åstrand
a2285a7802 export check_compat as _gss_check_compat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:51:51 +00:00
Love Hörnquist Åstrand
3471204c15 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15314 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:48:26 +00:00
Love Hörnquist Åstrand
e1b08855ae (attr_to_flags): check for KRB5_KDB_OK_AS_DELEGATE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:44:54 +00:00
Love Hörnquist Åstrand
f6c9db26bd (kadm5_s_get_principal): set KRB5_KDB_OK_AS_DELEGATE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:43:14 +00:00
Love Hörnquist Åstrand
58460893e1 add KRB5_KDB_OK_AS_DELEGATE, sync KRB5_TL_ flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:32:58 +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
6037e01bd0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 21:32:58 +00:00
Love Hörnquist Åstrand
6d7988fa1b avoid signedness warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 21:21:12 +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
ffb7332d89 provde RTLD_NOW and RTLD_GLOBAL if they don't exists
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 18:12:28 +00:00
Love Hörnquist Åstrand
96ce379f6b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 17:19:08 +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
684d47ce7a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15271 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 16:15:57 +00:00
Love Hörnquist Åstrand
806ee4c961 (DES_cbc_cksum): init u to make sure it have a value in case of the
empty in data


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 16:15:44 +00:00
Love Hörnquist Åstrand
838fb1ed38 add test for the empty password ""
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 16:14:38 +00:00
Love Hörnquist Åstrand
967d1ea267 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 15:13:25 +00:00
Love Hörnquist Åstrand
9ae8bc983a Prefix Der_class with ASN1_C_ to avoid problems with system
headerfiles that pollute the name space.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15264 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 15:13:10 +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