Commit Graph

7288 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
20d6b1d4d6 Include krb5-types.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 11:50:32 +00:00
Love Hörnquist Åstrand
1f6a02ddd4 define _POSIX_PTHREAD_SEMANTICS so we get posix getpwnam_r
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:24:02 +00:00
Love Hörnquist Åstrand
74cf698513 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:09:11 +00:00
Love Hörnquist Åstrand
7e35d1bdbc Maybe include stdlib.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:08:53 +00:00
Love Hörnquist Åstrand
1faae673ee Include roken.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:05:00 +00:00
Love Hörnquist Åstrand
cd68b669fb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14965 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 19:27:17 +00:00
Love Hörnquist Åstrand
32b515fccb add the documented option --port
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 19:23:15 +00:00
Love Hörnquist Åstrand
bb2ca4b24b use the newly generated units function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 18:20:50 +00:00
Love Hörnquist Åstrand
e4d67d9f1f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 18:19:21 +00:00
Love Hörnquist Åstrand
98dcb8409a switch the units variable to a function. gcc-4.1 needs the size of the
structure if its defined as extern struct units foo_units[] an we
don't want to include <parse_units.h> in the generate headerfile


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14959 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 18:07:07 +00:00
Love Hörnquist Åstrand
8c03feac90 use PADL version
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 17:33:40 +00:00
Love Hörnquist Åstrand
3912e6c785 add EQUALITY rule for krb5ValidStart, krb5ValidEnd, krb5PasswordEnd
From Howard Chu


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14956 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 14:30:14 +00:00
Love Hörnquist Åstrand
1da385e5b6 (acc_gen_new): remove debug printf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 21:54:01 +00:00
Love Hörnquist Åstrand
d6b87a47d9 use strlcpy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:54:58 +00:00
Love Hörnquist Åstrand
3a1c2eb89d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14931 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:43:59 +00:00
Love Hörnquist Åstrand
ddb34e00b3 include strlcpy and *printf and use them
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14930 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:43:06 +00:00
Love Hörnquist Åstrand
da6cb81649 s/strlcpy/strlcat/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14929 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:28:50 +00:00
Love Hörnquist Åstrand
743dc6a909 add strlcpy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:16:48 +00:00
Love Hörnquist Åstrand
713a9deb4e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14927 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:01:01 +00:00
Love Hörnquist Åstrand
7e40ed10e4 unexpose undefined part of the API, included strlcat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 18:57:16 +00:00
Love Hörnquist Åstrand
a6a96fbc46 don't use sizeof(pointer)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 18:56:55 +00:00
Love Hörnquist Åstrand
ed8f5734cb use the unexport the oid_to_enctype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 14:14:49 +00:00
Love Hörnquist Åstrand
f8c1fbfbe4 unexport the oid_to_enctype function, not for external consumers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14921 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 14:14:17 +00:00
Love Hörnquist Åstrand
0e573162cb document krb5_cc_new_unique
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 13:57:33 +00:00
Love Hörnquist Åstrand
7e27a05d9a (krb5_cc_new_unique): new function to create a new credential cache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14918 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 13:52:01 +00:00
Love Hörnquist Åstrand
ea79507d4f simplify error handling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 13:44:02 +00:00
Love Hörnquist Åstrand
44a72140b6 more spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14907 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 07:52:03 +00:00
Love Hörnquist Åstrand
15c32cbc1d update .Dd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14906 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 07:49:34 +00:00
Love Hörnquist Åstrand
6a3813781d spelling, from Björn Sandell <biorn@dce.chalmers.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 07:46:59 +00:00
Love Hörnquist Åstrand
c632869a80 spelling, from Björn Sandell <biorn@dce.chalmers.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 07:31:48 +00:00
Love Hörnquist Åstrand
b792ea5a2a libkrb5_la_SOURCES += v4_glue.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-23 21:16:57 +00:00
Love Hörnquist Åstrand
2d3b49f0c0 forward declaration of _krb5_krb_auth_data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-23 19:42:28 +00:00
Love Hörnquist Åstrand
ca6053358a Move the kerberos v4 replacement functions to v4_glue.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-23 19:40:57 +00:00
Love Hörnquist Åstrand
40abf3fef4 add more v4 defines
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-23 19:38:16 +00:00
Love Hörnquist Åstrand
aa80eaa1a7 Implement enough of kerberos 4 protocol to be a KDC, move the v4 bits over here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-23 19:36:40 +00:00
Love Hörnquist Åstrand
68a4a7e1c5 remove more leftovers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-21 19:29:18 +00:00
Love Hörnquist Åstrand
8df03ee61e fix warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-21 18:58:14 +00:00
Love Hörnquist Åstrand
e869931f80 catch two more snprintf problems
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-21 06:37:36 +00:00
Love Hörnquist Åstrand
95b30c4a5b this lib include com_err, add -com_err to CHECK_SYMBOLS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 21:17:32 +00:00
Love Hörnquist Åstrand
9ee9056627 remove unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14870 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 20:53:29 +00:00
Love Hörnquist Åstrand
239eade8e6 (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14865 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 10:46:15 +00:00
Love Hörnquist Åstrand
2f619d9f28 document supported mechamisms
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 10:45:57 +00:00
Love Hörnquist Åstrand
dd3ec19f74 use asprintf to avoid truncating pathnames
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 18:59:46 +00:00
Love Hörnquist Åstrand
e441948975 check return value of snprintf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14855 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 18:52:51 +00:00
Love Hörnquist Åstrand
89b5bba2fe check address truncation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 18:44:56 +00:00
Love Hörnquist Åstrand
a76ce26d04 check return values from snprintf and clean up semantics of ret_len
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14853 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 18:43:12 +00:00
Love Hörnquist Åstrand
c54ca3787e clearify what ret_len is in krb5_print_address
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14852 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 18:18:50 +00:00
Love Hörnquist Åstrand
dc662edcc0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 10:28:53 +00:00
Love Hörnquist Åstrand
cb151443a9 include <config.h> since defines _GNU_SOURCE if needed, avoid asprintf warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 10:28:28 +00:00
Love Hörnquist Åstrand
521af19317 add --version and --help
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 08:40:06 +00:00