summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/os/ChangeLog
blob: 6eae4dd0447a2f9cb7d547b11cc52f797bd6d1ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
Fri May 26 20:20:58 1995  Theodore Y. Ts'o  (tytso@dcl)

	* configure.in, Makefile.in: Add support for building shared libraries.

Thu May 25 15:33:45 1995 Keith Vetter (keithv@fusion.com)

	* os-proto.h: moved prototype for krb5_make_fulladdr to
	   los-proto.h since it's needed by the krb directory.
	* ktdefnam.c: fixed signed/unsigned mismatch.
	* read_pwd.c: pc stub didn't track changes to the real routines
	   parameter list (const was added).

Tue May 23 16:29:24 1995  Theodore Y. Ts'o  (tytso@dcl)

	* t_std_conf.c, timeofday.c, unlck_file.c: Rearrange #include
		files so that krb5.h gets included first, so that the
		debugging information can be more efficiently collapsed
		since the type numbers will be the same.

Tue May 16 10:33:03 EDT 1995	Paul Park	(pjpark@mit.edu)
	* gmt_mktime.c	- Use the actual year instead of the number of years
			  since 1900 when determining if a year has a leapday.
			  Makes dates after February in the year 2000 correct.

Mon May 15 05:08:05 1995    <tytso@rsx-11.mit.edu>

	* ktdefname.c (krb5_kt_default_name): Use the KRB5_KTNAME
		environment variable to override the default location of
		the keytab.

Mon May  8 22:19:23 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* read_pwd.c (krb5_read_password): use volatile on all
		systems. Let configure define volatile to nothing on
		systems without. 

	* configure.in: Add HAS_ANSI_VOLATILE

	* mk_faddr.c (krb5_make_fulladdr): Allocate enough memory for
		raddr contents.

	* read_pwd.c (krb5_read_password): Make arguments prompt and
		prompt2 const char * for convenience to callers.

Mon May  1 17:05:21 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* init_os_ctx.c (krb5_set_config_files): Added required const to
		function declaration to be compatbile with call to
		profile_init. 

Mon May 01 15:56:32 1995  Chris Provenzano (proven@mit.edu)

        * genaddrs.c (krb5_auth_con_genaddrs()),
	* mk_faddr.c (krb5_make_fulladdr()), os-proto.h :
                Changes to auth_context to better support full addresses.

Sun Apr 30 16:03:59 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* osconfig.c: Global variables krb5_config_file and
		krb5_trans_file conditionalized on OLD_CONFIG_FILES.

Sat Apr 29 07:07:22 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>

	* init_os_ctx.c (krb5_set_config_files): New function.  Provides a
		way to set a new set of config files for a particular OS
		context.

	* init_os_ctx.c (krb5_os_init_context): Don't return an error if 
		profile_init() returns an error.

Fri Apr 28 09:58:31 EDT 1995	Paul Park	(pjpark@mit.edu)

	Move adm_conn.c from libkrb5 to libkadm.

Thu Apr 27 17:50:14 1995 Keith Vetter (keithv@fusion.com)

	* adm_conn.c: added constant to pull in needed PC code, and
	   removed two unused variables.
	* genaddrs.c: needed casts on getsockname and getpeername calls.
	* mk_faddr.c: the int->byte code needed explicit casts.
	* os-proto.h: added missing prototype for krb5_make_fulladdr.

Wed Apr 26 16:00:52 EDT 1995	Paul Park	(pjpark@mit.edu)

	* Add adm_conn.c - module to provide a connection to an administrative
	  (kpasswd/kadmin) server.

Wed Apr 27 11:30:00 1995 Keith Vetter (keithv@fusion.com)

	* osconfig.c: krb5_find_config_files only used for OLD_CONFIG_FILES.
	* init_os_.c: Get config file location via windows ini files.

Thu Apr 27 13:04:54 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* Makefile.in (clean): Remove t_std_conf.o 

Tue Apr 25 21:58:23 1995  Chris Procenzano (proven@mit.edu)

	* Makefile.in : Added source files mk_faddr.c and genaddrs.c.
	* mk_faddr.c (krb5_mk_fulladdr()): Makes a full address from
		a struct sockaddr_in.
	* genaddrs.c (krb5_auth_con_genaddrs()) : Generate a full address
		from the active file descriptor and place it in the 
		auth_context for the calls mk_safe(), mk_priv(), mk_safe(), 
		rd_cred(), rd_priv(), and rd_safe().
	* gen_rname.c (krb5_gen_replay_name()) : Fixed to take any type of
		krb5_address and generate a rcache name.
	* os-proto.h (krb5_make_full_ipaddr()) : Removed prototype.

Tue Apr 25 14:09:26 1995  Theodore Y. Ts'o  <tytso@dcl>

	* t_std_conf.c (main): Add declaration of optarg.

Tue Apr 25 04:50:13 1995  Chris Procenzano (proven@mit.edu)

	* locate_kdc.c (krb5_locate_kdc()): Pass a NUL terminated realm
		to profile_get_values(). 

Mon Apr 24 17:20:14 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* locate_kdc.c (krb5_locate_kdc): Don't deref NULL pointer
	returned from profile_get_values if profile is not set.

Sat Apr 22 00:11:12 1995  Theodore Y. Ts'o  (tytso@dcl)

	* Makefile.in, configure.in, t_std_conf.c: Add test program to
		test the standard configuration krb5 routines.

	* osconfig.c: Don't define krb5_kdc_udp_portname and
		krb5_kdc_sec_portname any more.	 There's no real point...

	* hst_realm.c (krb5_get_krbhst): Strip off the trailing dot from
		the hostname if present.

	* locate_kdc.c (krb5_locate_kdc): Use the profile code to get the
		list of Kerberos servers (plus port numbers) for a
		particular realm from [realms]/<realm>/kdc

Fri Apr 21 11:38:45 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>

	* def_realm.c (krb5_get_default_realm): Use the profile code to
		get the default realm from [libdefaults]/default_realm.

	* get_krbhst.c (krb5_get_krbhst): Use the profile code to get the
		list of Kerberos servers for a particular realm from 
		[realms]/<realm>/kdc

	* realm_dom.c (krb5_get_realm_domain):	Use the profile code to
		get the default domain postfix for a realm (used only to
		convert V4 -> V5 principals) from 
		[realms]/<realm>/default_domain

	* hst_realm.c (krb5_get_host_realm): Use the profile code to get
		the default realm given a particular host from
		[domain_realm]/<host|domain>

	* init_os_ctx.c (krb5_os_init_context): When the OS context is
		initialized, also initialize the profile file.	This loads
		in the /etc/krb5.conf file.

Wed Apr 19 13:50:19 1995  Ezra Peisach	(epeisach@kangaroo.mit.edu)

	* def_realm.c: (krb5_get_default_realm) - remove global default realm.
		Moved into the context. (krb5_set_default_realm) added.

Fri Apr 14 22:15:00 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>

	* an_to_ln.c (dbm_an_to_ln): Don't compile dbm_an_to_ln() if
		USE_DBM_LNAME isn't defined.

Fri Apr 14 15:15:48 1995    <tytso@rsx-11.mit.edu>

	* hst_realm.c (krb5_get_host_realm): Eliminate memory leak in the
		unlikely case that gethostname fails.

		If the krb.realms file isn't available, use the default
		realm of the host.

Thu Apr 13 15:49:16 1995 Keith Vetter (keithv@fusion.com)

	* *.[ch]: removed unneeded INTERFACE from non-api functions.
	* read_pwd.c: __STDC__ conditional also checks the _WINDOWS define.

Fri Apr 7 15:32:04 1995 Keith Vetter (keithv@fusion.com)

	* ccdefname.c: 
	   changed windows stored filename syntax--dropped the 'FILE:' part.
	   changed buffer from malloc to static since we don't want it 
	    ever to fail, and nobody checks it for errors.

Wed Apr 5 16:32:07 1995 Keith Vetter (keithv@fusion.com)

	* get_krbh.c: better error handling--old return values were 
	   being overwritten.
	* locate_kdc.c: added new error code KRB5_REALM_CANT_RESOLVE for
	   when we have realm names but can't find their addresses.
	   Also, fixed up indenting of an if clause.
	* sendto_kdc.c: added winsock init/destroy calls because some
	    PC tcp/ip stacks seem to need it.

Fri Mar 31 16:30:03 1995  Theodore Y. Ts'o  (tytso@dcl)

	* realm_dom.c (krb5_get_realm_domain): Don't indent #ifdef's!

	* hst_realm.c (krb5_get_host_realm): Don't indent #ifdef's!

Thu Mar 30 15:54:54 1995 Keith Vetter (keithv@fusion.com)

	* localaddr.c: in Windows/Mac code, fixed bug due to wrong level
	   of indirection on memcpy call.

Tue Mar 28 19:22:28 1995 Keith Vetter (keithv@fusion.com)

	For Windows, added calls to get the default config, realms and
	ccache files out of a windows ini file.
	* ccdefname.c: does this for the credential cache.
	* osconfig.c: does this for the config and realms files.
	* get_krbh.c, realm_do.c, hst_real.c, def_real.c: added calls to
	   set the default values.

Tue Mar 28 18:35:20 1995  John Gilmore	(gnu at toad.com)

	* DNR.c:  Add Apple MacTCP source file for domain name resolution.
	* macsock.c:  Add fake socket support routines for MacTCP.
	* Makefile.in (OBJS, SRCS):  Add DNR and macsock.
	* ccdefname.c:	On Mac, default cred cache is "STDIO:krb5cc" for now.
	FIXME, this needs to find the Preferences folder and use that.
	FIXME, shouldn't be conditioned on HAVE_MACSOCK_H.
	* gmt_mktime.c:	 Use HAVE_SYS_TYPES_H.
	* krbfileio.c:	Remove <sys/types.h>.
	* localaddr.c, sendto_kdc.c:  Convert to more generic socket
	support.  Use closesocket instead of close, SOCKET_ERRNO rather
	than errno, SOCKET rather than int, etc.
	* localaddr.c:	Use getmyipaddr() from macsock.c, if on Mac.
	Add FIXME for multiple local addresses.
	* lock_file.c:	Provide a dummy version for MacOS.
	* read_pwd.c (ECHO_PASSWORD):  Add #ifdef's to avoid all the ioctls
	and other stuff that turn off echoing.	This is useful for debugging
	on MacOS.  FIXME:  ECHO_PASSWORD needs to be added to configure.in.
	* ustime.c:  Bring in Mac-specific time-and-timezone code.  It
	probably isn't hooked up correctly, yet.

Mon Mar 27 14:16:39 1995  John Gilmore	(gnu at toad.com)

	* full_ipadr.c, gen_rname.c, port2ip.c, read_msg.c, write_msg.c:
	Remove explicit includes of socket files.
	* locate_kdc.c:	 Remove <sys/types.h> and "os-proto.h".

	* macsock.c (connect, send, recv):  Add for K5 compatability.
	(getmyipaddr):	Add for use in K5.

	* macsock.c:  Add Mac socket support file, verbatim from K4 release.

Fri Mar 24 17:58:15 1995  Theodore Y. Ts'o  (tytso@rt-11)

	* locate_kdc.c: Don't include sys/socket.h, netdb.h, netinet/in.h,
		since these files are already included by k5-config.h
	
	* sendto_kdc.c: Don't include sys/socket.h, since it is already
		included by k5-config.h

	* sn2princ.c: Don't include netdb.h, since it is already included
		by k5-config.h

Thu Mar 23 23:11:36 1995  Theodore Y. Ts'o  <tytso@dcl>

	* realm_dom.c (krb5_get_realm_domain): Don't indent preprocessor
		directives.  (Not portable).

	* hst_realm.c (krb5_get_host_realm): Don't indent preprocessor
		directives.  Removed excess close paren introduced by
		Keith.

Wed Mar 22 18:59:47 1995 Keith Vetter (keithv@fusion.com)

	* hst_realm.c, realm_dom.c: windows DLL can't use fscanf so had
	   to write a couple of routines to read what we need from the file.

Wed Mar 22 13:30:35 1995 Keith Vetter (keithv@fusion.com)

	* an_to_ln.c, kuserok.c: last two os routines ported to the PC.

Fri Mar 17 19:56:39 1995  John Gilmore	(gnu at toad.com)

	* Makefile.in (LDFLAGS):  Eliminate, duplicates config/pre.in.
	* localaddr.c:	Remove socket include files now handled in k5-int.h.

Wed Mar 15 12:19:47 1995 Keith Vetter (keithv@fusion.com)

	* sendto_kdc.c: made to work on the PC.

Tue Mar	 7 22:15:00 1995 Keith Vetter <keithv@fusion.com>

	* sendto_kdc.c: stubbed on the PC for now.

Tue Mar	 7 19:54:17 1995  Mark Eichin  <eichin@cygnus.com>

	* configure.in: take out ISODE_DEFS, ISODE_INCLUDE.

Tue Mar 7 13:35:21 1995 Keith Vetter (keithv@fusion.com)

	* *.c: ported all the c files except an_to_ln, kuserok, and
	  sendto_kdc which have windows stubs.
	* Makefile.in: reflects above changes.

Wed Mar 1 17:30:00 1995 Keith Vetter (keithv@fusion.com)

	* Makefile.in: made to work on the PC
	* ustime.c: added section for time on the PC
	* localaddr.c: added section for the PC--returns local IP address
	N.B. not sure how we're going to handle different machine dependent
	code changes. For now it's just added to the end of the file. Later,
	we have to decide on a solution for all.

Tue Feb 28 01:07:37 1995  John Gilmore	(gnu at toad.com)

	* *.c:	Avoid <krb5/...> includes.

Fri Feb	 3 08:24:18 1995  Theodore Y. Ts'o  (tytso@dcl)

	* gmt_mktime.c (gmt_mktime): Don't double count the leap day in a
		leap year.

Sun Jan 22 18:23:37 1995  John Gilmore	(gnu@cygnus.com)

	* get_krbhst.c (krb5_get_krbhst):  Declare realm argument const,
	to match prototype.

Wed Jan 18 11:08:59 1995    <tytso@rsx-11.mit.edu>

	* sendto_kdc.c (krb5_sendto_kdc): Fix use of connected sockets;
		previously krb5_sendto_kdc only used one socket per
		address family.	 This doesn't work; it now uses one
		socket per address. (krb5-bugs #938)

Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)

	* Actually move the file init_ctx.c to init_os_ctx.c in the CVS
		repository and also rename the routine	krb5_free_os_context()
		to krb5_os_free_context().

Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)

    * Added krb5_context to all krb5_routines

	* Moved init_ctx.c to init_os_ctx.c because a library cannot
		have more than on file with the same name. See krb/init_ctx.c

Mon Dec 19 15:20:35 1994  Theodore Y. Ts'o  (tytso@dcl)

	* init_ctx.c: New file.	 Initializes and frees the krb5_os_context
	  structure. 

	* realm_dom.c (krb5_get_realm_domain): Fixed minor bug where the
		length of the returned domain was calculated incorrectly.

Mon Oct 31 17:04:08 1994  Theodore Y. Ts'o  (tytso@dcl)

	* lock_file.c: Back out POSIX_FILE_LOCKS change.  (Should be
		depending on autoconf.h to supply this #define if
		necessary.) 

Thu Oct 13 17:24:31 1994  Theodore Y. Ts'o  (tytso@maytag)

	* configure.in: Add ISODE_DEFS

Fri Oct	 7 13:23:18 1994  Theodore Y. Ts'o  (tytso@dcl)

	* configure.in: Add test for unistd.h

	* lock_file.c: Use POSIX_FILE_LOCKS if _POSIX_VERSION is defined
		in unistd.h

Thu Sep 22 20:46:08 1994  Theodore Y. Ts'o  (tytso@dcl)

	* configure.in: Put in correct dependency order of configure.in
		lines.

Wed Jul	 6 13:26:59 1994  Mark Eichin  (eichin@cygnus.com)

	* gmt_mktime.c (gmt_mktime): New file, new function. Similar to
	POSIX mktime, but always works in GMT.
	configure.in, Makefile.in: build gmt_mktime.

Wed Jun 22 15:49:30 1994  Theodore Y. Ts'o  (tytso at tsx-11)

	* locate_kdc.c (krb5_locate_kdc): Fixed default port numbers so
	they are loaded in network byte order instead of host byte order.