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
Nicolas Williams
3bebbe5323
Fixes to make Heimdal -Wall -Werror clean
...
These fixes make developer mode build, at least on Ubuntu.
2011-11-02 21:42:08 -05:00
Love Hörnquist Åstrand
9fa3112645
drop krb4
2011-08-10 09:25:29 -07:00
Love Hörnquist Åstrand
7aaba443bc
add NTMakefile and windows directories
2011-07-17 12:16:59 -07:00
Love Hornquist Astrand
0879b9831a
remove trailing whitespace
2011-05-21 11:57:31 -07:00
Thomas Klausner
97df66c0a0
Put Nd argument after Nd macro.
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2011-05-21 11:54:27 -07:00
Thomas Klausner
db8e287e41
Use "Fl Fl" for long options.
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2011-05-21 11:54:14 -07:00
Love Hornquist Astrand
b1909b2daa
Fixes from NetBSD via Thomas Klausner and Roland C. Dowdeswell
2011-05-04 21:31:10 -07:00
Love Hornquist Astrand
f7a6a29d6a
add sessions.c
2011-03-13 01:23:56 -08:00
Love Hornquist Astrand
578d2cf2f1
add session glue
2011-03-13 01:23:30 -08:00
Love Hornquist Astrand
e334f05ab5
spelling
2010-10-27 21:13:31 -07:00
Love Hornquist Astrand
ef543041fc
moving on top of ourself is simple
2010-10-07 00:01:24 -07:00
Love Hornquist Astrand
c50d442375
release cred too
2010-10-06 23:47:37 -07:00
Love Hornquist Astrand
c867fd3e2e
Make libtool pull in the depenency on libldap
...
Put in explicy depenency on libdap so that libtool
might to the right thing for us.
Patch from Jan Rekorajski
2009-12-08 00:15:10 -08:00
Gabor Gombas
17bfa5d3e5
"unix" is a built-in preprocessor symbol, so it cannot be used as a variable name
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-25 05:05:03 -08:00
Love Hornquist Astrand
c6bbdb545b
First drop of Windows build infrastructure from Secure Endpoints
2009-11-24 12:12:53 -08:00
Love Hornquist Astrand
adb71f15ec
use launch flag, move loop to here
2009-11-23 09:06:39 -08:00
Love Hornquist Astrand
ac9256594c
move out loop from here
2009-11-23 09:06:22 -08:00
Love Hornquist Astrand
fed3b2dffd
launchd flag
2009-11-23 09:05:57 -08:00
Love Hornquist Astrand
d616796649
add prototype for kcm_service and launchd flag
2009-11-23 09:05:48 -08:00
Love Hornquist Astrand
61035d0318
parse_time.h and heim-ipc.h header, remove unix/door headers
2009-11-23 09:05:31 -08:00
Love Hornquist Astrand
d2c2e37ef5
add missing libs, update constants
2009-11-21 23:58:40 -08:00
Love Hornquist Astrand
fe2dfe83a8
clean up and make work, require libheim-ipcs
2009-11-21 23:54:00 -08:00
Love Hornquist Astrand
0c539be609
Cast uid_t to long for printing
2009-08-14 11:15:45 +02:00
Love Hornquist Astrand
c97cc4647c
rename kcm_protos to kcm-protos.h
2009-07-30 15:03:28 +02:00
Love Hornquist Astrand
bf5176e815
Check return value for allocation function [CID-180]
2009-07-30 07:59:24 +02:00
Love Hörnquist Åstrand
6c82fece47
Drop changing the password, really need kadmin/ldap support to do it
...
right (like add aes support, propper kvno handling etc).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-02 21:53:17 +00:00
Love Hörnquist Åstrand
cf8f675961
wrap detach
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24418 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:40:50 +00:00
Love Hörnquist Åstrand
fe827a7b40
wrap detach
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:40:41 +00:00
Love Hörnquist Åstrand
af1a585734
wrap detach
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24416 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:40:32 +00:00
Love Hörnquist Åstrand
b4c5efcf3a
wrap detach
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:40:23 +00:00
Love Hörnquist Åstrand
dfa2b7030c
use calloc and by that way avoid NULL de-ref, cid#31
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:05:21 +00:00
Love Hörnquist Åstrand
1f82ad5700
read dead code, cid#5
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:05:11 +00:00
Love Hörnquist Åstrand
d6f7c4e272
use krb5_get_init_creds_opt_alloc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:51:29 +00:00
Love Hörnquist Åstrand
c630fd2375
switch to kcmuuid_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24019 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:17:14 +00:00
Love Hörnquist Åstrand
eceed3b5e2
switch to kcmuuid_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:17:03 +00:00
Love Hörnquist Åstrand
4ff39ca5b3
switch to kcmuuid_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24017 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:16:53 +00:00
Love Hörnquist Åstrand
366f4c76ae
drop uuid.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:16:20 +00:00
Love Hörnquist Åstrand
ca4645d263
handle return value of krb5_storage_{read,write}
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24011 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:15:45 +00:00
Love Hörnquist Åstrand
2f5206fe11
cursor.c is dead
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24007 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:06:01 +00:00
Love Hörnquist Åstrand
a64eb2c00b
cursor.c is dead
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:05:51 +00:00
Love Hörnquist Åstrand
ad13c2b571
make get_first return uuid of cache, get_next fetch the next uuid and end_get do nothing but log
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24005 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:05:40 +00:00
Love Hörnquist Åstrand
ae92936752
cursor is dead, add uuid to kcm_creds
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:05:29 +00:00
Love Hörnquist Åstrand
58b9d9cd60
cursor is dead
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:05:18 +00:00
Love Hörnquist Åstrand
54ae1c514e
include <uuid/uuid.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24002 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:05:07 +00:00
Love Hörnquist Åstrand
86f16fb48d
add kcm_ccache_find_cred_uuid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:04:57 +00:00
Love Hörnquist Åstrand
41afa44c07
use krb5_get_init_creds_opt_alloc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:25:45 +00:00
Love Hörnquist Åstrand
6bb5d8d86f
kcm_ccache_remove_cred_internal, call kcm_cursor_update to move cursor
...
forward if it was stepping on to be removed entry.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-19 20:30:24 +00:00
Love Hörnquist Åstrand
cf03a62739
Move the each of the cursors one step forward in the chain if creds matches.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-19 20:30:12 +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