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
df73c96b74
Populate creds in get_new_tickets before actually using it.
...
Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org >
2012-01-29 20:58:12 -08:00
Love Hornquist Astrand
623bd64f0c
use sl_did_you_mean
2011-11-22 12:18:48 -08:00
Love Hörnquist Åstrand
1a1bd736c0
merge support for FAST in as-req codepath
2011-10-28 19:25:48 -07:00
Nicolas Williams
e1be4482ac
Improve kgetcred support for name canon rules and document
2011-10-22 14:54:26 -05:00
Nicolas Williams
a5e77c578e
Deferred hostname canon using name canon rules
2011-10-22 14:54:13 -05:00
Jeffrey Altman
d6bff3199d
add cache type column to kswitch output
...
Change-Id: I6b27ba6f7c853da56f81b45b312ef06e13f2dbb0
2011-09-26 01:56:14 -04:00
Jeffrey Altman
9081ab775f
Windows: include KAFS when building kuser
...
if NO_AFS is not defined include the KAFS library when
building kuser. the KAFS library does not yet build on
Windows but will in the future.
Change-Id: If2a6c7279d6166cc0f4c49d36f3fa54ad7d19d87
2011-09-20 16:16:09 -04:00
Stefan Metzmacher
57300e1482
kuser/kinit: make it possible to use --windows option on its own
...
metze
Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org >
2011-07-30 11:56:46 -07:00
Love Hornquist Astrand
8a5c96e680
process last request and pass in server name
2011-07-24 20:24:38 -07:00
Love Hornquist Astrand
3f0a3c4795
Add fast armor bits
2011-07-24 20:24:37 -07:00
Love Hörnquist Åstrand
12403a31ce
sprinkle more windows files
2011-07-23 11:18:21 -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
3772533acd
Convert to UTF-8.
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2011-05-21 11:54:21 -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
72fe85c267
fix enum vs int warning
2011-05-18 22:30:46 -07:00
Love Hornquist Astrand
1745da3636
fix const warning
2011-05-18 22:28:54 -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
9a1a5e5da6
Mandoc and spelling fixes from Thomas Klausner
2011-04-29 20:37:33 -07:00
Love Hornquist Astrand
f5f9014c90
Warning fixes from Christos Zoulas
...
- shadowed variables
- signed/unsigned confusion
- const lossage
- incomplete structure initializations
- unused code
2011-04-29 20:25:05 -07:00
Love Hornquist Astrand
f7a6a240c1
check return values
2011-03-12 14:19:17 -08:00
Jelmer Vernooij
5ff461d0af
kcc: Add explicitly link against LIB_readline.
...
Fixes linking when using binutils-gold (used by e.g. Ubuntu natty).
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2011-01-25 17:52:53 -08:00
Asanka C. Herath
8e7f787053
Windows: Dependencies for kcc
2010-11-29 10:36:59 -05:00
Love Hornquist Astrand
d36ee8f0b6
add readline alternative
2010-11-27 19:51:26 -08:00
Love Hornquist Astrand
4cd0b0bd4d
add rule for copy_cred_cache.obj
2010-11-27 19:45:20 -08:00
Love Hornquist Astrand
1713166806
use varible for kcc objects, add libsl and copy_cred_cache
2010-11-27 19:36:54 -08:00
Love Hornquist Astrand
88491eb210
uppercase variables names
2010-11-27 19:30:52 -08:00
Love Hornquist Astrand
4055185eaf
move copy_cred_cache into kcc
2010-11-25 11:34:03 -08:00
Love Hornquist Astrand
6d7b1fcf7a
start to build kcc for windows
2010-11-25 10:15:49 -08:00
Love Hornquist Astrand
55e96fabf2
switch kswitch to kcc
2010-11-25 09:29:29 -08:00
Love Hornquist Astrand
92a827da9b
move klist to kcc
2010-11-24 16:21:44 -08:00
Love Hornquist Astrand
388341e149
kgetcred/kvno compat example
2010-11-24 15:24:26 -08:00
Love Hornquist Astrand
60904f676e
-c is a string argument
2010-11-24 15:15:16 -08:00
Love Hornquist Astrand
c5dcbc41d9
first drop of kcc
2010-11-24 15:12:56 -08:00
Asanka C. Herath
58e65d4374
Windows: kswitch depends on libeditline
2010-11-24 15:33:27 -05:00
Asanka C. Herath
880d728e02
Un-const as necessary to silence compiler warnings
2010-11-24 15:33:07 -05:00
Asanka C. Herath
afaa6b03d3
Fix query flag assignment for kcpytkt
2010-11-24 15:33:04 -05:00
Asanka C. Herath
a07036a11c
Windows: Build and install kdeltkt
2010-11-24 15:33:03 -05:00
Asanka C. Herath
7eac4fd821
Windows: Build and install kcpytkt
2010-11-24 15:33:02 -05:00
Asanka C. Herath
a82a93cef8
Windows: Build and install kvno
2010-11-24 15:33:01 -05:00
Asanka C. Herath
f40fe926ad
Windows: Comprehensive clean target
2010-11-24 15:32:13 -05:00
Love Hornquist Astrand
2d169563f1
no longer install kauth, it have been a symlink to kinit for a very long time
2010-11-24 10:10:14 -08:00
Love Hornquist Astrand
c79f78874b
document -i
2010-11-22 13:23:04 -08:00
Love Hornquist Astrand
9ee7dd24d9
support kswitch -i, interactive mode
2010-11-22 13:19:27 -08:00
Love Hornquist Astrand
8f2e0a7010
export internal functions so we dont need private headers
2010-11-20 14:05:54 -08:00
Love Hornquist Astrand
341f4a2f23
update help text
2010-11-06 20:26:03 +01:00
Love Hornquist Astrand
ae948e9932
better help for --no-forward
2010-11-04 18:47:44 -07:00
Love Hornquist Astrand
7d710765b6
make -f mean forwardable
2010-11-04 10:21:33 -07:00