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