Commit Graph

7288 Commits

Author SHA1 Message Date
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
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
8e78ed6e48 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@15255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 14:23:01 +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
a68cecf9a9 (cipher3): used unsigned char to avoid problems with platforms using
"signed char"


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-27 13:50:05 +00:00
Love Hörnquist Åstrand
0f973fb603 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-27 13:37:59 +00:00
Love Hörnquist Åstrand
3521604ac0 include "roken.h" to avoid undefined size_t/ssize_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-27 13:37:47 +00:00
Love Hörnquist Åstrand
0d721e25c5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15242 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-25 13:55:04 +00:00
Love Hörnquist Åstrand
25e35f641a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-25 13:54:47 +00:00