log tritan's changes
[krb5.git] / src / clients / ksu / ChangeLog
1 1999-10-26  Tom Yu  <tlyu@mit.edu>
2
3         * Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES,
4         LOCAL_INCLUDES such that one can override CFLAGS from the command
5         line without losing CPP search patchs and defines. Some associated
6         Makefile cleanup. [from wsanchez@apple.com]
7
8 1999-08-23  Ken Raeburn  <raeburn@mit.edu>
9
10         * heuristic.c (find_ticket): Use flag KRB5_TC_SUPPORTED_KTYPES
11         when calling krb5_cc_retrieve_cred.
12         * krb_auth_su.c (krb5_auth_check, krb5_fast_auth): Ditto.
13
14 Fri Mar 12 18:52:18 1999  Tom Yu  <tlyu@mit.edu>
15
16         * main.c (main): Fix cleanup code for setluid() failure.
17
18 Thu Mar  4 18:46:55 1999  Tom Yu  <tlyu@mit.edu>
19
20         * heuristic.c (get_authorized_princ_names): Fix to not call
21         list_union() if cmd is NULL, otherwise freed memory gets
22         referenced. [krb5-clients/698]
23
24 Thu Feb 18 22:26:30 1999  Tom Yu  <tlyu@mit.edu>
25
26         * Makefile.in (ksu): Add $(KSU_LIBS) in case we need -lsecurity.
27
28         * main.c (main): Add call to setluid() on systems that have it.
29
30 1998-11-13  Theodore Ts'o  <tytso@rsts-11.mit.edu>
31
32         * Makefile.in: Set the myfulldir and mydir variables (which are
33                 relative to buildtop and thisconfigdir, respectively.)
34
35 1998-05-06  Theodore Ts'o  <tytso@rsts-11.mit.edu>
36
37         * main.c (main): POSIX states that getopt returns -1 when it
38                 is done parsing options, not EOF.
39
40 Wed Feb 18 15:44:15 1998  Tom Yu  <tlyu@mit.edu>
41
42         * Makefile.in: Remove trailing slash from thisconfigdir.  Fix up
43         BUILDTOP for new conventions.
44
45 Mon Feb  2 17:02:29 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
46
47         * Makefile.in: Define BUILDTOP and thisconfigdir in the Makefile
48
49 Wed Feb  4 20:46:49 1998  Tom Yu  <tlyu@mit.edu>
50
51         * krb_auth_su.c (krb5_verify_tkt_def): If using a pre-existing
52         credential cache, ensure that the host ticket has not yet
53         expired.  Patch from vwelch@ncsa.uiuc.edu [krb5-clients/545].
54
55 Mon Jan 27 16:56:07 1997  Tom Yu  <tlyu@mit.edu>
56
57         * Makefile.in:
58         * configure.in: Update to new program build procedure.
59
60 Sun Nov 10 20:10:53 1996  Sam Hartman  <hartmans@mit.edu>
61
62         * krb_auth_su.c (path_passwd;): If you don't have a srvtab, always
63         fail.
64
65 Thu Nov  7 15:41:19 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
66
67         * main.c (main): Check the error return from
68                 krb5_init_context(), and print an error message if
69                 necessary.
70
71 Wed Sep 18 15:54:41 1996  Theodore Y. Ts'o  <tytso@mit.edu>
72
73         * krb_auth_su.c (krb5_get_tkt_via_passwd): Remove call to
74                 krb5_os_localaddr(), since get_in_tkt will default correctly.
75
76 Tue Sep 10 14:15:02 1996  Tom Yu  <tlyu@mit.edu>
77
78         * ksu.M: remove ".so man1/header.doc"
79
80 Thu Aug  8 12:31:30 1996  Sam Hartman  <hartmans@mit.edu>
81
82         * main.c (main): Close source cache before executing command.
83
84 Sat May 25 16:11:55 1996  Sam Hartman  <hartmans@mit.edu>
85
86         * configure.in: Use aname db libs.
87
88 Tue May 21 19:14:27 1996  Sam Hartman  <hartmans@mit.edu>
89
90         * Makefile.in (install): Ignore error return from installation of
91         ksu; if we can't set the setuid bit (AFS or non-root), we should
92         still continue.
93
94 Mon May 20 00:07:16 1996  Sam Hartman  <hartmans@tertius.mit.edu>
95
96         * main.c (main):  Do not force source cache open if we are going to use it as the target.
97
98 Sun May 19 13:41:21 1996  Sam Hartman  <hartmans@mit.edu>
99
100         * main.c: Force source ccache to stay open between transactions.
101
102 Sun May 19 03:24:26 1996  Sam Hartman  <hartmans@tertius.mit.edu>
103
104         * krb_auth_su.c: Use target uid while creating ccache
105
106         * ccache.c: Set uid to target before creating target cache.
107
108         * ksu.h: Add target_uid to copy_ccache and copy_ccache_restricted
109
110 Sat May 18 16:39:15 1996  Sam Hartman  <hartmans@tertius.mit.edu>
111
112         * configure.in: Use libkrb5util to get krb5_seteuid
113
114         * heuristic.c (get_best_princ_for_target): Remove seteuid around stat call and insert call to krb5_seteuid before accessing .k5login or .k5users.
115
116         * main.c (main): Insert appropriate calls to krb5_seteuid so that
117         files are accessed as appropriate.  Also, remove code to copy
118         tickets obtained while running ksu overthe source cache; this is
119         not appropriate because it changes the ownership of the source
120         cache.
121
122 Mon May 13 06:50:12 1996  Richard Basch  <basch@lehman.com>
123
124         * authorization.c: users in the .k5login were not permitted to use
125         the '-e command' flag; the man page does not indicate this should fail.
126         All users in .k5login, and those in .k5users (for the specified cmd)
127         are now allowed to execute commands.
128         Also, a lot of indentation cleanup was done.
129
130         * configure.in heuristic.c:
131         Before getting the best principal from the ccache, reset the euid;
132         we don't want to use someone else's ccache.
133         Also, a lot of indentation cleanup was done.
134
135 Wed Apr 10 20:24:49 1996  Richard Basch  <basch@lehman.com>
136
137         * main.c, krb_auth_su.c: Mostly cosmetic cleanup of output
138         statements.  Also, rather than computing the default host key,
139         let the library routine do it.
140
141 Sun Mar 31 16:48:29 1996  Chris Provenzano  <proven@cygnus.com>
142
143         * main.c (main): Handle suspend/fg properly.
144
145 Fri Mar 29 23:35:53 1996  Chris Provenzano  <proven@cygnus.com>
146
147         * ccache.c main.c: Remove krb5_ccache_refresh(). All this functionality
148         is is done in the krb5_ccache_copy(), and the way refresh() was
149         implemented it was generating a new ccache owner by root (ksu is suid)
150         over the old ccache, thereby making it possible that programs 
151         accessing the ccache during this time would fail.
152
153 Wed Mar 13 17:45:11 1996  Ken Raeburn  <raeburn@cygnus.com>
154
155         * configure.in: Use AC_HEADER_STDARG.
156
157 Wed Nov  8 17:54:11 1995  Theodore Y. Ts'o  <tytso@dcl>
158
159         * ccache.c (krb5_check_exp): Change use of krb5_clockskew to be
160                 context->clockskew.
161
162 Mon Oct  9 23:14:33 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
163
164         * main.c (main): Handle case when ticket cache name does not
165                 include ':'
166
167 Thu Oct  5 11:23:21 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
168
169         * ksu.M: Document authorization changes.
170
171         * ksu.1: Remove as was out of date.
172
173         * Makefile.in (DEFINES): Remove LOCAL_REALM definition.
174
175         * ksu.h: Remove local_realm from krb5_authorization.
176
177         * authorization.c (krb5_authorization): Remove old copied code
178                 that is in krb5 library and is out of date. Use the
179                 configurable aname to localname methods.
180
181         * main.c (main): Add krb5_secure_config_files so that users cannot
182                 override system config files.
183         
184
185 Wed Sep 06 14:20:57 1995   Chris Provenzano (proven@mit.edu)
186
187         * krb_auth_su.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g
188
189 Tue Sep 05 22:10:34 1995   Chris Provenzano (proven@mit.edu)
190
191         * krb_auth_su.c : Remove krb5_enctype references, and replace with
192                 krb5_keytype where appropriate.
193
194 Mon Aug 21 16:53:40 EDT 1995    Paul Park       (pjpark@mit.edu)
195         * ksu.h - Change lifetime types to krb5_deltat.
196         * main.c - Use string_to_deltat() to parse lifetimes.  Fix gcc -Wall.
197         * krb_auth_su.c - Fix gcc -Wall.  Remove krb5_parse_lifetime() and
198                 convtime().  No longer needed.
199         * ccache.c - Remove English-specific months and let timestamp_to_
200                 sfstring() handle it.  Fix gcc -Wall.
201         * configure.in - Add -lkadm.
202
203 Sat Jul 29 04:41:07 1995  Tom Yu  <tlyu@dragons-lair.MIT.EDU>
204
205         * configure.in: Don't link with -lkadm.
206
207 Tue Jul 11 11:10:13 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
208
209         * main.c (main): Remove extraneous argument to call to
210                 krb5_parse_lifetime. Add context argument to call to
211                 plain_dump_principal. 
212
213         * authorization.c, heuristic.c, krb_auth_su.c: Add prototypes
214                 for static functions. Add missing arguments to
215                 _dbm_an_to_ln call. 
216
217         * ccache.c: Remove prototype declaration of function now defined
218                 in ksu.h
219
220         * ksu.h: Add full prototypes for all functions in program.
221
222 Fri Jul 7 15:55:14 EDT 1995     Paul Park       (pjpark@mit.edu)
223         * Makefile.in - Remove explicit library handling and LDFLAGS.
224         * configure.in - Add USE_KADM_LIBRARY and KRB5_LIBRARIES.
225
226 Thu Jul  6 17:30:49 1995  Tom Yu  <tlyu@lothlorien.MIT.EDU>
227
228         * krb_auth_su.c (krb5_get_tkt_via_passwd): Pass context to
229                 os_localaddr.
230
231 Tue Jun 20 14:32:46 1995  Tom Yu  (tlyu@dragons-lair)
232
233         * main.c: HAS_GETUSERSHELL -> HAVE_GETUSERSHELL
234
235         * configure.in: add test for getusershell()
236
237 Thu Jun 15 17:46:22 EDT 1995    Paul Park       (pjpark@mit.edu)
238         * Makefile.in - Change explicit library names to -l<lib> form, and
239                 change target link line to use $(LD) and associated flags.
240         * configure.in - Add shared library usage check.
241
242 Fri Jun  9 18:37:43 1995    <tytso@rsx-11.mit.edu>
243
244         * configure.in: Remove standardized set of autoconf macros, which
245                 are now handled by CONFIG_RULES.
246
247 Tue May  9 15:52:15 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
248
249         * krb_auth_su.c (krb5_auth_check): Add missing context
250                 (wolfgang@wsrcc.com) 
251
252         * ccache.c (krb5_get_nonexp_tkts): Add missing context
253                 (wolfgang@wsrcc.com) 
254
255         * heuristic.c (get_best_princ_for_target): Missing context cuased
256                 coredump. 
257                 (get_best_princ_for_target): Missing contexts in call to
258                                 find_either_ticket. 
259                 (find_either_ticket): Missing context in call of find_ticket
260                 (get_best_princ_for_target): Add missing context
261
262 Thu Mar 16 20:50:32 1995  John Gilmore  (gnu at toad.com)
263
264         * configure.in:  Replace CHECK_STDARG with AC_CHECK_HEADERS.
265         * main.c (print_status):  Use HAVE_STDARG_H to control whether to
266         declare with ", ..."; not STDARG_PROTOTYPES.
267         * ksu.h:  Don't include <stdarg.h> or <varargs.h>, since they
268         are already included by "com_err.h".
269
270 Thu Mar  2 12:32:17 1995  Theodore Y. Ts'o  <tytso@dcl>
271
272         * Makefile.in (ISODELIB): Remove reference to $(ISODELIB).
273
274 Wed Mar  1 16:28:36 1995  Theodore Y. Ts'o  <tytso@dcl>
275
276         * configure.in: Remove ISODE_INCLUDE, replace check for -lsocket
277                 and -lnsl with WITH_NETLIB check.
278
279 Tue Feb 28 02:11:21 1995  John Gilmore  (gnu at toad.com)
280
281         * ksu.h:  Avoid <krb5/...> and <com_err.h> includes.
282
283 Fri Feb 17 18:10:04 1995 Chris Provenzano  (proven@mit.edu)
284
285         * krb_auth_su.c krb5_auth_check()) Call krb5_get_cred_from_kdc()
286                 with new calling convention.
287
288 Mon Feb 06 17:19:04 1995 Chris Provenzano  (proven@mit.edu)
289
290         * krb_auth_su.c Removed krb5_keytype, changed krb5_enctype to
291                 krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype *
292                 for krb5_get_in_tkt_with_password() rotuine.
293
294 Sat Jan 28 14:45:55 1995  Chris Provenzano (proven@mit.edu)
295
296         * krb_auth_su.c (krb5_verify_tkt_def()) use new API for 
297                 krb5_kt_get_entry.
298
299 Wed Jan 18 12:21:30 1995    <tytso@rsx-11.mit.edu>
300
301         * main.c (main): If gethostbyname returns an error, exit after
302                 printing an error message.
303
304 Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)
305
306     * Added krb5_context to all krb5_routines
307
308 Mon Oct  3 19:15:28 1994  Theodore Y. Ts'o  (tytso@dcl)
309
310         * Makefile.in: Use $(srcdir) to find manual page for make install.
311
312 Fri Sep 30 22:14:41 1994  Theodore Y. Ts'o  (tytso@dcl)
313
314         * krb_auth_su.c: Add magic number placeholder to structures.
315
316 Tue Aug  9 20:29:47 1994  Tom Yu  (tlyu@dragons-lair)
317
318         * *.c: "upgrade" to C Classic :-)
319
320 Tue Aug  9 00:11:07 1994  Mark Eichin  (eichin@cygnus.com)
321
322         * main.c: define MAXHOSTNAMELEN if it isn't there already
323         (print_status): use varargs form as well
324         * configure.in: check for stdarg.h
325
326 Thu Aug  4 03:38:03 1994  Tom Yu  (tlyu@dragons-lair)
327
328         * Makefile.in: make install fixes
329
330 Mon Jul 25 01:23:36 1994  Tom Yu  (tlyu@dragons-lair)
331
332         * configure.in: check for ndbm/dbm
333
334 Thu Jul 21 01:01:20 1994  Tom Yu  (tlyu at dragons-lair)
335
336         * Makefile.in:
337         * configure.in: attempt to autoconf
338
339 Sat Jul 16 03:02:17 1994  Tom Yu  (tlyu at dragons-lair)
340
341         * ksu.c: frob error codes
342
343 Fri Jul 15 23:45:34 1994  Theodore Y. Ts'o  (tytso at tsx-11)
344
345         * ksu.c (get_dir_of_file): Change to use POSIX getcwd() function.
346
347