Love Hornquist Astrand
d9aa1ff496
use configuration for db-dir
2012-10-01 09:50:46 -07: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
Love Hornquist Astrand
0879b9831a
remove trailing whitespace
2011-05-21 11:57:31 -07:00
Love Hornquist Astrand
929559ab2c
Switch to using krb5_config_get_list() instead of krb5_config_get()
2009-08-19 04:02:25 -07:00
Love Hörnquist Åstrand
5a9dd54e95
drop RCSID
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25319 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-05 05:09:16 +00:00
Love Hörnquist Åstrand
9921bcbe2a
plug memory leak
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:09:18 +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
0c7f4c3a6e
Add hdb_default_db().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-14 12:22:38 +00:00
Love Hörnquist Åstrand
25d04f4314
(hdb_db_dir): Return the directory where the hdb database resides.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 18:21:47 +00:00
Love Hörnquist Åstrand
8e2c1ccaae
(get_dbinfo): use dbname instead of realm as key if the entry is a
...
correct entry.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-22 11:46:53 +00:00
Love Hörnquist Åstrand
f11d1449df
Add hdb_dbinfo_get_log_file.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-05 12:39:50 +00:00
Love Hörnquist Åstrand
ec9707b58d
If there is no default dbname, also check for unset mkey_file and set
...
it default mkey name, make backward compat stuff work.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 16:17:05 +00:00
Love Hörnquist Åstrand
a3a7d46764
(hdb_get_dbinfo) If there are no database specified, create one and
...
let it use the defaults.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-02 22:57:48 +00:00
Love Hörnquist Åstrand
4efa04cf12
add acl file
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-27 20:19:30 +00:00
Love Hörnquist Åstrand
5d847fc33b
provide interface to find avaible databates
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-19 13:07:03 +00:00