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
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
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
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
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
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
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
3c0343f2c1
Add krb5_keyblock_init to allocate an fill in a keyblock from key data.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 16:27:24 +00:00
Love Hörnquist Åstrand
4e95901a2b
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 06:16:49 +00:00
Love Hörnquist Åstrand
17f0e880c2
add an end tag to the external password quality check protocol
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 06:04:37 +00:00
Love Hörnquist Åstrand
c462f2b1a2
add ROKEN_LIB_FUNCTION glue
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 13:19:07 +00:00
Love Hörnquist Åstrand
28303a2798
add closefrom
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 13:17:16 +00:00
Love Hörnquist Åstrand
cd9d95cb0d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 11:48:40 +00:00
Love Hörnquist Åstrand
98c23307d7
add external passsword quality check builtin module
...
[password_quality]
policies = external-check
external-program = /bin/false
To approve password a, make the test program return APPROVED on stderr
and fail with exit code 0.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 11:47:48 +00:00
Love Hörnquist Åstrand
cbe95e0177
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 11:39:16 +00:00
Love Hörnquist Åstrand
043e2fb6c6
don't close stderr, close all fd that is num 3 and larger
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 11:39:00 +00:00
Love Hörnquist Åstrand
a3cd0311be
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 08:06:42 +00:00
Love Hörnquist Åstrand
d15c9d7cc6
(pipe_execv): use closefrom
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 08:05:03 +00:00
Love Hörnquist Åstrand
34416ca94f
drop <errno.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 08:01:38 +00:00
Love Hörnquist Åstrand
ff78cfca60
add closefrom
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 08:00:44 +00:00
Love Hörnquist Åstrand
f1f84477a8
provide ROKEN_LIB_FUNCTION glue
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 05:52:27 +00:00
Love Hörnquist Åstrand
75fd257d78
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14775 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-12 11:33:04 +00:00
Love Hörnquist Åstrand
709aa58c74
define ROKEN_LIB_FUNCTION on all exported functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-12 11:29:18 +00:00
Love Hörnquist Åstrand
9d25af4667
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14772 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 19:20:54 +00:00
Love Hörnquist Åstrand
1ca7fa435c
don't include bit types, the user must do that
...
#ifdef wrap
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14771 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 19:18:13 +00:00
Love Hörnquist Åstrand
5a741de6cd
#ifdef wrap
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14770 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 19:09:47 +00:00
Love Hörnquist Åstrand
c1c535f239
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14769 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 19:01:48 +00:00
Love Hörnquist Åstrand
1a5d075bae
print DS
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14768 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 19:00:02 +00:00
Love Hörnquist Åstrand
4903a8daab
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14765 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 15:01:39 +00:00
Love Hörnquist Åstrand
e743a6ca8a
break out the processing of the delegated credential to a separate
...
function to make error handling easier, move the credential handling
to after other setup is done
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 15:01:21 +00:00
Love Hörnquist Åstrand
cce019aa2f
make less verbose in case of success
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 14:05:15 +00:00
Love Hörnquist Åstrand
e8bd38e643
add test_sequence to TESTS
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 14:04:43 +00:00
Love Hörnquist Åstrand
84ebbbffc2
sync patypes with pkinit branch
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14759 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-08 10:32:44 +00:00
Love Hörnquist Åstrand
9dd70b312a
(process_pa_data_to_key): also check for KRB5_PADATA_PK_AS_REP_19,
...
From: Douglas Engert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14757 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 20:15:18 +00:00
Love Hörnquist Åstrand
9e68a7aabe
remove libdes leftovers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 19:01:37 +00:00
Love Hörnquist Åstrand
717eaf3c8f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 18:48:52 +00:00
Love Hörnquist Åstrand
2a95fd688b
remove unused variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14748 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 17:49:26 +00:00
Love Hörnquist Åstrand
032007ddbd
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14744 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 20:16:09 +00:00