Nicolas Williams
b48bed5f42
Daemons detach atomically to avoid having to wait
...
Tests that start daemons have to "wait" for them to start.
This commit makes Heimdal daemons prep to detach (when requested) by
forking early, then having the child signal readiness to the parent when
the child really is ready. The parent exits only which the child is
ready. This means that tests will no longer need to wait for daemons.
However, tests will still need a pidfile or such so they can stop the
daemons.
Note that the --detach options should not be used on OS X from launchd,
only from tests.
2015-03-24 11:49:59 -05:00
Jelmer Vernooij
70e43e9808
Fix some typos.
2014-04-25 02:42:17 +02:00
Love Hörnquist Åstrand
c78ca069f1
use noinst_HEADERS for kcm-protos.h
2014-02-16 09:16:25 -08:00
Jelmer Vernooij
95bc8aca4a
Fix handling of SIGINT/SIGTERM in kcm.
...
Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654349
2014-01-18 21:33:39 +00:00
Nicolas Williams
fdcb8f3862
Fix callers of heim_ntlm_encode_type3; make build
2013-11-20 01:20:01 -06:00
Love Hörnquist Åstrand
6d783560e4
fix sizeof(uuid)
2012-11-17 14:13:54 -08:00
Roland C. Dowdeswell
be5afdbf7f
Make concurrent builds work.
...
To stop the errors when building concurrently, we make a number of
changes:
1. stop including generated files in *_SOURCES,
2. make *-protos.h and *-private.h depend on the *_SOURCES,
3. make all objects depend on *-{protos,private}.h,
4. in a few places change dir/header.h to $(srcdir)/dir/header.h,
This appears to work for me with make -j16 on a 4-way box.
2012-08-08 00:04:04 +01:00
Roland C. Dowdeswell
e8779d5d4a
Add -Wshadow and deal with the warnings.
2012-02-21 11:17:55 +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
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