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