Commit Graph

14617 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
0ffd30a6e4 rewrite getpty to make use openpty when its found, save the slave fd
so that cleanopen can use it if its available


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 13:36:20 +00:00
Love Hörnquist Åstrand
7adcb73bb8 include krb5.h to avoid krb5_getportbyname warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 10:33:18 +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
Love Hörnquist Åstrand
4d351adfed x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 05:24:55 +00:00
Love Hörnquist Åstrand
796e0562a0 use getpwnamn_r if it exists
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14842 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 05:23:42 +00:00
Love Hörnquist Åstrand
c6fcedc6e0 noinst_PROGRAMS += test_kuserok
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14841 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 05:22:49 +00:00
Love Hörnquist Åstrand
6715f713e4 test program for krb5_kuserok
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 05:20:23 +00:00
Love Hörnquist Åstrand
bae44de2e3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 04:42:37 +00:00
Love Hörnquist Åstrand
1caed238c5 fix getpw*_r calls, they return 0 even when the entry isn't found and
instead make it with setting return pointer to NULL.
From Luke Mewburn <lukem@NetBSD.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 04:41:07 +00:00
Love Hörnquist Åstrand
5dc1001c37 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 19:20:55 +00:00
Love Hörnquist Åstrand
050cc7b7f3 (acc_resolve): if open_default_ccache failed with ccErrCCacheNotFound
try again with create_default_ccache, this fixes the problem where the
security server apperenly haven't started yet on Mac OS X


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 19:19:04 +00:00
Love Hörnquist Åstrand
9d57c47c64 (_krb5_get_default_principal_local): add, for use of functions that in
ccache layer to avoid recursive calls.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 19:12:19 +00:00
Love Hörnquist Åstrand
b30e1d8c06 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 13:07:19 +00:00
Love Hörnquist Åstrand
d143f5449e ignore filename symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 13:06:49 +00:00
Love Hörnquist Åstrand
b178b15833 change back to 0.7pre again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 11:05:53 +00:00
Love Hörnquist Åstrand
46a77c28e4 pagsh is in section 1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 10:20:31 +00:00
Love Hörnquist Åstrand
77624cc581 change version to 0.7pre1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 10:09:23 +00:00
Love Hörnquist Åstrand
2e035d66b3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14825 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 10:08:19 +00:00
Love Hörnquist Åstrand
0cd33d833e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:28:54 +00:00
Love Hörnquist Åstrand
3fcb41496d cast to unsigned char to make sure its not negative when passing it to
is* functions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:28:35 +00:00
Love Hörnquist Åstrand
fca6863ff2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:08:28 +00:00
Love Hörnquist Åstrand
0b59fd30dc cast to unsigned char to make sure its not negative when passing it to
to* functions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14821 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:07:40 +00:00
Love Hörnquist Åstrand
e621738b3a drop <ctype.h>, no longer use any of the is* macros in this file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:03:54 +00:00
Love Hörnquist Åstrand
16faa9ef19 (TTYget): use unsigned char to make sure a positive number is returned
when successful


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14819 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:00:42 +00:00
Love Hörnquist Åstrand
7f25d605bd cast to unsigned char to make sure its not negative when passing it to
is* functions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:56:41 +00:00
Love Hörnquist Åstrand
2cc85f5d17 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:54:00 +00:00
Love Hörnquist Åstrand
5c338794d7 use unsigned char * to make sure its not negative when passing it to
is* functions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14816 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:52:58 +00:00
Love Hörnquist Åstrand
542f17be74 (statcmd): cast argument to isdigit to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:48:33 +00:00
Love Hörnquist Åstrand
bb46111aad (mget): cast char to unsigned char to make sure its not negative when
passing it to tolower


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:45:12 +00:00
Love Hörnquist Åstrand
a5206ed43b remove manpage macro, add some more references to manpages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 22:23:41 +00:00
Love Hörnquist Åstrand
ac3b52f7da define manpage macro
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 22:20:23 +00:00
Love Hörnquist Åstrand
21f95fd7d5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 16:40:17 +00:00
Love Hörnquist Åstrand
f6fd1c2537 document krb5_keyblock_init
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 16:39:54 +00:00
Love Hörnquist Åstrand
99c49b8e69 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 13:12:47 +00:00
Love Hörnquist Åstrand
e7e96c2abd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 12:37:54 +00:00
Love Hörnquist Åstrand
d76a6fef95 external password verifier sample
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 12:29:51 +00:00
Love Hörnquist Åstrand
03ca655e05 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 11:47:02 +00:00
Love Hörnquist Åstrand
daf508650e document new password policy code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 11:46:50 +00:00
Love Hörnquist Åstrand
bb095dc7cc replace dash with underscore in the new configuration file option,
just like the rest of the file


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 11:32:23 +00:00
Love Hörnquist Åstrand
5921574969 add verifier libraries with kadm5_add_passwd_quality_verifier
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 11:16:32 +00:00
Love Hörnquist Åstrand
60e7557445 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 11:13:28 +00:00
Love Hörnquist Åstrand
bb3421e14d (kadm5_add_passwd_quality_verifier): if NULL is passed in, load defaults
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 11:13:12 +00:00
Love Hörnquist Åstrand
ffbe1f7b1a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 05:03:39 +00:00
Love Hörnquist Åstrand
20bf4cc2cf include <hex.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 05:02:39 +00:00
Love Hörnquist Åstrand
2b6cbbb4e8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14798 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 19:06:54 +00:00
Love Hörnquist Åstrand
c50b57d65d AUTHENTICATE and AUTHENTICATE_V2 is almost the same, and clients
(klog) can deal with that the kaserver returns the same thing for both


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 19:02:29 +00:00
Love Hörnquist Åstrand
090f4804ec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 16:45:35 +00:00
Love Hörnquist Åstrand
239d06f465 add option -H --hex to the add command
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 16:45:14 +00:00