]> arthur.barton.de Git - netatalk.git/blob - ChangeLog
Noted addition of syncmail to CVSROOT to log commits to mailing list.
[netatalk.git] / ChangeLog
1 2002-09-26  Andrew Morgan <morgan@orst.edu>
2         * Added syncmail script to CVSROOT so commits are logged to the
3         netatalk-cvs@lists.sourceforge.net mailing list.
4
5 2002-09-24  Sebastian Rittau  <srittau@jroger.in-berlin.de>
6
7         * NEWS: Catted CHANGES to the end of this file. Updated from the
8         stable branch.
9         * CHANGES: Removed.
10
11 2002-02-14  andy m <morgan@orst.edu>
12         * etc/papd/queries.c: Added support for "ADOIsBinaryOK?" printer query
13         to papd.  We now respond with "True" instead of "unknown".
14
15 2002-02-09  joe c  <marcus@marcuscom.com>
16         * etc/afpd/afp_options.c: Redo the -server_notif flag.  Now, server
17         notifications are enabled by default, and specifying the -client_polling
18         flag will disable them.
19
20 2002-02-06  joe c  <marcus@marcuscom.com>
21         * etc/afpd/globals.h, etc/afpd/afp_options.c, etc/afpd/status.c
22         etc/afpd/volume.c: Add a new option -server_notif to specify that
23         a server supports server notifications.  If this flag is not specified
24         the client will poll the server every 10 seconds for directory changes.
25
26 2002-02-03  andy m <morgan@orst.edu>
27         * bin/afppasswd/Makefile.am
28         Added an install-exec-hook to make the afppasswd binary suid root
29         after it is installed.  This lets local users change their afppasswd
30         password.
31
32 2001-12-14  joe c   <marcus@marcuscom.com>
33         * etc/afpd/afp_options.c, etc/afpd/afp_dsi.c, etc/afpd/globals.h:
34         Add a new option to afpd called -timeout to specify the number of
35         server tickles to send before killing a AFPoTCP session.
36
37 2001-12-10  joe c   <marcus@marcuscom.com>
38         * bin/cnid/cnid_didname_verify,c: Add a utility to verify the consistency
39         of didname.db.  Using the stock db_verify utility will fail as the sort
40         routine is unknown.
41
42 2001-12-07  joe c   <marcus@marcuscom.com>
43         * libatalk/cnid/cnid_open.c: Re-enable synchronous transaction support
44         to try improve performance.
45
46 2001-12-04  joe c   <marcus@marcuscom.com>
47         * etc/afpd/unix.c: Fix afpd sharing NFSv3 mounts (thanks to 
48         Pierre Beyssac <beyssac@enst.fr>)
49
50 2001-12-03  joe c   <marcus@marcuscom.com>
51         * etc/afpd/*.[ch]: Big commit to clean up code with astyle (readable code 
52         is hackable code).  Also committed a fix to give CNID DB a shot in
53         production use.
54
55 2001-11-27  joe c   <marcus@marcuscom.com>
56         * configure.in: Removed the --with-cnid-db option, and added
57           --with-did=cnid for consistency
58
59 2001-11-19  pooba53 <bobo@bocklabs.wisc.edu>
60     * Modified distrib/initscripts/Makefile.am so
61       that SuSE init script ends up in the correct directory.
62
63 2001-11-19  pooba53 <bobo@bocklabs.wisc.edu>
64         * modified config/AppleVolumes.default to not 
65           have the "/Home Directory" text in it as this is not the
66           proper way of allowing default Home directory access.
67
68 2001-11-16  jnewman <jnewman@mudpup.com>
69         * macros/db3-check.m4: Prefer specific directories before general ones
70         
71 2001-11-15  pooba53 <bobo@bocklabs.wisc.edu>
72         * Modified SuSE initscript, distrib/initscripts/rc.atalk.suse.tmpl
73
74 2001-11-08  jeff b  <jeff@univrel.pr.uconn.edu>
75
76         * etc/afpd/uam.c, etc/uams/uams_pam.c, etc/uams/uams_dhx_pam.c,
77         include/atalk/uam.h: implemented patch #477640 for netatalk not
78         passing client name properly (thanks to Patrick Bihan-Faou
79         <pbf@users.sourceforge.net>)
80
81 2001-11-04  joe c <marcus@marcuscom.com>
82
83         * libatalk/cnid/cnid_open.c: Re-added code to enable on-the-fly database
84         recovery
85
86 2001-10-31  Dan <bobo@bocklabs.wisc.edu>
87         * Fixed bug in bin/afppasswd/Makefile.am causing compile problems
88           with SuSE distro.
89
90 2001-10-24  joe  c  <marcus@marcuscom.com>
91
92         * etc/afpd/fork.c: Patch to add read-only locking support
93           (thanks to Miro Jurisic <meeroh@MIT.EDU>)
94
95 2001-10-23  jeff b  <jeff@univrel.pr.uconn.edu>
96
97         * etc/afpd/{{afpd_options,filedir,main,unix}.c,
98         {filedir,globals,unix}.h}: patch from Edmund Lam to allow
99         perms masks
100
101 2001-10-21  joe c <marcus@marcuscom.com>
102
103         * libatalk/cnid*.c: Big patch to improve transaction throughput
104           and database resiliency
105
106 2001-10-19  Lance Levsen  <l.levsen@printwest.com>
107
108         * doc/FAQ: Thanks for the Patch Karen.
109
110         * doc/INSTALL: Thanks for the Patch Karen.
111
112         * CONTRIBUTORS (Developers): Thanks for the patch Brandon.
113
114         * configure.in: Fix db3 detection for db3 3.3.x users.  Thanks to
115           Jonathan Newman <jnewman@mudpup.com>
116
117 2001-10-18  joe c <marcus@marcuscom.com>
118
119         * libatalk/cnid/cnid_add.c: Fix dancing icon problem
120         * bin/afile/achfile.c: Fix resource fork problem on littleendian
121           platforms.  Thanks to Brandon Warren <bwarren@u.washington.edu>.
122
123 2001-10-17  joe c <marcus@marcuscom.com>
124
125         * libatalk/cnid/cnid_add.c: Fix deadlock problem when copying files to
126           netatalk server from multiple clients
127
128 2001-10-16  Lance Levsen  <l.levsen@printwest.com>
129
130         * man/man1/apple_mv.1.tmpl: Added apple_mv man page.
131
132         * man/man1/apple_rm.1.tmpl: Added apple_rm man page.
133
134         * contrib/shell_utils/apple_mv: Updated perl. Added error check.
135
136         * config/Makefile.am: Change autoconf variable $(f) to shell
137         variable $$f.
138
139         * man/man1/Makefile.am: Modified to allow variable subs in man pages.
140
141         * contrib/shell_utils/apple_cp: Updated. Fixed file to file
142         copy.
143
144 2001-10-15  Lance Levsen  <l.levsen@printwest.com>
145
146         * CONTRIBUTORS: Now up to date.
147
148         * doc/FAQ: Added Karen A Swanberg's FAQ additions.
149
150 2001-10-14  Lance Levsen  <l.levsen@printwest.com>
151
152         * doc/INSTALL: Added some basic instructions. Filled in more of
153         the ./configure options.
154
155         * doc/DEVELOPER: Added BDB3 information 
156
157 2001-10-11  joe  c  <marcus@marcuscom.com>
158
159         * configure.in: More PAM fixes
160
161 2001-10-10  joe  c  <marcus@marcuscom.com>
162
163         * configure.in: More PAM fixes
164         * etc/uams/Makefile.am: Properly add -lpam (thanks, Sebastian)
165
166 2001-10-09  joe  c  <marcus@marcuscom.com>
167
168         * configure.in: Fix problem with forced PAM
169         * etc/afpd/unix.c: Fix a problem setting directory perms on FreeBSD (thanks
170         to Glenn Trewitt <glenn@trewitt.org>)
171         * libatalk/cnid/cnid_close.c: Fix problem with .AppleDB contents showing
172         up in share window
173         * libatalk/cnid/cnid_update.c: memset more for cleanliness sake
174
175 2001-10-04  jeff b  <jeff@univrel.pr.uconn.edu>
176
177         Released 1.5pre8
178
179 2001-10-03  joe c   <marcus@marcuscom.com>
180         
181         * configure.in: Fix bug with PAM configuration
182         * etc/afpd/directory.c: Fix bug with unaccessible directories causing
183         afpd to erroneously return AFPERR_NOOBJ
184         * acinclude.m4: Fixed make problem on systems running libtool 1.3.x
185
186 2001-09-28  joe c   <marcus@marcuscom.com>
187
188         * libatalk/cnid/cnid_close.c: Add more db3 3.3.x compatibility to CNID DB
189
190 2001-09-27  joe c   <marcus@marcuscom.com>
191
192         * libatalk/cnid/cnid_open.c: Set internal deadlock detection
193
194 2001-09-23  joe c   <marcus@marcuscom.com>
195
196         * libatalk/cnid/cnid_close.c, libatalk/cnid/cnid_resolve.c,
197         libatalk/cnid/cnid_open.c: More s/errno/rc fixes and some code
198         cleanup
199
200 2001-09-22  joe c   <marcus@marcuscom.com>
201
202         * configure.in: Fix db3 compilation on Linux
203
204         * libatalk/cnid/cnid_get.c: Fix another potential deadlock problem by
205         replacing EAGAIN with DB_LOCK_DEADLOCK
206
207 2001-09-21  joe c   <marcus@marcuscom.com>
208
209         * etc/afpd/desktop.c: Re-enable codepage translations (thanks to
210         Egon Niederacher <niederacher@fh-vorarlberg.ac.at>)
211
212         * libatalk/cnid/cnid_add.c, libatalk/cnid/cnid_get.c,
213         libatalk/cnid/cnid_lookup.c, libatalk/cnid/cnid_close.c,
214         libatalk/cnid/cnid_open.c, libatalk/cnid/cnid_update.c: Fixed bugs
215         with database contention and database corruption.
216
217 2001-09-19  joe c   <marcus@marcuscom.com>
218
219         * etc/afpd/afp_config.c: Fixed a bug where SRVLOC services wouldn't
220         show up in OS 9.x
221
222         * libatalk/cnid/cnid_add.c: Fix a bug where some DBT data structures
223         were not being memset to NULL correctly.
224
225 2001-09-18  joe c   <marcus@marcuscom.com>
226
227         * etc/afpd/afp_options.c: Fix a bug in the custom icon code (thanks to
228         Edmund Lam <epl@unimelb.edu.au> for finding this)
229
230         * libatalk/cnid/cnid_open.c: Added db3 version checking code
231
232         * config/afpd.conf.tmpl: Removed uams_guest.so from the default UAMs
233         list
234
235 2001-09-17  jeff b  <jeff@univrel.pr.uconn.edu>
236
237         * acconfig.h, configure.in, etc/afpd/afp_config.c: SLP
238         support added (Joe Clarke)
239
240 2001-09-14  jeff b  <jeff@univrel.pr.uconn.edu>
241
242         * sys/netatalk/endian.h: fix from Robert Cohen
243         <robert.cohen@anu.edu.au> for missing endif
244
245 2001-09-13  joe c   <marcus@marcuscom.com>
246
247         * libatalk/util/getiface.c:
248         fix some malloc problems when no atalkd.conf file exists
249
250 2001-09-10  joe c   <marcus@marcuscom.com>
251
252         * libatalk/util/getiface.c: up the new interface by one
253         each time instead of IFACE_NUM
254
255 2001-09-10  jeff b  <jeff@univrel.pr.uconn.edu>
256
257         * etc/afpd/afp_options.c, etc/atalkd/main.c, etc/papd/main.c:
258         added version reporting with -v switch
259
260 2001-09-06  jeff b  <jeff@univrel.pr.uconn.edu>
261
262         * etc/atalkd/main.c, etc/papd/main.c, etc/psf/psf.c,
263         libatalk/asp/asp_getsess.c, libatalk/dsi/dsi_getsess.c,
264         libatalk/pap/pap_slinit.c, libatalk/util/server_child.c:
265         autoconf POSIX.1 sys/wait.h check
266
267         * lots of files: AC_HEADER_STDC autoconf changes
268
269         * sys/netatalk/endian.h: used autoconf endian test instead
270         of manually checking every architecture
271
272 2001-09-05  joe c <marcus@marcuscom.com>
273
274         * libatalk/cnid/cnid_open.c: comment out DB_JOINENV as this is not
275         supported in db3 3.1.17
276
277         * libatalk/cnid/cnid_add.c: fix my comments to properly explain the use
278         of rc over errno
279
280 2001-09-04  jeff b  <jeff@univrel.pr.uconn.edu>
281
282         * etc/afpd/filedir.h: define veto_file() prototype (Edmund Lam)
283
284         * etc/uams/uams_dhx_pam.c: added quick Sun hack to seed openssl,
285         but it *really* needs something more elegant (#458433)
286
287 2001-09-04  jeff b  <jeff@univrel.pr.uconn.edu>
288
289         * libatalk/cnid/cnid_add.c, libatalk/cnid/cnid_open.c: fixed
290         duplicate DID's being generated and FreeBSD db3 fix (Joe Clarke)
291
292         * doc/README.veto, etc/afpd/directory.c, etc/afpd/enumerate.c,
293         etc/afpd/file.c, etc/afpd/filedir.c, etc/afpd/volume.c,
294         etc/afpd/volume.h: adds Samba-style "veto file" support
295         (Edmund Lam)
296
297         * configure.in: properly checks for db3 headers (Joe Clarke)
298
299 2001-08-31  jeff b  <jeff@univrel.pr.uconn.edu>
300
301         * libatalk/cnid/cnid_*.c: compilation fixes for those who don't
302         want to compile with CNID support (Edmund Lam)
303
304 2001-08-28  Lance Levsen  <l.levsen@printwest.com>
305
306         * config/Makefile.am: Added a variable substitution from
307         configure.in to stop overwriting the config files.
308
309         * configure.in: Added --enable-overwrite flag that enables the
310         overwriting of configure files. Default is no overwrite, but does
311         check for missing files.
312         
313 2001-08-27  jeff b  <jeff@univrel.pr.uconn.edu>
314
315         Released 1.5pre7
316
317 2001-08-21  jeff b  <jeff@univrel.pr.uconn.edu>
318
319         * configure.in: now does rudimentary check for DB3 library
320         if CNID DB option (--enable-cnid-db) is given, with
321         option to specify path to DB3 (Jeff)
322
323 2001-08-16  Uwe Hees <uwe.hees@rz-online.de>
324
325         * libatalk/cnid: replaced EAGAIN in db result checking with
326         DB_LOCK_DEADLOCK as appropriate for db-3.
327         * fixed a potential transaction problem in cnidd_add.
328
329 2001-08-14  Sam Noble <ns@shadow.org>
330
331         * etc/afpd/directory.c: in afp_mapname and afp_mapid
332         convert uid/gid to/from network byte order before actually
333         using.  This should hopefully fix a long-standing bug in
334         the admin functionality.
335
336 2001-08-14  jeff b  <jeff@univrel.pr.uconn.edu>
337
338         * acconfig.h, configure.in, etc/afpd/directory.c,
339         etc/afpd/enumerate.c, etc/afpd/file.c, etc/afpd/file.h,
340         etc/afpd/filedir.c, etc/afpd/fork.c, etc/afpd/volume.c,
341         etc/afpd/volume.h, libatalk/Makefile.am,
342         libatalk/cnid/cnid_add.c, libatalk/cnid/cnid_close.c,
343         libatalk/cnid/cnid_delete.c, libatalk/cnid/cnid_lookup.c,
344         libatalk/cnid/cnid_nextid.c, libatalk/cnid/cnid_open.c,
345         libatalk/cnid/cnid_private.h, libatalk/cnid/cnid_update.c:
346         DID database and reincluding libatalk/cnid back into
347         compiled tree (Uwe Hees)
348
349         * libatalk/cnid/.cvsignore: updated .cvsignore list for
350         CNID patch (Jeff)
351
352 2001-08-09  Sam Noble <ns@shadow.org>
353
354         * configure.in, acconfig.h: Merged a patch from meeroh@mit.edu
355         to fix the kerberos uam build process.
356
357 2001-08-08  jeff b  <jeff@univrel.pr.uconn.edu>
358
359         * etc/papd/session.c: prevents papd client from aborting
360         during the submission of a print job, therefore preventing
361         the job from hanging on the Mac (Michael Boers)
362
363 2001-07-10  Lance Levsen  <lance@iworks.pwgroup.ca>
364
365         * man/man8/papd.8.tmpl: Fixed ftp URI for Adobe's PPD files.
366         
367 2001-06-30  andy m  <morgan@orst.edu>
368
369         * etc/papd/ppd.c: "unquote" ppd values by removing leading
370         and trailing quote character. This should fix bug #426141.
371
372 2001-06-27  jeff b  <jeff@univrel.pr.uconn.edu>
373
374         * many, many, files: more malformed ifdef correction, nicer
375         comments, etc, etc, etc (Jeff)
376
377         * etc/afpd/directory.c, etc/afpd/uid.c, etc/afpd/uid.h: fixes
378         for force-uidgid to compile properly. haven't tested it, but
379         no more compile errors. (Jeff)
380
381 2001-06-27  uwe hees <hees@viva.de>
382
383         * etc/uams/uams_guest.c: fixed a typo.
384
385 2001-06-26  andy m  <morgan@orst.edu>
386
387         * etc/papd/file.c: modified markline() to return 1 instead
388         of *linelength for successful completion. This should fix
389         the remaining binary printing problems in papd.  Thanks go
390         out to Dave Arnold <darn0ld@home.com> for getting me thinking
391         about the markline function.
392
393 2001-06-25  jeff b  <jeff@univrel.pr.uconn.edu>
394
395         * etc/afpd/auth.c, etc/afpd/main.c, etc/afpd/uam.c,
396         etc/uams/uams_dhx_passwd.c, etc/uams/uams_passwd.c,
397         include/atalk/uam.h: TRU64 authentication patch to allow
398         any security scheme to be used on the TRU64 side (Burkhard
399         Schmidt)
400
401         * etc/afpd/uam.c, etc/papd/uam.c: fixed DISABLE_SHELLCHECK
402         support in both afpd and papd (Jason Keltz <jas@cs.yorku.ca>)
403
404         * etc/*/*.{c,h}: corrected malformed defines, nicer comments,
405         CVS Id tags (Jeff)
406
407 2001-06-20  jeff b  <jeff@univrel.pr.uconn.edu>
408
409         * configure.in: check for linux/quota.h before enabling
410         QUOTACTL_WRAPPER (Joe Clarke) 
411
412         * acconfig.h, configure.in, include/atalk/util.h,
413         libatalk/util/module.c: removed NO_DLFCN_H in favor of
414         ifndef HAVE_DLFCN_H (Jeff)
415
416         * configure.in, etc/afpd/*.{c,h}, include/atalk/util.h:
417         major autoconf fixes for afpd, nicer commenting, etc (Jeff)
418
419 2001-06-19  jeff b  <jeff@univrel.pr.uconn.edu>
420
421         * etc/afpd/file.c, etc/afpd/parse_mtab.c, etc/afpd/parse_mtab.h,
422         etc/atalkd/route.h, etc/atalkd/rtmp.c, etc/papd/headers.c,
423         etc/papd/magics.c, libatalk/asp/asp_tickle.c: patch for
424         fixed DID calculation in etc/afpd/file.c, FreeBSD errors and
425         other miscellany (Joe Clarke) 
426
427         * minor patches and fixes to the aforementioned files, warning
428         fixes with GCC, etc (Jeff)
429
430 2001-06-18  jeff b  <jeff@univrel.pr.uconn.edu>
431
432         * configure.in, etc/uams/Makefile.am,
433         etc/uams/uams_krb4/Makefile.am: patch #433952 from Sebastian
434         Rittau to move UAM authentication to use libtool
435
436         * configure.in, bin/afppasswd/Makefile.am, config/Makefile.am,
437         contrib/shell_utils/Makefile.am, distrib/initscripts/Makefile.am,
438         etc/afpd/Makefile.am, etc/afpd/nls/Makefile.am,
439         etc/atalkd/Makefile.am, etc/papd/Makefile.am,
440         man/man5/Makefile.am, man/man8/Makefile.am: patch #433906
441         to move to pkgconfdir for package config files (Sebastian Rittau)
442
443         * configure.in: fixed error that caused --with-did not to function
444         properly
445
446 2001-06-13  Sam Noble <ns@shadow.org>
447
448         * etc/papd/{printcap,ppd,lp,file,comment}.h:
449         added #include <sys/cdefs.h> to these headers so that __P gets
450         properly defined on platforms like TRU64
451
452 2001-06-11  jeff b  <jeff@univrel.pr.uconn.edu>
453
454         * configure.in, include/atalk/adouble.h, libatalk/compat/flock.c:
455         patch #431859 to avoid ucbinclude on Solaris, with flock support,
456         thanks to Russ Allbery (rra@users.sourceforge.net)
457
458         * acconfig.h, configure.in, libatalk/util/server_child.c,
459         libatalk/util/server_lock.c, sys/netatalk/endian.h: patch #432052
460         for portability to IRIX, HP-UX, and AIX (Russ Allbery)
461
462         * etc/afpd/nls/makecode.c: patch #432137 to add codepage mapping
463         support for (C), (TM) and other characters to avoid losing them,
464         submitted by Andre Schild (aschild@users.sourceforge.net)
465
466         * configure.in: set sysconfdir as /etc/netatalk by default, and
467         uams path now pulls from sysconfdir instead of config_dir
468         (Sam Noble)
469
470 2001-06-07  jeff b  <jeff@univrel.pr.uconn.edu>
471
472         * configure.in, bin/afppasswd/Makefile.am,
473         contrib/shell_utils/Makefile.am, distrib/initscripts/Makefile.am,
474         etc/afpd/Makefile.am, etc/afpd/nls/Makefile.am,
475         etc/atalkd/Makefile.am, etc/papd/Makefile.am,
476         man/man5/Makefile, man/man8/Makefile.am: patch #422872 from
477         Sebastian Rittau to move from CONFIG_DIR to sysconfdir
478
479         * etc/psf/Makefile.am, sys/solaris/Makefile: additional removal
480         of CONFIG_DIR in favor of sysconfdir, plus patch #422860 from
481         Sebastian Rittau to correct other problems
482
483         * config/Makefile.am, config/netatalk.pamd: patch #422856 from
484         Sebastian Rittau, moving to pam_unix.so and being more proper
485
486         * etc/afpd/Makefile.am, etc/afpd/main.c: added support for
487         ${sysconfdir}/afpd.mtab to be read into memory, so that mtab
488         DID support actually works...
489
490 2001-06-06  jeff b  <jeff@univrel.pr.uconn.edu>
491
492         * etc/afpd/filedir.c, etc/afpd/unix.c: fixed dropkludge code
493         so that it properly compiles again, along with minor warning
494         fixen
495
496 2001-06-05 Dan L. (pooba53)
497
498         * Modified configure.in so references made to $ac_prefix_default
499         listed at the beginning are correct. The previous references were
500         being made to $ac_default_prefix.
501
502 2001-06-04  jeff b  <jeff@univrel.pr.uconn.edu>
503
504         * doc/README.TRU64: details about tru64 installations, from
505         Edmund Lam <epl@unimelb.edu.au> 
506
507         * etc/afpd/fork.c: implemented Sebastian Rittau's change to
508         avoid overwriting AppleDouble headers (finally)
509
510         * configure.in, etc/afpd/enumerate.c, etc/afpd/parse_mtab.c:
511         added initial support for mtab DID format. removed "lastdid"
512         configure option in favor of --with-did={last,mtab}
513
514 2001-06-01  jeff b  <jeff@univrel.pr.uconn.edu>
515         * etc/afpd/quota.c: fix for Linux compile by Sam Noble
516         <ns@shadow.org>
517
518 2001-05-25  jeff b  <jeff@univrel.pr.uconn.edu>
519         * etc/uams/uams_passwd.c: another Tru64 fix from Burkhard
520         Schmidt <bs@cpfs.mpg.de>
521
522         * configure.in, contrib/shell_utils/Makefile.am,
523         contrib/shell_utils/afpd-mtab.pl, doc/Makefile.am,
524         doc/COPYRIGHT.mtab, doc/README.mtab, doc/README.mtab.distribution,
525         etc/afpd/.cvsignore, etc/afpd/Makefile.am, etc/afpd/parse_mtab.c,
526         etc/afpd/parse_mtab.h, test_parse_mtab.c: experimental mtab
527         code from Bob Rogers to generate more persistant DIDs
528
529 2001-05-22  jeff b  <jeff@univrel.pr.uconn.edu>
530         * configure.in, etc/afpd/unix.h: more portability fixes, and
531         integration of Tru64 build fix from Edmund Lam <epl@unimelb.edu.au>
532
533         * configure.in, bin/megatron/Makefile.am,
534         distrib/initscripts/Makefile.am, etc/afpd/main.c,
535         etc/afpd/quota.c, etc/afpd/unix.h,
536         etc/uams/uams_dhx_passwd.c, etc/uams/uams_passwd.c: Another
537         round of Tru64 patches from Burkhard Schmidt <bs@cpfs.mpg.de>
538
539 2001-05-09  jeff b  <jeff@univrel.pr.uconn.edu>
540         * autogen.sh: added automake --include-deps to autogen.sh to
541         promote more portable Makefiles (thanks to Christian
542         Weisgerber <naddy@mips.inka.de> from OpenBSD)
543
544 2001-05-08  jeff b  <jeff@univrel.pr.uconn.edu>
545
546         * bin/megatron/Makefile.am, etc/uams/Makefile.am: small Makefile fixes
547         from Olaf Hering <olh@suse.de>
548
549         * etc/uams/uams_dhx_passwd.c: Tru64 fixes from Burkhard Schmidt
550         <bs@cpfs.mpg.de>
551
552 2001-05-07  jeff b  <jeff@univrel.pr.uconn.edu>
553
554         * contrib/shell_utils/netatalkshorternamelinks.pl: added script to
555         shorten names
556
557         * etc/afpd/quota.c, etc/uams/uams_passwd.c: patches from Burkhard
558         Schmidt <bs@cpfs.mpg.de> to fix typos
559
560 2001-05-03  jeff b  <jeff@univrel.pr.uconn.edu>
561
562         * etc/afpd/quota.c, etc/afpd/unix.h, etc/afpd/main.c,
563         etc/uams/uams_passwd.c: Tru64 patch from Burkhard Schmidt <bs@cpfs.mpg.de>
564
565         * configure.in, etc/afpd/quota.c, etc/afpd/unix.h: fixes for USE_*_H
566         moving to autodetected HAVE_*_H from autoconf script
567
568 2001-05-01  jeff b  <jeff@univrel.pr.uconn.edu>
569
570         * bin/aecho/aecho.c, bin/getzones/getzones.c, bin/megatron/asingle.c,
571         bin/megatron/hqx.c, bin/megatron/macbin.c, bin/megatron/megatron.c,
572         bin/megatron/nad.c, bin/megatron/updcrc.c, libatalk/atp/atp_bprint.c,
573         libatalk/util/getiface.c: warnings patch from Sebastian Rittau
574         <srittau@users.sourceforge.net> (#420300)
575
576         * bin/afile/*: replacement for old restrictive afile from Sebastian
577         Rittau <srittau@users.sourceforge.net> (#420302)
578
579         * distrib/initscripts/rc.atalk.redhat.tmpl: daemon-specific start and
580         stop messages to the redhat initscript. nbpregister and unregister
581         messages are also displayed. This patch also permits spaces in zone
582         and machine names to be used in the variables. From Ryan Cleary
583         <tryanc@users.sourceforge.net> (#418094)
584
585         * bin/megatron/Makefile.am: patch to properly create links for
586         megatron, from Sebastian Rittau <srittau@users.sourceforge.net>
587         (#420446)
588
589 2001-04-25  morgan a <morgan@orst.edu>
590
591         * etc/afpd/unix.c: in setdirowner(), changed some of the syslog
592         statements from LOG_ERR to LOG_DEBUG.  Some common "soft errors"
593         were being logged and scaring users.  :)
594
595 2001-04-24  jeff b  <jeff@univrel.pr.uconn.edu>  
596
597         * configure.in: fixed problem with tcp_wrappers support; it needed to
598         check for tcpd_warn
599
600 2001-04-20  jeff b  <jeff@univrel.pr.uconn.edu>  
601
602         * configure.in, etc/afpd/Makefile.am, etc/papd/Makefile.am: added
603         AFPD_LIBS and PAPD_LIBS to cope with libraries that don't need to
604         be used for everything
605
606 2001-04-16  jeff b  <jeff@univrel.pr.uconn.edu>  
607
608         * etc/afpd/directory.c, etc/afpd/messages.c, etc/uams/uams_dhx_pam.c:
609         merged patch from Heath Kehoe <hkehoe@users.sourceforge.net> #416371,
610         fixing an OSX issue, byteorder problems with uid/gid in directory.c,
611         and fixing the syslog()'s in uams_dhx_pam.c to not produce useless
612         errors
613
614 2001-04-12  jeff b  <jeff@univrel.pr.uconn.edu>  
615
616         Released 1.5pre6
617
618 2001-04-10  jeff b  <jeff@univrel.pr.uconn.edu>  
619
620         * configure.in, acconfig.h, etc/afpd/uam.c: patch submitted by Jason
621         Kelitz (jkeltz) to allow disabling of shell checking
622
623         * configure.in, contrib/Makefile.am: made timelord compilation
624         optional, disabled by default
625
626 2001-04-03  jeff b  <jeff@univrel.pr.uconn.edu>  
627
628         * etc/afpd/file.c: merged patch from Soren Spies <sspies@apple.com>
629         at Apple, fixing server disconnect problem upon afp_createid() call
630
631 2001-04-02  jeff b  <jeff@univrel.pr.uconn.edu>  
632
633         * contrib/shell_utils/Makefile.am, contrib/shell_utils/cleanappledouble.pl:
634         added cleanappledouble.pl script from Heath Kehoe <hakehoe@avalon.net>
635
636 2001-03-26  jeff b  <jeff@univrel.pr.uconn.edu>  
637
638         * etc/afpd/quota.c: fix compile dbtob problem on Linux from Sam
639         Noble <ns@shadow.org>
640
641         * configure.in, etc/uams/Makefile.am, etc/uams/uams_krb4/Makefile.am:
642         moved -shared into LDSHAREDFLAGS to fix Solaris build problems
643         from Bob Rogers <rogers-netatalk-devel@rgrjr.dyndns.org> and
644         Akop Pogosian <akopps@csua.berkeley.edu>
645
646 2001-03-22  Lance Levsen  <lance.l@dontspam.home.com>
647
648         * etc/uams/Makefile.am: Added $LDFLAGS to fix broken compile due
649         to inability to find libcrypto. libcrypto is defined in LDFLAGS as
650         "-L$ssldir/lib" in configure.
651
652 2001-03-22 12:57 EST  jeff b  <jeff@univrel.pr.uconn.edu>  
653
654         * configure.in: patch for OpenBSD compile reported by Jean-Phillipe
655         Rey <jprey@ads.ecp.fr>
656
657 2001-03-21 09:35 EST  jeff b  <jeff@univrel.pr.uconn.edu>  
658
659         * etc/afpd/ofork.c, include/atalk/adouble.h, libatalk/adouble/ad_open.c:
660         patch from Jonathan Paisley (jonp@chem.gla.ac.uk)
661
662 2001-03-14 13:30 EST  jeff b  <jeff@univrel.pr.uconn.edu>  
663
664         * configure.in: patch from Yoshinobu Ishizaki to fix problems with
665         Linux 2.0.x builds (Patch #408256)
666
667         * etc/afpd/file.c: used patch at http://www.avalon.net/~hakehoe/
668         to fix deleting/emptying trash problems (Patch #408218)
669
670 2001-03-14 11:00 EST  jeff b  <jeff@univrel.pr.uconn.edu>  
671
672         * libatalk/adouble/ad_open.c: fixed O_RDWR kludge in ad_mode call
673         which was causing file creation problems
674
675 2001-03-09 09:42 EST  jeff b  <jeff@univrel.pr.uconn.edu>  
676
677         * sys/solaris/Makefile: fixed problems noted by Akop Pogosian in Solaris
678         build, most notably paths, and reference to lp2pap.sh in the wrong
679         place
680
681 2001-03-07 15:30 EST  jeff b  <jeff@univrel.pr.uconn.edu>  
682
683         Released 1.5pre5
684
685         * distrib/rpm/netatalk-redhat.spec, distrib/rpm/netatalk-mandrake.spec:
686         updated for 1.5pre5 release
687
688 2001-03-07 10:34 EST  jeff b  <jeff@univrel.pr.uconn.edu>  
689
690         * etc/afpd/volume.c: changed VOLOPT_MAX to be 9 if FORCE_UIDGID is not
691         defined (thanks to Axel Bringenberg <A.Bringenberg@srz-berlin.de>)
692
693 2001-03-07 10:14 EST  jeff b  <jeff@univrel.pr.uconn.edu>  
694
695         * ChangeLog: started using timestamps in ChangeLog
696
697         * etc/uams/uams_krb4/Makefile.am: fixed reference to send_to_kdc.c typo
698         (thanks to Sebastian Rittau)
699
700 2001-03-06 13:40  Lance Levsen <l.levsen@printwest.com>
701
702         * FAQ, README, README.ASUN, INSTALL.txt: Moved FAQ, AND READMEs to
703         docs/, where they should be.
704
705         * INSTALL/INSTALL.txt: Added ./INSTALL/INSTALL.txt
706
707         * INSTALL/FAQ, README, README.ASUN: Moved README.ASUN, README,
708         FAQ to ./INSTALL
709
710 2001-03-06 11:47  Andrew Morgan <morgan@orst.edu>
711
712         * TODO: A few updates to papd entry.
713
714         * README.MORGAN: Removed README.MORGAN because that information in
715         now in papd's man page.
716
717         * man/man8/papd.8.tmpl: Updated papd man page to match current
718         code.  Added descriptions of authenticated printing and other new
719         papd options.
720
721 2001-02-28 15:43  Marc J. Millar <itlm019@mailbox.ucdavis.edu>
722
723         * libatalk/adouble/ad_open.c: AppleDouble directory creation
724         debugging
725         
726 2001-02-28  jeff b  <jeff@univrel.pr.uconn.edu>  
727
728         * etc/afpd/directory.c, etc/afpd/file.c, etc/afpd/filedir.c,
729         etc/afpd/unix.c, etc/afpd/unix.h, etc/afpd/volume.h,
730         etc/afpd/volume.c, man/man5/AppleVolumes.default.5.tmpl: added
731         "dropbox" to available option if DROPKLUDGE is used during
732         compile 
733
734 2001-02-27  jeff b  <jeff@univrel.pr.uconn.edu>  
735
736         * README: updated 1.5+ install instructions to include list of
737         required and recommended packages
738
739         * etc/uams/uams_*.c: cleanups, addition of CVS Id tag to C source
740
741         * configure.in, acconfig.h: change USE_AFS to AFS to be the same as
742         all of the defines in the codebase
743
744         * etc/uams/uams_dhx_pam.c: fixed DHX login using this module (last
745         patch made with syslog()'s didn't include any brackets) 
746         (Bug #233756)
747
748         * distrib/initscripts/.cvsignore: removed pulling of atalk
749
750         * configure.in, etc/uams/Makefile.am: conditional compilation support
751         for PGP UAM module using --enable-pgp-uam
752
753         * configure.in, etc/uams/Makefile.am, etc/uams/uams_krb4/Makefile.am,
754         etc/uams/uams_krb4/.cvsignore, etc/uams/uams_krb4/*.c: modifications
755         for future Kerberos module reintegration
756
757 2001-02-26  jeff b  <jeff@univrel.pr.uconn.edu>  
758
759         * configure.in: added /usr/local/ssl to list of SSL paths to check, to
760         help kludge compilation on Mac OS X from Marcel <lammerse@xs4all.nl>
761
762         * distrib/initscripts/rc.atalk.redhat.tmpl: adjusted to echo warning
763         instead of dumping out if appletalk module not present, from
764         Steven Karen <karelsf@users.sourceforge.net> (Bug #404087)
765
766         * configure.in, contrib/timelord/timelord.c: applied patch from Wes
767         Hardaker <hardaker@users.sourceforge.net> (Patch #402245), with
768         suitable configure.in fixes
769
770 2001-02-23  jeff b  <jeff@univrel.pr.uconn.edu>  
771
772         * etc/afpd/desktop.c, etc/afpd/codepage.c, etc/afpd/nls/makecode.c:
773         patch from Axel Barnitzek <barney@users.sourceforge.net> to fix
774         broken codepage support.
775
776         * ChangeLog: started updaing ChangeLog with important patch/fix
777         information, as it is *never* up to date.
778
779         * configure.in, acconfig.h: implemented AFS configuration option
780         patch from Wes Hardaker <hardaker@users.sourceforge.net>
781
782         * VERSION: bumped up version to 1.5pre5, since 1.5pre4 was kind of
783         paperbag-ish
784
785         * autogen.sh: make libtoolize copy instead of linking files to
786         avoid problems, thanks to Wes Hardaker <hardaker@users.sourceforge.net>
787
788 2001-02-20  jeff b  <jeff@univrel.pr.uconn.edu>
789
790         Released 1.5pre4
791         - Debian packaging in tree
792         - Numerous Makefile/build fixes
793         - .cvsignore implemented
794         - Solaris build fixes
795
796 2001-01-02  jeff b  <jeff@univrel.pr.uconn.edu>
797
798         * etc/afpd/uid.c, etc/afpd/uid.h, ...: added support for forcing
799         uid/gid per volume for afpd
800
801 2000-09-22  Roland Schulz <rdschulz@abarrach.franken.de>
802
803         * etc/afpd/volume.c (setvoltime): fix for multiple clients
804         writing to same volume.
805
806 2000-02-28  a sun  <asun@asun.cobalt.com>
807
808         * etc/afpd/directory.h (CNID_INODE): xor the inode a little
809         differently. 
810
811 2000-02-23  a sun  <asun@asun.cobalt.com>
812
813         * etc/afpd/volume.c (creatvol): / is a special case. you can't
814         share it unless you give it a name.
815
816 2000-02-21  a sun  <asun@asun.cobalt.com>
817
818         * distrib/initscripts/rc.atalk.redhat/cobalt: added changes to
819         make redhat 6.x happier.
820
821 2000-02-17  a sun  <asun@asun.cobalt.com>
822
823         * libatalk/adouble/ad_lock.c (adf_unlock): off-by-one error with
824         lock removal. this + the log right below fix ragtime.
825
826 2000-02-16  a sun  <asun@asun.cobalt.com>
827
828         * etc/afpd/fork.c (afp_bytelock): only error on bytelocks
829         positioned at 0x7FFFFFFF if there's no resource fork.
830
831 2000-02-14  a sun  <asun@asun.cobalt.com>
832
833         * libatalk/adouble/ad_lock.c: re-wrote locking bits so that
834         allocations happen in blocks. added missing case that omnis
835         database triggers.
836
837 2000-02-07  a sun  <asun@asun.cobalt.com>
838
839         * bin/nbp/Makefile (install): make nbprgstr/nbpunrgstr with 700
840         permissions. 
841
842         * include/atalk/adouble.h (sendfile): change to deal with
843         <sys/sendfile.h> 
844
845 2000-01-25  a sun  <asun@asun.cobalt.com>
846
847         * etc/afpd/ofork.c: keep track of oforks being used for each
848         directory so that we can update them if the directory tree gets
849         modified. 
850
851         * etc/afpd/directory.c (deletecurdir): remove dangling symlinks on
852         delete. 
853
854 2000-01-24  a sun  <asun@asun.cobalt.com>
855
856         * etc/afpd/directory.h (CNID): moved cnid assignment here along
857         with helpful macros.
858
859         * etc/afpd/directory.c: changed directory search to use red-black
860         trees to improve balance. parent-child tree changed to circular
861         doubly-linked list to speed up insert/remove times.  there's still
862         one obstacle to actually freeing red-black tree entries. i need to
863         add an ofork list to struct dir to minimize search times.
864
865 2000-01-18  a sun  <asun@asun.cobalt.com>
866
867         * etc/afpd/directory.c (dirinsert): detect attempts to add
868         pre-existing entries as just symbolic links. 
869
870         * etc/afpd/filedir.h (CNID): moved inode-cnid assignment here and
871         extended to directories.
872
873 2000-01-03  a sun  <asun@asun.cobalt.com>
874
875         * etc/uams/uams_pam.c (PAM_conv): surround PAM_BINARY_PROMPT with
876         an #ifdef.
877
878         * etc/afpd/status.c (status_init): fixed a bunch of problems here
879         that manifested under solaris 7.
880
881         * etc/afpd/main.c (main): use FD_SETSIZE instead of FD_SETSIZE +
882         1.
883         
884
885 1999-12-27  a sun  <asun@asun.cobalt.com>
886
887         * libatalk/util/getiface.c: moved interface detection code to here
888         so that i can use if_nameindex() or getifconf() depending upon
889         what's available.
890
891 1999-12-13  a sun  <asun@asun.cobalt.com>
892
893         * libatalk/dsi/dsi_tcp.c (dsi_tcp_init): added if_nameindex()
894         based interface code.
895
896         * etc/afpd/afp_options.c (afp_options_parseline): added
897         -server_quantum as an option. using hex would be a good idea.
898
899         * libatalk/dsi/dsi_opensess.c (dsi_opensession): added bits to set
900         the server quantum. by default, the server quantum is limited to
901         1MB due to a bug in the os 9 appleshare client.
902
903         * distrib/initscripts/rc.atalk.{cobalt,redhat}: surround nbp stuff
904         with double quotes.
905
906         * etc/uams/uams_dhx_pam.c (pam_changepw): added dhx-based password
907         changing for pam.
908
909 1999-12-06  a sun  <asun@asun.cobalt.com>
910
911         * etc/afpd/directory.c (setdirparams): don't error if we can't set
912         the desktop owner/permisssions.
913
914 1999-11-04  a sun  <asun@asun.cobaltnet.com>
915
916         * etc/afpd/fork.c (afp_openfork): had the ordering wrong on an
917         openfork. 
918
919 1999-11-02  a sun  <asun@asun.cobaltnet.com>
920
921         * etc/afpd/afp_dsi.c (afp_over_dsi): flush data for unknown dsi
922         commands. 
923
924 1999-10-28  a sun  <asun@asun.cobaltnet.com>
925
926         * etc/uams/*.c: return FPError_PARAM if the user is unknown. 
927
928 1999-10-27  a sun  <asun@asun.cobaltnet.com>
929
930         * etc/afpd/fork.c (afp_read): if sendfile isn't supported, use the
931         old looping method.
932
933 1999-10-25  a sun  <asun@asun.cobaltnet.com>
934
935         * libatalk/nbp/nbp_unrgstr.c (nbp_unrgstr): fix nbp unregisters.
936
937 1999-10-21  a sun  <asun@asun.cobaltnet.com>
938
939         * etc/afpd/Makefile (install): moved install of afpd earlier per
940         suggestion by steven michaud.
941
942 1999-10-05  a sun  <asun@asun.cobaltnet.com>
943
944         * etc/uams/uams_randnum.c (afppasswd): for ~/.passwd's, turn
945         ourselves into the user so that nfs is happy.
946
947 1999-09-19  a sun  <asun@adrian5>
948
949         * libatalk/netddp/netddp_open.c, nbp/*.c: only use the bcast stuff
950         if it's on an os x server machine.
951
952 1999-09-15  a sun  <asun@adrian5>
953
954         * libatalk/nbp/nbp_unrgstr.c,nbp_lkup.c,nbp_rgstr.c: os x server
955         wants ATADDR_BCAST. that probably means that i need to do
956         multihoming appletalk a little differently. bleah.
957
958 1999-09-09    <asun@asun.cobaltnet.com>
959
960         * etc/afpd/directory.c (getdirparams), libatalk/adouble/ad_open.c
961         (ad_open): mondo lameness. i forgot that directory lookups can be
962         done with "." as the directory name. that was auto-hiding
963         them. bleah. i also figured out which bit was the invisible bit
964         for finderinfo information.
965
966 1999-09-06  Adrian Sun  <asun@glazed.cobaltnet.com>
967
968         * etc/afpd/desktop.c (mtoupath): fixed a bug in codepage support
969         that accidentally crept in.
970
971 1999-08-31  Adrian Sun  <asun@glazed.cobaltnet.com>
972
973         * etc/afpd/quota.c (getfsquota): use group quotas in quota
974         calculations if the user belongs to a single group. just use the
975         user quotas if the user belongs to multiple groups.
976
977         * etc/afpd/volume.c (getvolspace): added an options:limitsize to
978         restrict the available space to 2GB. this is for macs running
979         older versions of the operating system with newer versions of the
980         appleshare client. weird huh?
981
982         * etc/afpd/quota.c (uquota_getvolspace): bleah. 64-bit shifts
983         don't get promoted in the same way as arithmetic operations. added
984         some more casts to deal with that issue.
985
986 1999-08-24  Adrian Sun  <asun@glazed.cobaltnet.com>
987
988         * man/man?/Makefile: don't re-build .tmp files if they already
989         exist. this gets the install phase to work correctly.
990
991 1999-08-13  a sun  <asun@hecate.darksunrising.blah>
992
993         * etc/afpd/directory.c, file.c, filedir.c: illegal characters get
994         AFPERR_PARAM. also, reject names with /'s in them if the nohex
995         option is used.
996
997 1999-08-12  a sun  <asun@hecate.darksunrising.blah>
998
999         * etc/afpd/filedir.c,file.c,directory.c: changed error for
1000         illegal filenames to AFPERR_EXIST.
1001
1002 1999-08-11  a sun  <asun@hecate.darksunrising.blah>
1003
1004         * etc/afpd/desktop.h (validupath): if usedots is set, .Apple* and
1005         .Parent files are no longer valid file names.
1006
1007         * etc/afpd/volume.c (volset): added usedots and nohex as
1008         options. usedots stops :hex translation of . files while nohex
1009         stops :hex translation of everything but . files. in addition,
1010         . files created on the unix side are by default hidden.
1011
1012         * libatalk/adouble/ad_open.c: initialize more bits.
1013
1014 1999-08-10  a sun  <asun@hecate.darksunrising.blah>
1015
1016         * distrib/initscripts/rc.atalk.redhat (WORKSTATION): use the
1017         actual name for nbp registration rather than ATALK_NAME.
1018
1019         * sys/solaris/Makefile (kernel): make sure osdefs and machinedefs
1020         get used when building the kernel module.
1021
1022         * sys/solaris: changed strings.h to string.h
1023
1024 1999-08-08  a sun  <asun@hecate.darksunrising.blah>
1025
1026         * etc/afpd/volume.c (readvolfile): changed volume options into an
1027         array of structs to ease maintenance.
1028
1029 1999-08-05  a sun  <asun@hecate.darksunrising.blah>
1030
1031         * etc/afpd/status.c (status_init): change the default icon
1032         depending upon whether or not it's an ASIP or an AppleTalk
1033         connection. 
1034
1035 1999-08-04  Adrian Sun  <asun@glazed.cobaltnet.com>
1036
1037         * etc/atalkd/main.c (setaddr): made a failure with setaddr a 
1038         little more informative.
1039
1040 1999-08-03  Adrian Sun  <asun@glazed.cobaltnet.com>
1041
1042         * yippee. someone figured what was happening with the installation
1043         of the man pages. i got rid of a duplicate entry.
1044
1045 1999-08-02  a sun  <asun@hecate.darksunrising.blah>
1046
1047         * etc/afpd/volume.c (readvolfile): added a per-file way of setting
1048         default options. it keys in on a :DEFAULT: label.
1049
1050 1999-07-30  a sun  <asun@hecate.darksunrising.blah>
1051
1052         * moved rc.atalk.* scripts to distrib/initscripts.
1053
1054 1999-07-27  a sun  <asun@hecate.darksunrising.blah>
1055
1056         * contrib/printing: added patch from job@uchicago.edu
1057
1058         * etc/afpd/file.c: forgot to initialize struct ad in
1059         some places.
1060
1061         * etc/afpd/nls/makecode.c: added an empty mapping.
1062
1063         * etc/psf/Makefile (install): well cp -d didn't work either. just
1064         use tar.
1065
1066 1999-07-26  a sun  <asun@hecate.darksunrising.blah>
1067
1068         * sys/solaris/tpi.c (tpi_attach): changed DDI_NT_NET to DDI_PSEUDO
1069         (from denny@geekworld.com).
1070
1071         * distrib/rpm/netatalk-asun.spec (Summary): incorporated new spec
1072         and patch files from inoue.
1073
1074         * sys/linux/Makefile (install-sysv): fixed up a bit.
1075
1076         * etc/psf/Makefile (install): use cp -d instead of cp -a to make
1077         *bsd happier.
1078
1079         * etc/afpd/afp_options.c (afp_options_parseline): reversed meaning
1080         of -icon. now it means to use the yucky bitmap instead of the
1081         apple icon.
1082
1083         * bin/afppasswd/Makefile (all): add -Iinclude/openssl for
1084         afppasswd as well. 
1085
1086 1999-07-18  a sun  <asun@hecate.darksunrising.blah>
1087
1088         * create links/mangle files in the compile rather than the install
1089         phase so that rpm will be happier.
1090
1091 1999-07-17  a sun  <asun@hecate.darksunrising.blah>
1092
1093         * etc/afpd/file.c (afp_createfile), directory (afp_createdir),
1094           filedir.c (afp_rename, afp_moveandrename): don't allow the
1095           creation/renaming of names with certain characters if mswindows
1096           compatibility is enabled.
1097
1098 1999-07-16  a sun  <asun@hecate.darksunrising.blah>
1099
1100         * rc.atalk.redhat: incorporated chkconfig from inoue.
1101
1102 1999-07-15  a sun  <asun@hecate.darksunrising.blah>
1103
1104         * etc/atalkd/config.c (getifconf): wrap check against
1105         IFF_MULTICAST behind an #ifdef IFF_MULTICAST.
1106
1107         * sys/netbsd/Makefile (LDSHAREDFLAGS): key in on machine type.
1108
1109 1999-07-11  a sun  <asun@hecate.darksunrising.blah>
1110
1111         * contrib/ICDumpSuffixMap: added internet config perl script from
1112         inoue. 
1113
1114         * contrib/printing: added contributed solaris printing scripts
1115         from job@uchicago.edu.
1116
1117 1999-07-10  a sun  <asun@hecate.darksunrising.blah>
1118
1119         * etc/atalkd/interface.h, rtmp.h: prototyped functions.
1120
1121         * etc/atalkd/zip.c: converted bcopy's to memcpy's.
1122
1123         * etc/atalkd/nbp.c,rtmp.c: added checks for the interface for
1124         dontroute cases.
1125
1126         * etc/atalkd/main.c: converted bzero/bcopy to memset/memcpy.
1127
1128 1999-07-08  a sun  <asun@hecate.darksunrising.blah>
1129
1130         * libatalk/nbp/nbp_rgstr.c (nbp_rgstr): return EADDRINUSE if the
1131         address already exists.
1132
1133 1999-07-06  a sun  <asun@hecate.darksunrising.blah>
1134
1135         * rc.atalk.redhat: changed netatalk.config to netatalk.conf
1136
1137 1999-07-05  a sun  <asun@hecate.darksunrising.blah>
1138
1139         * etc/atalkd/nbp.c (nbp_packet): add interface to nbp struct. this
1140         is so that we can filter by interface in the future. however, it
1141         doesn't seem to work that well right now. bleah. 
1142
1143         * etc/atalkd/main.c: fixed up dontroute option so that it doesn't
1144         screw up atalkd.conf. also, we need to do a bootaddr if dontroute
1145         is set. 
1146
1147         * libatalk/atp,nbp,netddp; bin/aecho,nbp,getzones,pap;
1148         etc/papd,afpd: accept -A <ddp address> as an option so that you
1149         can specify the address to be used on a multihomed server. for
1150         papd, you use the 'pa' option in papd.conf.
1151
1152 1999-07-04  a sun  <asun@hecate.darksunrising.blah>
1153
1154         * etc/atalkd/config.c (parseline): initialize parseline properly
1155         so that we don't get extraneous junk.
1156
1157         * etc/afpd/afp_options.c (afp_options_parseline): do
1158         gethostbyaddr/gethostbyname's for -ipaddr and -fqdn.
1159
1160         * etc/atalkd/config.c (getifconf/readconf): check to see if the
1161         supported device can support appletalk addresses. either continue
1162         or exit depending upon whether or not it's auto-configed.
1163
1164 1999-07-03  a sun  <asun@hecate.darksunrising.blah>
1165
1166         * etc/afpd/afp_options.c (afp_options_parse): -I (-[no]icon) will
1167         toggle the volume icon so that it uses the apple icon instead.
1168
1169         * etc/afpd/config.c (AFPConfigInit): added more logic for the
1170         -proxy option. here are the rules: -proxy will always try to
1171         create a DDP server instance. by default, the proxy server will
1172         still allow you to login with an appletalk connection. to prevent
1173         that, just set the uamlist to an empty string.
1174
1175 1999-07-02  a sun  <asun@hecate.darksunrising.blah>
1176
1177         * etc/afpd/status.c (status_netaddress): added support for fqdn
1178         (not available in the appleshare client yet).
1179
1180 1999-07-01  a sun  <asun@hecate.darksunrising.blah>
1181
1182         * etc/afpd/config.c (DSIConfigInit): application code for proxy
1183         setup. it's the -proxy option.
1184
1185         * libatalk/dsi/dsi_init/tcp.c (dsi_init/dsi_tcp_init): added
1186         support for proxy setup.
1187
1188 1999-06-30  a sun  <asun@hecate.darksunrising.blah>
1189
1190         * etc/afpd/filedir.c (afp_rename): fixed up some error
1191         codes. quark express should be happier.
1192
1193         * etc/afpd/uam.c (uam_afpserver_option): added
1194         UAM_OPTION_HOSTNAME. use this to set PAM_RHOST. i just got a
1195         report that setting that fixes pam on solaris machines.
1196
1197 1999-06-28  a sun  <asun@hecate.darksunrising.blah>
1198
1199         * etc/afpd/ofork.c (of_alloc): report out of forks in syslog..
1200
1201         * etc/afpd/enumerate.c (afp_enumerate): close an opendir leak. 
1202
1203         * include/atalk/{dsi,asp}.h: make cmdlen and datalen ints.
1204
1205         * etc/afpd/fork.c (afp_write): fixed up error condition.
1206
1207 1999-06-26  a sun  <asun@hecate.darksunrising.blah>
1208
1209         * etc/uams/Makefile (install): changed install location of uams.
1210
1211         * sys/linux/Makefile (install-sysv): always install redhat
1212         script. netatalk.config script only gets installed if it's not
1213         there already.
1214
1215 1999-06-23  a sun  <asun@hecate.darksunrising.blah>
1216
1217         * rc.atalk.redhat: merged in redhat contrib rpm rc.atalk script.
1218
1219         * etc/afpd/afp_options.c (afp_options_init): changed default
1220         maxusers to 20.
1221
1222 1999-06-22  a sun  <asun@hecate.darksunrising.blah>
1223
1224         * etc/afpd/config.c (DSIConfigInit): truncate options->server to
1225         just the server name here.
1226
1227         * etc/afpd/volume.c (volxlate): made $s return something
1228         meaningful no matter what.
1229
1230         * libatalk/adouble/ad_sendfile.c (ad_readfile): freebsd sendfile
1231         wants an off_t.
1232
1233 1999-06-20  a sun  <asun@hecate.darksunrising.blah>
1234
1235         * etc/afpd/volume.c (volxlate): added variable substitution. if it
1236         doesn't understand the variable, it just spits it back out.
1237         
1238         (creatvol): display truncated volume name if it's too long.
1239
1240         * sys/{generic,solaris}/Makefile: added NO_CRYPTLIB option to deal
1241         with oses that have -lcrypt but shouldn't use it.
1242
1243 1999-06-11  a sun  <asun@hecate.darksunrising.blah>
1244
1245         * include/atalk/afp.h: added comments to FPErrors.
1246
1247         * etc/afpd/enumerate.c (afp_enumerate): make FPEnumerate do some
1248         more error checking.
1249
1250         * include/atalk/util.h: server_lock() returns pid_t. 
1251
1252 1999-06-10  a sun  <asun@hecate.darksunrising.blah>
1253
1254         * README.ASUN: added location for both ssleay and openssl.
1255
1256         * etc/uams: moved install to LIBDIR/uams. "uams_*" now means "uam
1257         server." in the future, there will be "uamc_*." changed the shared
1258         library names to match.
1259
1260         * include/atalk/atp.h,nbp.h: forgot to include <sys/cdefs.h>
1261
1262         * etc/uams/Makefile: openssl-0.9.3c uses <openssl/*.h> so add that
1263         to the include path.
1264
1265         * sys/{solaris,ultrix}/Makefile: just use -I../sys/generic instead
1266         of doing a link.
1267
1268         * include/atalk/uam.h, etc/uams/uam_*.c, etc/afpd/uam.c: added uam
1269         type field. do type check.
1270
1271         * etc/uams/uam_*pam.c: added a couple more error codes. 
1272
1273 1999-06-08  a sun  <asun@hecate.darksunrising.blah>
1274
1275         * etc/afpd/nls/Makefile (codepage.h): make sure that a link to
1276         codepage.h gets made.
1277
1278         * libatalk/*/Makefile: make sure that the profiled directory gets
1279         created.
1280         
1281         * etc/afpd/directory.c (afp_mapname): removed an extraneous line
1282         that was causing mapname to fail.
1283
1284 1999-06-07  a sun  <asun@hecate.darksunrising.blah>
1285
1286         * etc/atalkd/main.c (main): added a note to check the syslog if
1287         atalkd can't be setup.
1288
1289         * sys/linux/Makefile: added -DNEED_QUOTACTL_WRAPPER to the list of
1290         auto-detected #defines.
1291
1292 1999-06-06  a sun  <asun@hecate.darksunrising.blah>
1293
1294         * etc/afpd/fork.c (afp_write): argh. i moved things around a
1295         little too much and ended up with an uninitialized eid. strangely,
1296         the compiler didn't complain. simplified bits a little as
1297         well. also, FPWrite was returning the wrong error messages. on
1298         64-bit filesystems, the offset can wraparound. so, report a disk
1299         full error if that's going to happen. egcs-19990602 gets one
1300         memcpy right and another wrong on my udb. bleah.
1301         
1302         (afp_read): fixed the error messages here as well.
1303
1304 1999-06-05  a sun  <asun@hecate.darksunrising.blah>
1305
1306         * Makefile, sys/generic, sys/{ultrix,solaris}/Makefile: create
1307         some links on the fly if they're missing.
1308
1309         * etc/afpd/directory.c (copydir): fixed a leaking opendir and
1310         re-arranged a little.
1311
1312 1999-06-04  a sun  <asun@hecate.darksunrising.blah>
1313
1314         * etc/afpd: prototyped everything here and moved the FP functions
1315         into include files.
1316
1317         * libatalk/util/bprint.c: moved all of the bprints to here.
1318
1319         * libatalk/asp, include/atalk/asp.h: prototyped asp functions.
1320
1321         * include/atalk/atp.h, libatalk/atp: prototyped atp functions. 
1322
1323         * libatalk/nbp, include/atalk/nbp.h: added prototypes for nbp
1324         functions. 
1325
1326         * bin/afppasswd/Makefile (afppasswd): fixed a misspelling in the
1327         install phase.
1328
1329         * bin/afppasswd/afppasswd.c: added -a option so that root can add
1330         new users. turned all of the options into bits. added newlines to
1331         each entry.
1332
1333 1999-06-03  a sun  <asun@hecate.darksunrising.blah>
1334
1335         * sys/freebsd/Makefile: turn on sendfile support if running on a
1336         FreeBSD 3+ machine.
1337
1338 1999-06-02  a sun  <asun@hecate.darksunrising.blah>
1339
1340         * etc/uams/uam_dhx_pam.c: fixed memory freeing part of pam
1341         conversation function.
1342
1343         * sys/*/Makefile: check at make time to see if -lrpcsvc and
1344         -lcrypt should be included in the appropriate places. 
1345
1346 1999-05-28  a sun  <asun@hecate.darksunrising.blah>
1347
1348         * etc/afpd/file.c (deletefile): added more error checking here as
1349         well. 
1350
1351         * etc/afpd/directory.c (renamedir): added a couple a few more
1352         error bits. 
1353
1354         * sys/sunos/Makefile: sunos should really work now. 
1355
1356 1999-05-27  a sun  <asun@hecate.darksunrising.blah>
1357
1358         * include/atalk/afp.h: added in a couple new error codes (one
1359         deals with password setting policy, the other with maximum logins
1360         by any user).
1361
1362         * etc/afpd/fork.c (afp_openfork): try to re-open files on
1363         read-only volumes as read-only.
1364
1365 1999-05-26  a sun  <asun@hecate.darksunrising.blah>
1366
1367         * sys/solaris/Makefile: fixed a few bobbles here. solaris uses
1368         uname -p. other oses seem to use uname -m for the same information.
1369
1370         * etc/uams/uam_pam.c (pam_changepw): added check for same
1371         password. 
1372
1373         * etc/uams/uam_randnum.c (randnum_changepw): added in cracklib and
1374         same password checks.
1375
1376         * sys/osx/Makefile: moved the os x server stuff into its own build
1377         directory. 
1378
1379         * sys/linux/Makefile, sys/solaris/Makefile: key in on OSVERSION
1380         and MACHINETYPE for some stuff.  
1381
1382 1999-05-25  a sun  <asun@hecate.darksunrising.blah>
1383
1384         * sys/sunos/Makefile: various bits to make stuff work with sunos
1385         again. 
1386
1387 1999-05-25  a sun  <asun@purgatorius.zoology.washington.edu>
1388
1389         * etc/afpd/file.c (copyfile): only copy the header file if newname
1390         is specified. 
1391
1392         * etc/afpd/directory.c (copydir): make sure to balk if the
1393         directory already exists. in addition, make sure to preserve the
1394         timestamps. 
1395
1396 1999-05-24  a sun  <asun@hecate.darksunrising.blah>
1397
1398         * bin/afppasswd/afppasswd.c: global password updating utility for
1399         the randnum authentication method. 
1400
1401 1999-05-22  a sun  <asun@hecate.darksunrising.blah>
1402
1403         * etc/uams/uam_randnum.c (afppasswd): added in global password
1404         file for the randnum authentication method. it looks for a .key
1405         file as well to handle encryption.
1406
1407         * etc/afpd/afp_options.c (afp_options_parseline): added
1408         -passwdfile as an option so that you can specify a global randnum
1409         password file if desired.
1410
1411         * etc/afpd/volume.c (readvolfile): we now have rwlist and rolist
1412         as an AppleVolumes.* option. if the user is in the rolist, the
1413         volume gets set as readonly. if there's a rwlist, and the user
1414         isn't in it, the volume also gets set as readonly.
1415
1416 1999-05-21  a sun  <asun@hecate.darksunrising.blah>
1417
1418         * libatalk/adouble/ad_lock.c (ad_fcntl_lock): plug a leak if we
1419         can't allocate the reference counting variable.
1420
1421         * etc/uams/uam_*.c: make sure that uam_setup returns an error
1422         code. 
1423
1424 1999-05-19  a sun  <asun@hecate.darksunrising.blah>
1425
1426         * include/atalk/paths.h (_PATH_LOCKDIR): added os x server's
1427         /var/run as the lock file directory.
1428
1429         * etc/afpd/fork.c (afp_write): kanehara@tpk.toppan.co.jp reported
1430         a problem with FPWrite getting a request count of 0. that's
1431         fixed. 
1432
1433         * etc/afpd/Makefile: bleah. for some reason, pam doesn't like to
1434         load itself from a shared library. i've compensated by linking it
1435         into afpd again.
1436
1437         * etc/uams/uam_dhx_passwd.c: okay. DHX now works. something's
1438         still screwy with the dhx_pam stuff though.
1439
1440 1999-05-18  a sun  <asun@hecate.darksunrising.blah>
1441
1442         * etc/afpd/uam.c (uam_getname): i forgot that getname modified the
1443         username to fit what's in pw->pw_name if necessary.
1444
1445 1999-05-16  a sun  <asun@hecate.darksunrising.blah>
1446
1447         * etc/uams/uam_dhx_passwd/pam.c: almost ready versions of the DHX
1448         authentication method. i'm still missing a little info to get it
1449         all right.
1450
1451         * bin/megatron/nad.c (nad_header_read): if there isn't a mac name,
1452         create it from the unix name. 
1453
1454         * bin/megatron/megatron.c (megatron): oops. need to turn fdCreator
1455         and fdType into strings.
1456
1457 1999-05-16  a sun  <asun@pelvetia>
1458
1459         * etc/afpd/uam.c (uam_afpserver_option): changed the interface a
1460         little. now, you pass in an int * if you want to either get/set
1461         the size of the option. added in UAM_OPTION_RANDNUM for generic 
1462         (4-byte granularity) random number generation.
1463
1464         * etc/afpd/switch.c: added afp_logout to preauth_switch.
1465
1466 1999-05-15  a sun  <asun@hecate.darksunrising.blah>
1467
1468         * bin/megatron/macbin.c (bin_open): make error message for
1469         macbinary files more informative.
1470         
1471         (test_header): added more macbinary tests. it now has a workaround
1472         for apple's incorrectly generated macbinary files.
1473
1474 1999-05-14  a sun  <asun@hecate.darksunrising.blah>
1475
1476         * sys/solaris/Makefile: added shared library generation bits.
1477
1478         * etc/uams: moved server-side uams here. 
1479
1480         * include/netatalk/endian.h: fixed some solaris bits. 
1481
1482         * etc/afpd/config.c (configfree): don't do an asp_close. instead,
1483         do an atp_close and free the asp object. oh yeah, as afpd needs
1484         to export symbols to its modules, make sure you don't do anything
1485         more exciting than strip --strip-debug with it.
1486
1487 1999-05-12  a sun  <asun@hecate.darksunrising.blah>
1488
1489         * various places that use sigaction: zero out struct sigaction so
1490         that we don't send something confusing. also make sure that we
1491         don't set a timer unless we already have a sigaction set.
1492
1493         * etc/afpd/fork.c (afp_openfork): don't error on trying to open an
1494         empty resource fork read-only. also, added back in the bit of code
1495         that prevented locks from being attempted on non-existent resource
1496         forks.
1497
1498         * etc/afpd/afp_options.c (getoption): added a uamlist commandline
1499         option (-U list). 
1500
1501         * libatalk/netddp/netddp_open.c: don't bind if nothing was passed
1502         in. 
1503
1504         * libatalk/nbp/nbp_unrgstr.c (nbp_unrgstr): oops. forgot to
1505         convert this over to use by the netddp interface.
1506
1507 1999-05-12  a sun  <asun@pelvetia>
1508
1509         * etc/afpd/uam.c: os x server's runtime library loader is
1510         braindead. as a result, i've switched to using an exported struct
1511         with the uam's name.
1512
1513         * bin/aecho,getzones: changed these to use the netddp interface.
1514
1515         * libatalk/nbp/nbp_rgstr.c,unrgstr.c: fixed more leaky bits.
1516
1517         * libatalk/netddp: abstracted the ddp interface to netddp. besides
1518         the prior socket-driven interface, there's now an os x server
1519         interface. so, instead of calling socket/sendto/recvfrom, you call
1520         netddp_open/netddp_sendto/netddp_recvfrom.
1521
1522 1999-05-11  a sun  <asun@pelvetia>
1523
1524         * libatalk/nbp/nbp_lkup.c: oh my. nbp_lookup was fd leaky if there
1525         was a problem.
1526
1527         * etc/atalkd/main.c (main): make sure that if -dontroute is
1528         selected for all but one interface, that interface also gets
1529         -dontroute set.
1530
1531 1999-05-10  a sun  <asun@hecate.darksunrising.blah>
1532
1533         * etc/afpd/auth.c: re-wrote to deal with plug-in uams. it's much
1534         smaller than it used to be.
1535
1536 1999-05-09  a sun  <asun@hecate.darksunrising.blah>
1537
1538         * etc/afpd/uams/uam_guest.c, uam_pam.c, uam_passwd.c,
1539         uam_randnum.c: uam modules. these should probably be moved out of
1540         afpd (and into something like etc/uam_server) when the printing
1541         stuff gets uam support.
1542
1543 1999-05-08  a sun  <asun@hecate.darksunrising.blah>
1544
1545         * etc/afpd/uam.c: interface to user authentication modules.
1546         it should eventually be moved to libatalk, but that's not
1547         necessary until the printing uam stuff is done. everything is from
1548         the server-side perspective, but that's only because there aren't
1549         any client-side uses right now.
1550
1551         * libatalk/util/module.c: generic interface to run-time library
1552         loading functions. right now, the dlfcn family and os x server's
1553         NS-style way of doing things are the ones understood. in addition,
1554         there's a DLSYM_PREPEND_UNDERSCORE for those systems that need it.
1555
1556         * libatalk/asp/asp_write.c (asp_wrtcont): log both the read and
1557         write part of write continuations.
1558
1559 1999-05-07  a sun  <asun@hecate.darksunrising.blah>
1560
1561         * etc/atalkd: added the ability to turn off routing for particular
1562         interfaces. specify -dontroute for each interface that you don't
1563         want to route.
1564
1565 1999-05-06  a sun  <asun@hecate.darksunrising.blah>
1566
1567         * etc/afpd/auth.c: got rid of global clrtxtname and switched to
1568         using obj->username.
1569
1570 1999-05-04  a sun  <asun@hecate.darksunrising.blah>
1571
1572         * libatalk/dsi/dsi_write.c (dsi_write): dsi_write could loop
1573         forever if there's a problem while it's being used. that's fixed.
1574
1575 1999-05-01  a sun  <asun@hecate.darksunrising.blah>
1576
1577         * etc/afpd/directory.c (renamedir,copydir,deletedir): added bits
1578         so that renaming a directory works across filesystems.
1579
1580 1999-04-27  a sun  <asun@hecate.darksunrising.blah>
1581
1582         * etc/afpd/fork.c (getforkparams): report mtime if it's > than
1583         what's stored in the header file.
1584
1585         * config/afpd.conf: incorporated a patch by Stefan Bethke to make
1586         afpd.conf more understandable.
1587
1588         * sys/solaris/if.c: many of the firstnet/lastnet bits weren't
1589         endian converted. that's fixed.
1590
1591         * libatalk/adouble/ad_lock.c (adf_find(x)lock): F_RD/WRLCK aren't
1592         necessarily ORable, so use ADLOCK_RD/WR instead.
1593         
1594         (ad_fcntl_unlock): erk. fixed a typo that had the resource fork
1595         unlock accidentally getting the data fork locks.
1596
1597 1999-04-24  a sun  <asun@hecate.darksunrising.blah>
1598
1599         * etc/afpd/fork.c (afp_openfork): always try to create a resource
1600         fork if asked.
1601
1602 1999-04-21  a sun  <asun@hecate.darksunrising.blah>
1603
1604         * libatalk/adouble/ad_open.c, ad_read.c/ad_write.c, ad_flush.c:
1605         turned the mmapped header stuff into and #ifdef
1606         USE_MMAPPED_HEADERS option.
1607
1608         * libatalk/adouble/ad_open.c (ad_header_read): darn. i forgot that
1609         the hfs fs doesn't currently have mmappable header files. rather
1610         than implement that, i just reverted back to a modified version
1611         of the old way of reading headers.
1612
1613 1999-04-15  a sun  <asun@hecate.darksunrising.blah>
1614
1615         * etc/afpd/fork.c (afp_bytelock): byte locks become read locks on
1616         read-only files.
1617         
1618         (afp_openfork): deal with read-only data forks that don't have
1619         corresponding .AppleDouble files. we can't really do anything with
1620         deny locks in this case. just make sure that read locks are set.
1621
1622         * etc/afpd/file.c (getfilparams): oops. got the parentheses wrong
1623         around FILPBIT_FINFO. 
1624
1625         * etc/afpd/fork.c (afp_read): as we share open files now, check
1626         for fork type against of_flags instead of just checking to see if
1627         the file is open. this fixes a bug that caused resource forks to
1628         get filled with data fork information.
1629
1630 1999-04-09  a sun  <asun@porifera.zoology.washington.edu>
1631
1632         * sys/generic/Makefile: AFP/tcp now compiles on irix with quota
1633         support.
1634
1635 1999-04-09  a sun  <asun@mead1.u.washington.edu>
1636
1637         * sys/generic/Makefile: AFP/tcp now compiles on aix with quota
1638         support.
1639
1640 1999-04-09  a sun  <asun@saul6.u.washington.edu>
1641
1642         * sys/generic/Makefile: AFP/tcp part now compiles on digital unix
1643         with quota support enabled.
1644
1645 1999-04-08  a sun  <asun@hecate.darksunrising.blah>
1646
1647         * etc/afpd/volume.c, fork.c, file.c, directory.c, filedir.c,
1648         config/AppleVolumes.default: added read-only volume option.
1649
1650         * etc/afpd/quota.c (uquota_getvolspace): modified for os x
1651         server. 
1652
1653 1999-04-03  a sun  <asun@hecate.darksunrising.blah>
1654
1655         * bin/megatron/macbin.c (bin_write): only pad if we need to do so 
1656         (from <jk@espy.org>).   
1657         (bin_header_write/read): fixed up screwed up file date
1658         generation/reading with macbinary files. 
1659
1660         * bin/megatron: changed all of the bcopy/bzero/bcmp's to 
1661         memcpy/memset/memcmp's. added macbinary III support.
1662
1663         * bin/megatron/macbin.c (bin_open): added --stdout as an option so
1664         that we can stream macbinary file creation to stdout.
1665
1666         * bin/megatron/megatron.c: incorporated information patch (--header
1667           and --macheader) from <fmorton@base2inc.com>.
1668
1669
1670 1999-04-02  a sun  <asun@hecate.darksunrising.blah>
1671
1672         * etc/afpd: whee! there are no more bcopy/bcmp's in this
1673         directory. 
1674
1675         * libatalk: changed the bcopy/bzero's to memcpy/memset's. added in
1676         dummy ints for some of the files that can get compiled to empty
1677         objects. check for the type of msync() available as well.
1678
1679 1999-03-31  a sun  <asun@hecate.darksunrising.blah>
1680
1681         * INSTALL/README.GENERIC: added information for a generic
1682         architecture. It includes the information needed to get netatalk
1683         to compile on a random unix platform.
1684
1685         * etc/afpd/quota.c: moved the quota stuff here so that we can
1686         #ifdef it out on a machine without quota support.
1687
1688 1999-03-30  a sun  <asun@hecate.darksunrising.blah>
1689
1690         * libatalk/adouble/ad_lock.c: reference count the locked ranges as
1691         well. this prevents multiple read locks on the same byte range
1692         from disappearing if one user disappears.
1693         
1694         (ad_fcntl_lock): here are the current rules for file
1695         synchronization:
1696            1) if there's a appledouble header, we use the beginning
1697               of that for both data and resource forks.
1698            2) if there isn't, we use the end of the data fork (or past the
1699               end on 64-bit machines)
1700         
1701 1999-03-28  a sun  <asun@hecate.darksunrising.blah>
1702
1703         * libatalk/adouble/ad_open.c (ad_refresh): okay. mmapping the
1704         appledouble entry parts is done. 
1705
1706         * libatalk/cnid/cnid_add.c (cnid_add): prevent anyone from adding
1707         in an illegal cnid.
1708
1709 1999-03-27  a sun  <asun@hecate.darksunrising.blah>
1710
1711         * libatalk/adouble/ad_open.c (ad_refresh): started making the
1712         appledouble header parsing more generic so that we can read in
1713         arbitrary appledouble header files. i just mmap the parts that we
1714         need. 
1715
1716 1999-03-22  a sun  <asun@hecate.darksunrising.blah>
1717
1718         * etc/afpd/file.c (afp_copyfile): return the correct error
1719         response on a failed copy. also, error if the file is already open
1720         to prevent problems with locks. we really need to ad_lock
1721         this during the copy
1722
1723 1999-03-21  a sun  <asun@hecate.darksunrising.blah>
1724
1725         * etc/afpd/volume.c (readvolfile): switched volume options to
1726         using ':' as a delimiter as that's one of the characters that's
1727         not allowed as part of a mac filename.
1728         (volset): changed access to allow/deny
1729
1730         * etc/afpd/auth.c (noauth_login): make sure that the username gets
1731         set. 
1732
1733 1999-03-17  a sun  <asun@hecate.darksunrising.blah>
1734
1735         * NOTE to myself: jeremy allison said that samba uses refcounts to
1736         prevent close() from killing all the byte locks. so, i've started
1737         converting afpd to using refcounting as well. luckily, we already
1738         have of_findname, so we know when files are open. in cases where
1739         files are already open, this will replace an ad_open with a lookup
1740         into a hash table.
1741
1742         * etc/afpd/directory.c (getdirparams/getfilparams): check for
1743         NULL names when getting directory/file names.
1744
1745         * etc/afpd/directory.{c,h} (DIRDID_ROOT/DIRDID_ROOT_PARENT): make
1746         sure these are always in network byte order.
1747
1748 1999-03-15  a sun  <asun@hecate.darksunrising.blah>
1749
1750         * etc/afpd/fork.c (afp_openfork): okay, fixed the file
1751         synchronization bits. now, we use two bytes to do the read/write
1752         stuff. when access is needed, a read lock is attempted. if a deny
1753         lock is needed, a write lock is attempted. we even handle the
1754         access None mode now by saving the access modes.
1755
1756         * etc/afpd/fork.h (AFPFORK_ACCMASK): started adding bits so that
1757         we can obey all of the file synchronization rules.
1758
1759         * etc/afpd/fork.c (afp_bytelock): got the meaning of the clearbit
1760         reversed. with helios lantest's lock/unlock 4000 times test, it
1761         looks like i get <1 second overhead on my machine when using byte
1762         locks. NOTE: this will get a little worse when serialization gets
1763         added. in addition, 0x80000000 only works for 64-bit machines. i
1764         reserve the last allowable bit for 32-bit machines. 
1765
1766         actually, both 64-bit machines and 32-bit machines use 0x7FFFFFFF
1767         now as i'm able to trigger a kernel oops in linux with the 64-bit
1768         code. 
1769         
1770         (afp_read/afp_write): make sure to use the same offset when doing
1771         a tmplock.
1772
1773 1999-03-14  a sun  <asun@hecate.darksunrising.blah>
1774
1775         * libatalk/adouble/ad_lock.c: i went and implemented a bunch of
1776         stuff to get byte locks to work correctly (except for the
1777         serialization) only to discover that files that use byte locks
1778         also request a deny write mode. luckily, byte locks only cover up
1779         to 0x7FFFFFFF. so, i'll just use 0x80000000 for the
1780         synchronization locks.
1781
1782 1999-03-08  a sun  <asun@hecate.darksunrising.blah>
1783
1784         * sys/{*bsd,ultrix,solaris,linux}/Makefile (depend): surround 
1785         DEPS with double quotes so that multiple defines work.
1786
1787 1999-03-06  a sun  <asun@hecate.darksunrising.blah>
1788
1789         * libatalk/adouble/ad_write.c, ad_read.c: make off off_t in size. 
1790
1791         * libatalk/adouble/ad_flush.c (adf_fcntl_relock), ad_lock.c
1792         (adf_fcntl_locked): okay. fcntl locks now check against multiple
1793         programs on the same machine opening the same file. current
1794         problems with the mechanism that i don't want to fix unless
1795         necessary: 
1796                 1) there's a race during the relock phase. serialization
1797                    would solve that.
1798                 2) it assumes that each fd only locks a single contiguous
1799                    range at a time. keeping a list of locked ranges would
1800                    solve that. 
1801         
1802         also, i changed the default to using fcntl locks. if the above two
1803         are really necessary, i'll probably switch to something a little
1804         more featureful like the berkeley db's lock manager.
1805
1806         (note to myself: stuff new from asun2.1.3 from 1999-03-03)
1807         
1808 1999-03-05  a sun  <asun@hecate.darksunrising.blah>
1809
1810         * libatalk/adouble/ad_lock.c: got rid of the endflag checks to
1811         reduce system calls a little. 
1812
1813         * etc/afpd/auth.c (getname): do a case-insensitive compare on the
1814         login name as well.
1815
1816         * sys/solaris/Makefile: added 64-bit solaris patch from
1817         <jason@pattosoft.com.au>.
1818
1819 1999-03-03  a sun  <asun@hecate.darksunrising.blah>
1820
1821         * include/netatalk/endian.h: make solaris 2.5 complain less.
1822
1823         * bin/adv1tov2/adv1tov2.c, libatalk/adouble/ad_open.c (ad_v1tov2):
1824         fixed a couple problems with the adv1tov2 stuff.
1825
1826 1999-02-26  a sun  <asun@hecate.darksunrising.blah>
1827
1828         * etc/afpd/volume.c (afp_openvol): erk. the volume password gets
1829         aligned along an even boundary.
1830
1831 1999-02-23  a sun  <asun@hecate.darksunrising.blah>
1832
1833         * etc/afpd/volume.c (readvolfile): added volume password support. 
1834
1835 1999-02-14  a sun  <asun@hecate.darksunrising.blah>
1836
1837         * etc/atalkd/multicast.c (addmulti): added FreeBSD's data-link
1838         layer multicast setting bits.
1839
1840         * libatalk/adouble/ad_open.c (ad_v1tov2): make sure to stick in
1841         prodos field info when converting.
1842
1843         * rc.atalk.redhat: added pidof checking in case the machine
1844         crashes. also added rc.atalk.wrapper to the redhat rc script
1845         installation. 
1846
1847 1999-02-07  a sun  <asun@hecate.darksunrising.blah>
1848
1849         * etc/afpd/fork.c (afp_setforkparams): make sure to do better
1850         error detection here and more fully report error conditions.
1851         
1852         (flushfork): make sure to flush the header if necessary (rfork
1853         length changed or modification date needs to be set).
1854
1855         (afp_write): ugh. this wasn't returning the right values for the
1856         last byte written if the endflag was set. in addition, it was
1857         setting the modification date. that should be left to FPCloseFork
1858         and FPFlush(Fork). this fixes a problem that shows up with
1859         QuarkXPress. 
1860
1861         NOTE: as of now, changes to the rfork info are the only things
1862         that aren't flushed immediately when altered. 
1863
1864         * etc/afpd/fork.c (get/setforkparams), ofork.c: what ugliness. we
1865         need to report bitmap errors if we try to fiddle with the wrong
1866         fork. i added an of_flags field to keep things sorted.
1867
1868         * libatalk/adouble/ad_open.c (ad_v1tov2): oops. in all of the
1869         movement, i forgot to make sure that the pre-asun2.2.0 features
1870         still compile.
1871
1872 1999-02-06  a sun  <asun@hecate.darksunrising.blah>
1873
1874         * etc/afpd/filedir.c (afp_moveandrename): make sure to save the
1875         old name even when it's a directory.
1876
1877         * globals.h: added oldtmp and newtmp to AFPObj to reduce the
1878         number of buffers used. use these when needed in afp_* calls.
1879
1880         * etc/afpd/directory.c (deletecurdir): delete stray .AppleDouble
1881         files when deleting a directory.
1882
1883 1999-02-05  a sun  <asun@hecate.darksunrising.blah>
1884
1885         * etc/afpd/file.c (afp_createfile): fixed a hard create error
1886         check bug. 
1887
1888         * fixed up a few bobbles in the netatalk-990130 merge.
1889
1890         * the noadouble option should be pretty much implemented. here's
1891         how it goes:
1892                 when a directory is created, the corresponding
1893                 .AppleDouble directory is not.
1894                 
1895                 comments, dates, and other file attributes will get
1896                 silently ignored and not result in the creation of a new
1897                 .AppleDouble directory.
1898
1899                 however, if anything possessing a resource fork is copied
1900                 into that directory, the corresponding .AppleDouble
1901                 directory will be created. once this happens, any
1902                 other file in the directory can acquire an AppleDouble
1903                 header file in the future.
1904                 
1905 1999-02-03  a sun  <asun@hecate.darksunrising.blah>
1906
1907         * merged in the rest of netatalk-990130.
1908
1909         * sys/solaris: merged in netatalk-990130 changes.
1910
1911         * etc/afpd/file.c,fork.c,desktop.c libatalk/adouble/ad_sendfile.c:
1912         tested and fixed the sendfile bits on linux. it looks like linux
1913         doesn't permit socket -> file sendfiles yet.
1914
1915         * etc/afpd/fork.c (afp_read): we can't stream FPRead's with
1916         newline character checking on.
1917
1918 1999-02-02  a sun  <asun@hecate.darksunrising.blah>
1919
1920         * etc/afpd/fork.c (afp_flush), ofork.c (of_flush): FPFlush
1921         operates on a per-volume basis.
1922
1923 1999-01-31  a sun  <asun@hecate.darksunrising.blah>
1924
1925         * etc/afpd/file.c (copyfile): sendfile bits added here also.
1926
1927         * etc/afpd/desktop.c (afp_geticon): added sendfile bits here as
1928         well. 
1929
1930         * libatalk/adouble/ad_sendfile.c (ad_writefile/ad_readfile):
1931         implemented sendfile bits. currently, there's support for linux
1932         and freebsd. unfortunately, freebsd's implementation doesn't allow
1933         file->file or socket->file copies. bleah.
1934
1935 1999-01-30  a sun  <asun@hecate.darksunrising.blah>
1936
1937         * etc/afpd/file.c (setfilparams), directory (setdirparams),
1938         volume.c (volset): added in the beginnings of a NOADOUBLE option
1939         for those that don't want AppleDouble headers to be created by
1940         default. it doesn't really work that well right now.
1941
1942 1999-01-29  a sun  <asun@hecate.darksunrising.blah>
1943
1944         * libatalk/adouble/ad_open.c (ad_v1tov2): separated v1tov2 bits
1945         from ad_refresh. made broken v1 header checking the default. fixed
1946         broken v1 date checking. now, it just checks to see if the v1
1947         MDATE is > than st_mtime by 5 years.
1948
1949         * etc/afpd/directory.c: make date setting alter directory dates as
1950         well. 
1951
1952 1999-01-24  a sun  <asun@hecate.darksunrising.blah>
1953
1954         * etc/afpd/afp_dsi.c (alarm_handler,afp_over_dsi): added a
1955         CHILD_RUNNING flag to prevent afpd from timing out on long copies.
1956
1957 1999-01-21  a sun  <asun@hecate.darksunrising.blah>
1958
1959         * etc/afpd/volume.c (afp_openvol), libatalk/cnid/cnid_nextid.c:
1960         shift the beginning of the fake did's if necessary.
1961
1962         * libatalk/adouble/ad_open.c (ad_refresh): fixed screwed-up date
1963         detection code.
1964
1965         * libatalk/cnid/cnid_add.c,cnid_open.c,cnid_close.c: made some
1966         changes so that the CNIDs will still work even when the .AppleDB
1967         directory is read-only. if you're still allowed to create files on
1968         these volumes, you'll get a temporary id for those.
1969
1970 1999-01-20  a sun  <asun@hecate.darksunrising.blah>
1971
1972         * libatalk/cnid/{cnid_close.c,cnid_open.c}: added bits so that log
1973         files get cleared out on cnid_close() if it's the last user for a
1974         volume.
1975
1976 1999-01-18  a sun  <asun@hecate.darksunrising.blah>
1977
1978         * etc/afpd/volume.c (afp_setvolparams): added FPSetVolParms. this
1979         allows us to set the backup date on the server.
1980
1981         * etc/afpd/file.c (afp_exchangefiles): whee! we now have
1982         FPExchangeFiles. we also have FPDeleteID, so that only leaves us
1983         with FPCatSearch to do.
1984
1985 1999-01-16  a sun  <asun@hecate.darksunrising.blah>
1986
1987         * sys/solaris/ddp.c (ddp_rput): added a couple htons()'s for the
1988         net addresses.
1989
1990 1999-01-11  a sun  <asun@hecate.darksunrising.blah>
1991
1992         * etc/afpd/volume.c (volset, afp_openvol): you can now specify a
1993         dbpath= in AppleVolumes.* for the CNID database.
1994
1995         * libatalk/adouble/ad_open.c (ad_refresh): if we build in an
1996         appledouble v1 environment, turn on v1compat by default.
1997
1998 1999-01-10  a sun  <asun@hecate.darksunrising.blah>
1999
2000         * libatalk/adouble/ad_open.c (ad_refresh): added v1compat option
2001         to handle broken ad headers.
2002
2003         * etc/afpd/file.c (setfilparams): we need to make sure that we
2004         flush the file if we've created it even if there's an error.  the
2005         magic number/version don't get saved if we don't.
2006
2007         * etc/afpd/appl.c, etc/afpd/directory.c, etc/afpd/desktop.c: added
2008         DIRBITS to mkdirs.
2009
2010 1998-12-30  a sun  <asun@hecate.darksunrising.blah>
2011
2012         * etc/afpd/volume.c (afp_openvol): got rid of unnecessary v_did.
2013
2014         * etc/afpd/file.c (afp_resolveid, afp_createid): added these two
2015         in. 
2016
2017         * well, what do you know? the cnid stuff compiles in. 
2018
2019 1998-12-29  a sun  <asun@hecate.darksunrising.blah>
2020
2021         * etc/afpd/fork.c, directory.c, file.c, filedir.c, volume.c,
2022         enumerate.c: added in stubs for CNID database conditional on
2023         AD_VERSION > AD_VERSION1.
2024
2025         * etc/afpd/nls/makecode.c: added iso8859-1 mapping.
2026
2027 1998-12-27  a sun  <asun@hecate.darksunrising.blah>
2028
2029         * bin/adv1tov2/adv1tov2.c: turn non-printable ascii characters
2030         into hex code as well.
2031
2032 1998-12-21  a sun  <asun@hecate.darksunrising.blah>
2033
2034         * etc/afpd/auth.c: fixed FPChangePW for 2-way randnums.
2035
2036 1998-12-15  a sun  <asun@hecate.darksunrising.blah>
2037
2038         * etc/afpd/fork.c (read_file/write_file): do crlf translation in
2039         both directions so that we can recover from problems if
2040         necessary. 
2041
2042 1998-12-14  a sun  <asun@hecate.darksunrising.blah>
2043
2044         * bin/adv1tov2/adv1tov2.c: small utility program that recursively
2045         descends a directory and converts everything it sees into
2046         AppleDouble v2.
2047
2048 1998-12-13  a sun  <asun@hecate.darksunrising.blah>
2049
2050         * libatalk/adouble/ad_flush.c (ad_rebuild_header): moved the
2051         header rebuilding here so that ad_refresh can use it.
2052
2053         * libatalk/adouble/ad_open.c (ad_refresh): added locking to v1->v2
2054         conversion.
2055
2056         * bin/megatron/asingle.c: yuk. removed all of
2057         the duplicate stuff here and had it use the #defines in adouble.h.  
2058
2059         * libatalk/adouble/ad_open.c (ad_refresh): finished v1 -> v2
2060         conversion routine. we still need a shortname creator and a cnid
2061         database for the v2 features to be useful. 
2062
2063 1998-12-11  a sun  <asun@hecate.darksunrising.blah>
2064
2065         * libatalk/adouble/ad_open.c (ad_refresh): punt if we get a file
2066         that we don't understand.
2067
2068 1998-12-10  a sun  <asun@hecate.darksunrising.blah>
2069
2070         * etc/afpd/desktop.c (utompath,mtoupath): simplified the codepage
2071         stuff. also made sure to lower/upper the 8-bit characters as
2072         well. 
2073
2074         * libatalk/util/strdicasecmp.c: the casemapping had a few wrong
2075         characters. 
2076
2077         * etc/afpd/fork.c (getforkparams): make sure that the ROpen/DOpen
2078         attribute bits are in the correct byte ordering.
2079
2080 1998-12-09  a sun  <asun@hecate.darksunrising.blah>
2081
2082         * etc/afpd/volume.c (volset): made prodos an option to options=
2083         flag. also added crlf as an option.
2084
2085         * libatalk/adouble/ad_open.c (ad_refresh): fix up times if
2086         necessary. 
2087         (ad_open): deal correctly with 0-length files by treating them as
2088         newly created. 
2089
2090         * etc/afpd/volume.c (getvolparams), file.c (get/setfilparams),
2091         fork.c (getforkparams), directory.c (get/setdirparams): finished
2092         adding appledouble version 1 and 2 date conversion. also added
2093         attribute setting. 
2094         
2095         * etc/afpd/volume.c (getvolparams): make sure to flush the header
2096         file if we needed to fiddle with it. 
2097
2098         * libatalk/adouble/ad_date.c, ad_attr.c: date/attribute
2099         setting/retrieval code. 
2100
2101         * libatalk/adouble/ad_open.c (ad_open): initialize date
2102         structures here instead of elsewhere. 
2103
2104 1998-12-07  a sun  <asun@hecate.darksunrising.blah>
2105
2106         * etc/afpd/directory.c, fork.c, volume.c, file.c: added unix<->afp
2107         time conversion code. 
2108
2109 1998-12-05  a sun  <asun@hecate.darksunrising.blah>
2110
2111         * etc/afpd/volume.c (volset): changed prodos setting to
2112         prodos=true. 
2113
2114 1998-12-04  a sun  <asun@hecate.darksunrising.blah>
2115
2116         * etc/afpd/volume.c (volset): okay. you now have the following
2117         options to casefold: lowercase,uppercase,xlatelower,xlateupper
2118                 tolower    -> lowercases everything in both directions
2119                 toupper    -> uppercases everything in both directions
2120                 xlatelower -> client sees lowercase, server sees uppercase
2121                 xlateupper -> client sees uppercase, server sees lowercase
2122
2123         NOTE: you only should use this if you really need to do so. this
2124         and the codepage option can cause mass confusion if applied
2125         blindly to pre-existing directories.
2126         
2127 1998-12-03  a sun  <asun@hecate.darksunrising.blah>
2128
2129         * etc/afpd/desktop.c (utompath,mtoupath), etc/afpd/volume.h: added
2130         multiple options to casefold. bits 0 and 1 deal with MTOU, and
2131         bits 2 and 3 deal with UTOM. i did it that way so that you can
2132         casefold in one direction only or in both directions if
2133         desired. needless to say, setting both bits for UTOM or MTOU
2134         doesn't make any sense. right now, toupper takes precedence in
2135         MTOU, and tolower takes precedence in UTOM.
2136
2137 1998-12-02  a sun  <asun@hecate.darksunrising.blah>
2138
2139         * etc/afpd/afp_options.c (afp_options_*): added -uampath and
2140         -codepagepath to the list of available options. they specify the
2141         directories to look for uam modules and codepages,
2142         respectively. currently, -uampath doesn't do anything.
2143
2144         * etc/afpd/volume.c (readvolfile): spruced up options to
2145         AppleVolumes files. now you can have mtoufile=<codepage.x>,
2146         utomfile=<codepage.y>, casefold=<num> for volumes.
2147
2148         * etc/afpd/desktop.c (utompath,mtoupath): added
2149         codepage/casefolding support. casefold is currently an int that
2150         could have multiple actions. right now, i just lowercase in
2151         mtoupath and uppercase in utompath.
2152
2153         * etc/afpd/ofork.c (of_alloc, of_findname, of_rename): added vol
2154         as an additional specifier so that we don't have problems with
2155         the same path names on multiple volumes. 
2156
2157 1998-11-29  a sun  <asun@purgatorius.zoology.washington.edu>
2158
2159         * etc/afpd/volume.c (getvolparams): added AFP2.1 volume attribute
2160         bits. 
2161
2162 1998-11-24  a sun  <asun@purgatorius.zoology.washington.edu>
2163
2164         * etc/atalkd/config.c (readconf, getifconf): added IFF_SLAVE to
2165         prevent atalkd from trying to use a slave channel.
2166
2167 1998-11-23  a sun  <asun@purgatorius.zoology.washington.edu>
2168
2169         * etc/afpd/volume.c (getvolparams): we shouldn't set the custom
2170         icon bit by default on the root directory. that screws up pre-OS 8
2171         systems.
2172
2173 1998-11-19  a sun  <asun@purgatorius.zoology.washington.edu>
2174
2175         * libatalk/dsi/dsi_getsess.c (dsi_getsession): ignore SIGPIPE's
2176         so that we can gracefully shut down the server side.
2177
2178         * etc/afpd/afp_dsi.c (afp_over_dsi), etc/afpd/afp_options.c,
2179         libatalk/dsi/dsi_getsess.c (dsi_getsession),
2180         libatalk/asp/asp_getsess.c (asp_getsession): made the tickle timer
2181         interval an option (-tickleval <sec>).
2182         
2183         * etc/afpd/afp_dsi.c (afp_dsi_timedown): added child.die so that
2184         we don't stomp on a shutdown timer. libatalk/dsi/dsi_read.c,
2185         dsi_write.c both save/restore the old timer, so they don't really
2186         care what the actual value is. 
2187         
2188 1998-11-18  a sun  <asun@purgatorius.zoology.washington.edu>
2189
2190         * due to the recent obsession with bug fixing and low-level dsi
2191         cleanups, i've decided that this should really be asun2.1.1
2192         instead of asun2.1.0a.
2193
2194 1998-11-17  a sun  <asun@purgatorius.zoology.washington.edu>
2195
2196         * libatalk/dsi/dsi_tcp.c (dsi_tcp_open): moved the afpd connection
2197         announcement here from etc/afpd/afp_dsi.c. 
2198         
2199         * libatalk/dsi/dsi_stream.c: moved all of the read/write functions
2200         into here as they're pretty generic. now, the protocol specific
2201         stuff only handles open and close. 
2202
2203         * etc/afpd/fork.c (afp_read/write), desktop.c (afp_geticon),
2204         file.c (copyfile), include/atalk/dsi.h (dsi_writefile/readfile):
2205         added initial stubs for sendfile support. i still need to go
2206         through and calculate the appropriate offsets to use. 
2207
2208         * libatalk/dsi/dsi_read.c, dsi_write.c: disable the interval timer
2209         instead of just ignoring it.
2210
2211         * etc/afpd/desktop.c (afp_geticon), etc/afpd/fork.c (afp_read),
2212         libatalk/dsi/dsi_read.c (dsi_readinit, dsi_readinit): modified the
2213         dsi_read interface to return errors so that i can kill things
2214         gracefully. 
2215
2216 1998-11-16  a sun  <asun@purgatorius.zoology.washington.edu>
2217
2218         * libatalk/dsi/dsi_tcp.c (dsi_tcp_send/dsi_tcp_write): erk. read()
2219         and write() treat a return of 0 differently. 
2220
2221 1998-11-16  a sun  <asun@hecate.darksunrising.blah>
2222
2223         * libatalk/dsi/dsi_read.c (dsi_readinit): make sure to stick in
2224         the error code.
2225
2226 1998-11-15  a sun  <asun@purgatorius.zoology.washington.edu>
2227
2228         * etc/afpd/fork.c (afp_read): re-ordered some of the checks here
2229         to return earlier on 0-sized files.
2230
2231 1998-11-13  a sun  <asun@purgatorius.zoology.washington.edu>
2232
2233         * etc/afpd/afp_dsi.c (afp_over_dsi): moved the dsi->noreply toggle
2234         check to here from dsi_cmdreply.
2235
2236 1998-11-11  a sun  <asun@purgatorius.zoology.washington.edu>
2237
2238         * etc/atalkd/zip.c (zip_packet): make sure to copy multicast zone
2239         back out. (reported by Michael Zuelsdorff <micha@dolbyco.han.de>)
2240
2241 1998-11-09  a sun  <asun@purgatorius.zoology.washington.edu>
2242
2243         * etc/afpd/directory.c (getdirparams): changed unknown bit reply
2244         code to AFPERR_BITMAP instead of AFPERR_PARAM.
2245
2246 1998-11-06  a sun  <asun@purgatorius.zoology.washington.edu>
2247
2248         * etc/afpd/enumerate.c (afp_enumerate), directory.c (renamedir):
2249         fixed a couple of failed realloc leaks.
2250
2251         * etc/afpd/filedir.c (afp_moveandrename, afp_rename): added bits
2252         to deal with case-insensitive, case-preserving filesystems.
2253
2254 1998-10-30  a sun  <asun@purgatorius.zoology.washington.edu>
2255
2256         * etc/afpd/auth.c: fixed randnum password changing check. 
2257
2258 1998-10-27  a sun  <asun@purgatorius.zoology.washington.edu>
2259
2260         * etc/atalkd/main.c: add a check for SIOCATALKDIFADDR if
2261         SIOCDIFADDR fails.
2262         
2263         * etc/afpd/volume.c (getvolparams): ad_open had the wrong
2264         parameters. 
2265
2266         * etc/afpd/unix.c (setdeskowner): added a little extra space to
2267         prevent buffer overflows here.
2268
2269 1998-10-26  a sun  <asun@purgatorius.zoology.washington.edu>
2270
2271         * sys/linux/Makefile: fixed PAM message.
2272
2273         * sys/solaris/Makefile: make failure to ln -s a non-fatal error. 
2274
2275         * etc/papd/session.c, bin/pap/pap.c: changed sequence count to
2276         wrap from 0 -> 1 instead of from 0xFFFF -> 1.
2277
2278         * etc/afpd/filedir.c (afp_rename, afp_moveandrename): actually, we
2279         should check against the entire unix name.
2280         
2281 1998-10-21  a sun  <asun@purgatorius.zoology.washington.edu>
2282
2283         * etc/afpd/filedir.c (afp_rename, afp_moveandrename): make sure
2284         to check against mac name.
2285
2286 1998-10-19  a sun  <asun@purgatorius.zoology.washington.edu>
2287
2288         * etc/afpd/auth.c (afp_changepw): make password changing deal
2289         correctly with "real" user names. also, moved seteuid() to before
2290         the pam_authenticate() bit as shadow passwords need that.
2291
2292         * etc/afpd/enumerate.c (afp_enumerate): make sure to check the mac
2293         name against MACFILELEN.
2294
2295 1998-10-16  a sun  <asun@purgatorius.zoology.washington.edu>
2296
2297         * etc/afpd/file.c (renamefile), filedir.c (afp_rename),
2298         directory.c (renamedir): use strndiacasecmp() for AFPERR_SAMEOBJ
2299         checks. also make sure test occurs before checking to see if the
2300         destination exists.
2301
2302 1998-10-15  a sun  <asun@purgatorius.zoology.washington.edu>
2303
2304         * etc/afpd/auth.c (afp_changepw): fixed a bit of brain damage. i
2305         forgot that password changing needs root privileges to work.
2306
2307         * etc/afpd/auth.c (PAM_conversation): the supplied code was
2308         incorrect. i cleaned it up a bit.
2309
2310         * sys/linux/Makefile: fixed the installation bits.
2311
2312 1998-10-14  a sun  <asun@purgatorius.zoology.washington.edu>
2313
2314         * etc/afpd/auth.c (afp_changepw): don't kill the connection here
2315         if there's a problem.
2316
2317 1998-10-10  a sun  <asun@purgatorius.zoology.washington.edu>
2318
2319         * etc/afpd/enumerate.c, fork.c, ofork.c, file.c,
2320         globals.h, directory.c, auth.c: #defined MACFILELEN and used
2321         that. also made sure that files > MACFILELEN never show up.
2322
2323 1998-09-25  a sun  <asun@purgatorius.zoology.washington.edu>
2324
2325         * etc/{afpd,papd,atalkd}/bprint.c (bprint): got rid of the
2326         spurious pointer dereference.
2327
2328         * etc/afpd/ofork.c (of_alloc/of_rename): allocate the max mac file
2329         length so that we don't need to realloc.
2330
2331         * etc/afpd/filedir.c (afp_rename, afp_moveandrename): make sure to
2332         return AFPERR_BUSY if the dest has an ofork open.
2333
2334         * etc/afpd/file.c (renamefile), directory.c (renamedir), filedir.c
2335         (afp_rename): return AFPERR_SAMEOBJ if source == dest
2336
2337 1998-09-21  a sun  <asun@purgatorius.zoology.washington.edu>
2338
2339         * etc/afpd: went through and looked for places that needed to use
2340         curdir instead of dir. i think i have them all right now.
2341
2342         * etc/afpd/filedir.c (afp_moveandrename): wasn't keeping track of
2343         curdir correctly. what this really means is that cname should be
2344         fixed to return everything it changes as opposed to changing a
2345         global variable. 
2346
2347 1998-09-19  a sun  <asun@purgatorius.zoology.washington.edu>
2348
2349         * etc/afpd/config.c (configinit): do the right thing if
2350         AFPConfigInit fails.
2351
2352 1998-09-18  a sun  <asun@purgatorius.zoology.washington.edu>
2353
2354         * etc/afpd/config.c (ASP/DSIConfigInit, configfree): how 
2355         embarrassing. i wasn't doing refcounts correctly.
2356
2357 1998-09-17  a sun  <asun@purgatorius.zoology.washington.edu>
2358
2359         * etc/afpd/nfsquota.c (getnfsquota): ultrix uses dqb_bwarn instead
2360         of dqb_btimelimit.
2361
2362         * sys/ultrix/Makefile: ultrix understands the old rquota format. 
2363
2364         * etc/afpd/ofork.c (of_findname): erk. forgot to only search in
2365         the current directory. 
2366         (of_rename): erk. changed it to handle renaming a file that has
2367         been opened multiple times.
2368
2369         * etc/atalkd: made sure that if you don't specify -router, things
2370         are as they were before. 
2371
2372 1998-09-13  a sun  <asun@purgatorius.zoology.washington.edu>
2373
2374         * etc/afpd/status.c (status_flags): forgot to turn on password
2375         setting if randnum passwords are being used.
2376
2377 1998-09-11  a sun  <asun@purgatorius.zoology.washington.edu>
2378
2379         * etc/afpd/unix.c (setdirmode): erk. make sure only to setgid on
2380         directories. 
2381
2382         * bin/aecho/aecho.c (main): incorporated -c <num> (ala ping) patch
2383         from "Fred Lindberg" <lindberg@id.wustl.edu>.
2384
2385 1998-09-03  a sun  <asun@purgatorius.zoology.washington.edu>
2386
2387         * etc/afpd/directory.c (afp_closedir, afp_opendir): added these in
2388         for more AFP 2.0 compliance. unfortunately, apple's appleshare
2389         client doesn't like non-fixed directory ids.
2390
2391 1998-08-31  a sun  <asun@purgatorius.zoology.washington.edu>
2392
2393         * etc/afpd/volume.c (accessvol): the accessible volume list can
2394         now be controlled by groups and usernames. just use something of
2395         the following form: @group,name,name2,@group2,name3
2396
2397         NOTE: you can't have any spaces, and the parser forces you to
2398         include all options. in this case, there are some apple II options
2399         that need to be entered. they need to go away soon anyway.
2400
2401         * etc/afpd/auth.c (getname): oops. i forgot to copy the gecos
2402         field into a temporary buffer before calling strtok.
2403
2404 1998-08-29  a sun  <asun@hecate.darksunrising.blah>
2405
2406         * etc/atalkd/main.c (as_timer), rtmp.c (rtmp_delzones): when the 
2407         last router on an interface goes down, we need to delete the
2408         interface's zone table.
2409
2410 1998-08-28  a sun  <asun@purgatorius.zoology.washington.edu>
2411
2412         * etc/afpd/status.c (afp_getsrvrinfo): although it's never used,
2413         i've added this in to increase AFP compliance.
2414
2415         * etc/afpd/auth.c (afp_getuserinfo): added FPGetUserInfo -- this
2416         should make afpd compatible with OS 8.5's Nav Services.
2417
2418         * etc/atalkd/config.c,main.c: -router now specifies router mode
2419         with any number of interfaces.
2420
2421 1998-08-27  a sun  <asun@purgatorius.zoology.washington.edu>
2422
2423         * etc/atalkd/main.c (as_timer): well, i figured out how to set up
2424         atalkd as a single-interface router. now, you can get zones with
2425         only single interfaces! i'm only waiting on wes for the approved
2426         configuration toggle.
2427
2428 1998-08-26  a sun  <asun@purgatorius.zoology.washington.edu>
2429
2430         * libatalk/adouble/ad_lock.c, include/atalk/adouble.h: turned the
2431         ADLOCK_* into real #defines and added translations in the
2432         lock-type specific functions. this should make it easier to
2433         recompile things without screwing up.
2434
2435 1998-08-26  a sun  <asun@hecate.darksunrising.blah>
2436
2437         * etc/atalkd/nbp.c (nbp_packet): forgot to handle another local
2438         zone case.
2439
2440 1998-08-25  a sun  <asun@hecate.darksunrising.blah>
2441
2442         * etc/afpd/status.c (status_server): changed status_server to
2443         use only the obj part of obj:type@zone-style names.
2444
2445         * etc/atalkd/nbp.c (nbp_packet): unregistering wasn't handling
2446         zones properly. it was matching on anything but the actual zone.
2447
2448 1998-08-18  a sun  <asun@purgatorius.zoology.washington.edu>
2449
2450         * etc/afpd/auth.c (clrtxt_login): added pam_set_time(PAM_TTY) so
2451         that solaris' pam session setup doesn't crap out.
2452
2453 1998-08-17  a sun  <asun@purgatorius.zoology.washington.edu>
2454
2455         * etc/atalkd/multicast.c (zone_bcast): fixed to do the right thing
2456         with zip multicast info.
2457
2458 1998-08-15  a sun  <asun@purgatorius.zoology.washington.edu>
2459
2460         * etc/afpd/nfsquota.c: made the old-style rquota fields dependent
2461         upon -DUSE_OLD_RQUOTA and defined that for sunos. also included
2462         <sys/time.h> for ultrix breakage.
2463
2464 1998-08-13  a sun  <asun@purgatorius.zoology.washington.edu>
2465
2466         * etc/afpd/filedir.c (afp_rename), etc/afpd/ofork.c (of_rename): i
2467         knew that speeding up of_findname would be useful. in any case, i
2468         discovered the source of yet another small AFP non-compliance that
2469         was confusing WordPerfect. on an afp_rename, we also need to
2470         rename the corresponding ofork. i've added an of_rename() to do
2471         this.
2472
2473 1998-08-13  a sun  <asun@hecate>
2474
2475         * etc/afpd/ofork.c (of_dealloc,of_alloc): sped up dealloc by
2476         sticking refnum in ofork.
2477
2478 1998-08-12  a sun  <asun@hecate>
2479
2480         * etc/afpd/fork.c (afp_openfork): added already open attribute
2481         bits.
2482
2483         * etc/afpd/ofork.c: added a hashed of_findname.
2484
2485 1998-08-06  a sun  <asun@purgatorius.zoology.washington.edu>
2486
2487         * etc/afpd/fork.c (afp_openfork): fixed a problem with opening
2488         forks from read-only non-appledouble media.
2489
2490 1998-07-23  a sun  <asun@purgatorius.zoology.washington.edu>
2491
2492         * etc/afpd/afs.c (afs_getvolspace), etc/afpd/volume.c
2493         (getvolspace): modified them to treak afs like the other
2494         getvolspaces w.r.t. VolSpace.
2495
2496 1998-07-21  a sun  <asun@purgatorius.zoology.washington.edu>
2497
2498         * etc/afpd/unix.c (mountp): erk. i forgot that symlinks are often
2499         used for filesystems. nfs quotas sometimes failed as a
2500         result. that's fixed now.
2501
2502 1998-07-20  a sun  <asun@purgatorius.zoology.washington.edu>
2503
2504         * etc/afpd/auth.c (login): added a -DRUN_AS_USER #define so that
2505         it's simple to run the server process as a non-root user.
2506
2507 1998-07-17  a sun  <asun@purgatorius.zoology.washington.edu>
2508
2509         * etc/afpd/nfsquota.c (callaurpc, getnfsquota), volume.h: it turns
2510         out that i was opening lots of sockets with callaurpc. now, the
2511         socket gets saved and reused.
2512
2513         NOTE: quota-1.55-9 from redhat 5.x doesn't return the correct size
2514         for rquota's bsize. unless fixed, rquota will report incorrect
2515         values. 
2516         
2517 1998-07-08  a sun  <asun@purgatorius.zoology.washington.edu>
2518
2519         * etc/afpd/uam/README: added some preliminary ideas on a
2520         plug-in uam architecture. in addition, this should allow arbitrary
2521         afp function replacement. eventually, auth.c should get a
2522         bit cleaner.
2523
2524 1998-07-07  a sun  <asun@purgatorius.zoology.washington.edu>
2525
2526         * etc/afpd/nfsquota.c: added headers and redefined a couple
2527         structure fields so that sunos4 compiles.
2528
2529         * libatalk/compat/rquota_xdr.c: compile if we're using glibc <
2530         2. this should get redhat 4.2 machines. NOTE: they're still
2531         missing librpcsvc.a, so they'll need to remove that from the
2532         etc/afpd/Makefile. 
2533
2534 1998-07-06  a sun  <asun@purgatorius.zoology.washington.edu>
2535
2536         * libatalk/compat/rquota_xdr.c: it turns out that solaris is
2537         missing a couple functions needed for rquota support. here they
2538         are. 
2539
2540         * etc/afpd/unix.c (mountp): fixed the nfs detection for
2541         solaris. we still need bsd and ultrix.
2542
2543 1998-07-05  a sun  <asun@hecate>
2544
2545         * include/atalk/adouble.h: marked out space for appledouble v2. 
2546
2547 1998-07-04  a sun  <asun@hecate>
2548
2549         * etc/afpd: plugged up some ad_open leaks. made sure that we don't
2550         get negative numbers for length fields and such.
2551         
2552 1998-07-04  a sun  <asun@hecate>
2553
2554         * etc/afpd/nfsquota.c (getnfsquota): added nfs rquota
2555         support. Robert J. Marinchick <rjm8m@majink1.itc.virginia.edu>
2556         provided the initial bits from the bsd quota program. 
2557
2558         * etc/afpd/unix.c (getquota): made getquota call getfsquota or
2559         getnfsquota depending upon the type of fs. 
2560
2561         * etc/afpd/unix.c (mountp/special): munged mountp and
2562         special to return either the nfs mount point or the fs
2563         device. set the vol->v_nfs flag if it's nfs.
2564
2565         * etc/afpd/volume.c (getvolspace): xbfree and xbtotal will now
2566         honor results returned from uquota_getvolspace.
2567         
2568 1998-06-29  a sun  <asun@purgatorius.zoology.washington.edu>
2569
2570         * etc/afpd/file.c (copyfile): mmapping the file copy only helps on
2571         multiple copies. as that's not the case here, i've reverted to
2572         just doing read + write.
2573         
2574 1998-06-28  a sun  <asun@purgatorius.zoology.washington.edu>
2575
2576         * sys/linux/Makefile: fixed the redhat-style atalk
2577         installation. also, it doesn't over-write an existing
2578         /etc/rc.d/init.d/atalk file.
2579
2580         * etc/afpd, libatalk/adouble/ad_write.c: removed <sys/file.h> and
2581         </usr/ucbinclude/sys/file.h> so that we rely upon adouble.h.
2582
2583 1998-06-19  a sun  <asun@purgatorius.zoology.washington.edu>
2584
2585         * changed sys/linux/Makefile to install a redhat-style sysv atalk
2586         script instead of the bsd one.
2587
2588         * include/atalk/adouble.h: moved same-name list stub to struct
2589         ad_adf. 
2590         
2591 Thu Jun 18 18:20:28 1998  a sun  <asun@purgatorius>
2592
2593         * changed to asunx.y.z notation as i was getting tired of
2594         increasing numbers. as this version is undergoing a fairly
2595         substantial overhaul, i bumped it to 2.1.0. don't ask why asun1.0
2596         never existed. i just started at 2.0.
2597
2598         * ofork (etc/afpd/{ofork.c,ofork.h,fork.c}: put in skeleton code
2599         for hashed-by-name oforks and oforks which group by name to help
2600         with byte locks and of_findname.
2601
2602         * adouble (include/atalk/adouble.h): started implementing
2603         appledouble v2. mostly, i added bits to headers. v2 has wonderful
2604         bits that should make prodos support much less clunky, allow
2605         persistent dids, and allow msdos support.
2606
2607         * finder info: added bits to directory.c and file.c describing the
2608         actual contents of finder info (from IM: Toolbox
2609         Essentials). also, set default directory view to an allowed value
2610         thanks to a suggestion from the appledouble v2 specs. that should
2611         help with read-only media.
2612
2613         * etc/afpd/{directory.c,volume.c,afs.c,directory.h}: added
2614         DIRDID_ROOT and DIRDID_ROOT_PARENT so people know that these did's
2615         are reserved.
2616         
2617 Wed Jun 17 11:54:49 1998  a sun  <asun@purgatorius>
2618
2619         * well, i'm starting a changelog as i keep forgetting what i've
2620         done. 
2621
2622         * locks: revamped them to be more in line with what should
2623         happen. currently, i've reverted back to flock-style locks as i'll
2624         need to stick in more code to get fcntl-style locks to work
2625         properly. specifically, i think modifying of_alloc/of_dealloc to
2626         keep track of locks, fds, and names should solve the problem with
2627         fcntl locks being process-specific and not fd specific.
2628