Commit Graph

29 Commits

Author SHA1 Message Date
Roland C. Dowdeswell
12b24ad876 Add a server side implementation of kadm5_create_principal_3(). 2012-02-24 18:56:30 +00:00
Roland C. Dowdeswell
cc47c8fa7b Turn on -Wextra -Wno-sign-compare -Wno-unused-paramter and fix issues.
We turn on a few extra warnings and fix the fallout that occurs
when building with --enable-developer.  Note that we get different
warnings on different machines and so this will be a work in
progress.  So far, we have built on NetBSD/amd64 5.99.64 (which
uses gcc 4.5.3) and Ubuntu 10.04.3 LTS (which uses gcc 4.4.3).

Notably, we fixed

	1.  a lot of missing structure initialisers,

	2.  unchecked return values for functions that glibc
	    marks as __attribute__((warn-unused-result)),

	3.  made minor modifications to slc and asn1_compile
	    which can generate code which generates warnings,
	    and

	4.  a few stragglers here and there.

We turned off the extended warnings for many programs in appl/ as
they are nearing the end of their useful lifetime, e.g.  rsh, rcp,
popper, ftp and telnet.

Interestingly, glibc's strncmp() macro needed to be worked around
whereas the function calls did not.

We have not yet tried this on 32 bit platforms, so there will be
a few more warnings when we do.
2012-02-20 19:45:41 +00:00
Roland C. Dowdeswell
af011f57fc Provide server side kadm5_chpass_principal_3() with ks_tuple implementation.
We enable kadm5_chpass_principal_3() in the server side of the
library.  The client kadm5 library calls will still return the
error KAMD5_KS_TUPLE_NO_SUPP.

Signed-off-by: Nicolas Williams <nico@cryptonector.com>
2011-11-29 14:47:37 -06:00
Nicolas Williams
0d90e0c4d0 Complete --keepold support and fix crasher in kadmin cpw -r --keepold. 2011-07-22 16:07:06 -05:00
Nicolas Williams
e16360e2db Add --keepold option to cpw. 2011-07-22 16:07:05 -05:00
Nicolas Williams
58d72035f1 Added kadm5_lock() and unlock. 2011-07-22 16:04:52 -05:00
Nicolas Williams
6e04b05e9d Initial support for kadm5_randkey_principal_3(), needed by krb5_admin.
NOT TESTED YET.
2011-07-22 16:04:52 -05:00
Love Hornquist Astrand
0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -07:00
Love Hörnquist Åstrand
ac0502a0fe dns: switch to rk types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:18:45 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
7fcd266fdd use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 04:32:32 +00:00
Love Hörnquist Åstrand
cb704efeeb Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:37:46 +00:00
Love Hörnquist Åstrand
ee050659b1 Constify password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-08 11:30:53 +00:00
Love Hörnquist Åstrand
7d07ffa844 rename variable exp to expression
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15484 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 05:21:07 +00:00
Love Hörnquist Åstrand
43281bd237 use new tsasl interface
remove debug printf
add upn to computer-accounts


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-06 04:11:08 +00:00
Love Hörnquist Åstrand
6d5a2620c1 implement kadm5_ad_init_with_password_ctx
set more error strings


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14010 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-27 22:33:18 +00:00
Johan Danielsson
4c01596aaf s/void static/static void/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13967 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-21 19:07:29 +00:00
Love Hörnquist Åstrand
17083d8556 use krb5_set_password_using_ccache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-02 19:30:38 +00:00
Love Hörnquist Åstrand
ac337eb057 try handle spn's better
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-01 15:08:29 +00:00
Love Hörnquist Åstrand
31ed3a4d60 add expiration time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-31 19:46:56 +00:00
Love Hörnquist Åstrand
49918f566e add modify operations
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-31 19:05:01 +00:00
Love Hörnquist Åstrand
67b8478b09 handle create and delete
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-31 09:07:51 +00:00
Love Hörnquist Åstrand
433bc74722 more code for get, handle attributes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-27 00:34:40 +00:00
Love Hörnquist Åstrand
3d52065a27 more code for get, handle time stamps and bad password counter
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-27 00:05:38 +00:00
Love Hörnquist Åstrand
ac703f462f more code for get, only fetches kvno for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 23:08:30 +00:00
Love Hörnquist Åstrand
bcf009d4ce add support for tsasl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 21:41:13 +00:00
Love Hörnquist Åstrand
9fd5c0254f try all ldap servers in dns, generate a random password,
base64(random_block(64)), XXX must make it support other then ARCFOUR


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13869 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 16:51:28 +00:00
Love Hörnquist Åstrand
a925d449e1 framework for windows AD backend
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 16:21:20 +00:00