3 * FIX: dbd: Better checking for duplicated or bogus CNIDs from AppleDouble files
8 * NEW: afpd: disable continous service feature by default, new option
9 -keepsessions to enable it
10 * NEW: configure option "--enable-redhat-systemd" for Fedora15 and later.
11 "--enable-redhat" is renamed "--enable-redhat-sysv".
12 * UPD: afpd: Enhance ACL support detection for volumes: enable them per volume
14 1) ACL support compiled in, 2) the volume supports ACLs, 3) the new
15 volume option "noacls" is not set for the volume.
16 The previous behaviour was to enable ACL support for a volume if
17 1) it was compiled in and 2) the volume supported ACLs. There was no way
18 to disable ACLs for a volume.
19 * UPD: afpd: add a configurable hold time option to FCE file modification event
20 generation, default is 60 s, new option "fceholdfmod" to change it
21 * UPD: afpd: add support for new NetBSD quota subsystem, Bug ID 3249879
22 * FIX: afpd: increase BerkeleyDB locks and lockobjs
23 * FIX: afpd: create special folder as root
24 * FIX: afpd: fix compilation error if --enable-ddp is used
25 * FIX: afpd: More robust IPC reconnect error handling
26 * FIX: afpd: ACL access checking
27 * FIX: afpd: fix a possible race condition between SIGCHLD handler and
28 new connection attempts
29 * FIX: afpd: fix undefined behaviour when more then ~510 connetions where
31 * FIX: afpd: fix a crash when searching for a UUID that is not a special
32 local UUID and LDAP support is not compiled in
33 * FIX: afpd: .volinfo file not created on first volume access if user in rolist
34 * FIX: afpd: possible crash at startup when registering with Avahi
35 when Avahi is not running
36 * FIX: afpd: return correct user/group type when mapping UUIDs to names
37 * FIX: afpd: for directories add DARWIN_ACE_DELETE ACE
38 if DARWIN_ACE_ADD_SUBDIRECTORY is set
39 * FIX: afpd: afpd crashed when it failed to register with Avahi because eg
40 user service registration is disabled in the Avahi config
41 * FIX: dbd: function checking and removing malformed ad:ea header files failed
42 to chdir back to the original working directory
43 * FIX: cnid_dbd: increase BerkeleyDB locks and lockobjs
44 * FIX: cnid_dbd: implement -d option, deletes CNID db
45 * FIX: dbd: better detection of local (or SMB/NFS) modifications on AFP volumes
46 * FIX: suse: initscript return better status
47 * FIX: Sourcecode distribution: add missing headers
48 * FIX: Solaris 10: missing dirfd replacement function
49 * FIX: case-conversion of surrogate pair
50 * FIX: Compilation error on GNU/kFreeBSD, fixes Bug ID 3392794 and
52 * FIX: Fix Debian Bug#637025
53 * FIX: Multiple *BSD compilation compatibility fixes, Bug ID 3380785
54 * FIX: precompose_w() failed if tail character is decomposed surrogate pair
59 * NEW: afpd: new volume option "nonetids"
60 * NEW: afpd: ACL access check caching
61 * NEW: afpd: FCE event notifications
62 * NEW: afpd: new option "-mimicmodel" for specifying Bonjour model registration
63 * UPD: Support for Berkeley DB 5.1
64 * UPD: case-conversion is based on Unicode 6.0.0
65 * UPD: cnid_metad: allow up to 4096 volumes
66 * UPD: afpd: only forward SIGTERM and SIGUSR1 from parent to childs
67 * UPD: afpd: use internal function instead of popening du -sh in order to
68 calculate the used size of a volume for option "volsizelimit"
69 * UPD: afpd: Add negative UUID caching, enhance local UUID handling
70 * FIX: afpd: configuration reload with SIGHUP
71 * FIX: afpd: crashes in the dircache
72 * FIX: afpd: Correct afp logout vs dsi eof behaviour
73 * FIX: afpd: new catsearch was broken
74 * FIX: afpd: only use volume UUIDs in master afpd
75 * FIX: dbd: Multiple fixes, reliable locking
76 * FIX: ad file suite: fix an error that resulted in CNID database
82 * NEW: afpd: new afpd.conf options "tcprcvbuf" and "tcpsndbuf" to customize
83 the corresponding TCP socket options.
84 * NEW: afpd: new afpd.conf option "nozeroconf" which disabled automatic
85 Zeroconf service registration.
86 * FIX: afpd: generate mersenne primes for DHX2 UAM once at startup,
88 * FIX: afpd: DSI streaming deadlock
89 * FIX: afpd: extended sleep
90 * FIX: afpd: directory cache
91 * FIX: Support for platforms that do not have the *at functions
92 * UPD: afpd: put POSIX write lock on volume files while reading them
97 * FIX: afpd: fix option volsizelimit to return a usefull value for the
98 volume free space using `du -sh` with popen
99 * FIX: afpd: fix idle connection disconnects
100 * FIX: afpd: don't disconnect sessions for clients if boottimes don't match
101 * FIX: afpd: better handling of very long filenames that contain many
102 multibyte UTF-8 glyphs
108 * UPD: afpd: AFP 3.x can't be disabled
113 * FIX: composition of Surrogate Pair
114 * UPD: gentoo,suse,cobalt,tru64: inistscript name is "netatalk", not "atalk"
115 * UPD: gentoo: rc-update install don't hook in the Makefile
120 * UPD: afpd: new option "searchdb" which enables fast catalog searches
122 * UPD: Case-insensitive fast search with the CNID db
123 * UPD: cnid_dbd: afpd now passes the volume path, not the db path when
124 connecting for a volume. cnid_dbd will read the
125 ".AppleDesktop/.volinfo" file of the volume in order to figure
126 out the CNID db path and the volume charset encoding.
131 * NEW: Enhanced CNID "dbd" database for fast name search support.
132 Important: this makes cnidscheme "cdb" incompatible with "dbd".
133 * NEW: afpd: support for fast catalog searches
134 * NEW: ad utility: ad find
135 * UPD: afpd: CNID database versioning check for "cdb" scheme
136 * UPD: cnid_dbd: CNID database versioning and upgrading. Additional
137 CNID database index for fast name searches.
142 * FIX: afpd: various fixes
143 * FIX: Any daemon did not run if atalkd doesn't exist (redhat/debian)
148 * FIX: afpd: fix compilation error when ACL support is not available
149 * FIX: Ensure Appletalk manpages and config files are distributed
154 * NEW: ad utility: ad cp
155 * NEW: ad utility: ad rm
156 * NEW: ad utility: ad mv
157 * NEW: afpd: dynamic directoy and CNID cache (new config option -dircachesize)
158 * NEW: afpd: POSIX 1e ACL support
159 * NEW: afpd: automagic Zeroconf registration with avahi, registering both
160 the service _afpovertcp._tcp and TimeMachine volumes with _adisk._tcp.
161 * UPD: afpd: ACLs usable (though not visible on the client side) without common
162 directory service, by mapping ACLs to UARight
163 * UPD: afpd: performance improvements for ACL access calculations
164 * UPD: AppleTalk is disabled by default at configuration time. If needed
165 use configure switch --enable-ddp.
166 * FIX: afpd: Solaris 10 compatibilty fix: don't use SO_SNDTIMEO/SO_RCVTIMEO,
167 use non-blocking IO and select instead.
168 * FIX: cnid_dbd: Solaris 10 compatibilty fix: don't use SO_SNDTIMEO/SO_RCVTIMEO,
169 use non-blocking IO and select instead.
170 * REM: afile/achfile/apple_cp/apple_mv/apple_rm: use ad
175 * FIX: afpd: Fix for LDAP user cache corruption
176 * FIX: afpd: Fix for not shown ACLs for when filesyem uid or gid
177 couldn't be resolved because (eg deleted users/groups)
178 * FIX: gentoo: cannot set $CNID_CONFIG
179 * FIX: ubuntu: servername was empty
180 * FIX: Solaris: configure script failed to enable DDP module
181 * FIX: AppleDouble buffer overrun by extremely long filename
182 * UPD: afpd: return version info with machine type in DSIGetStatus
183 * UPD: dbd: use on-disk temporary rebuild db instead of in-memory db
184 * UPD: suse: initscript update
189 * UPD: afpd: support newlines in -loginmesg with \n escaping syntax
190 * UPD: afpd: support for changed chmod semantics on ZFS with ACLs
192 * FIX: afpd: fix leaking ressource when moving objects on the server
193 * FIX: afpd: backport Solaris 10 compatibilty fix from 2.2: don't use
194 SO_SNDTIMEO/SO_RCVTIMEO, use non-blocking IO and select instead.
195 * FIX: afpd: misaligned memory access on Sparc in ad_setattr, fixes
197 * FIX: cnid_dbd: backport Solaris 10 compatibilty fix from 2.2: don't
198 use SO_SNDTIMEO/SO_RCVTIMEO, use non-blocking IO and select instead.
203 * FIX: afpd: Downstream fix for FreeBSD PR 148022
204 * FIX: afpd: Fixes for bugs 3074077 and 3074078
205 * FIX: afpd: Better handling of symlinks in combination with ACLs and EAs.
207 * FIX: dbd: Adding a file with the CNID from it's adouble file did
208 not work in case that CNID was already occupied in the database
209 * FIX: macusers: add support for Solaris
210 * NEW: cnid_metad: use a PID lockfile
211 * NEW: afpd: prevent log flooding
212 * UPD: dbd: ignore ".zfs" snapshot directories
213 * UPD: dbd: support interrupting -re mode
218 * FIX: afpd: fix a serious error in networking IO code
219 * FIX: afpd: Solaris 10 compatibilty fix: don't use SO_SNDTIMEO, use
220 non-blocking IO and select instead for writing/sending data.
221 * UPD: Support for BerkeleyDB 5.0.
226 * FIX: afpd: fix for possible crash in case more then one server is
227 configured in afpd.conf.
228 * FIX: afpd: ExtendedAttributes in FreeBSD
229 * FIX: afpd: sharing home folders corrupted the per volume umask.
230 * UPD: afpd: umask for home folders is no longer taken from startup umask.
231 * UPD: afpd: dont and permissions with parent folder when creating new
232 directories on "upriv" volumes.
233 * UPD: afpd: use 'afpserver@fqdn' instead of 'afpserver/fqdn@realm'.
234 Prevents a crash in older GNU GSSAPI libs on eg. CentOS 5.x.
239 * UPD: fallback to a temporary in memory tdb CNID database if the volume
240 database can't be opened now works with the default backend "dbd" too.
241 * FIX: afpd: afp_ldap.conf was missing from tarball. This only effected
243 * FIX: afpd: Check if options->server is set in set_signature, preventing
245 * FIX: afpd: server signature wasn't initialized in some cases
246 * FIX: DESTDIR support: DESTDIR was expanded twice
247 * FIX: Fix for compilation error if header files of an older Netatalk
248 version are installed.
250 Changes in 2.1-release
251 ======================
253 * NEW: afpd: new volume option "volsizelimit" for limitting reported volume
254 size. Useful for limitting TM backup size.
255 * UPD: dbd: -c option for rebuilding volumes which prevents the creation
256 of .AppleDouble stuff, only removes orphaned files.
261 * NEW: afpd: static generated AFP signature stored in afp_signature.conf,
262 cf man 5 afp_signature.conf
263 * NEW: afpd: clustering support: new per volume option "cnidserver".
264 * UPD: afpd: set volume defaults options "upriv" and "usedots" in the
265 volume config file AppleVolumes.default. This will only affect
266 new installations, but not upgrades.
267 * FIX: afpd: prevent security attack guessing valid server accounts. afpd
268 now returns error -5023 for unknown users, as does AppleFileServer.
273 * NEW: afpd: AFP 3.2 support
274 * NEW: afpd: Extended Attributes support using native attributes or
275 using files inside .AppleDouble directories.
276 * NEW: afpd: ACL support with ZFS
277 * NEW: cnid_metad: options -l and -f to configure logging
279 * NEW: AppleDouble compatible UNIX files utility suite `ad ...`.
280 With 2.1 only `ad ls`.
281 * NEW: CNID database maintanance utility dbd
282 * NEW: support BerkeleyDB upgrade. Starting with the next release
283 after 2.1 in case of BerkeleyDB library updates, Netatalk
284 will be able to upgrade the CNID databases.
285 * NEW: afpd: store and read CNIDs to/from AppleDouble files by default.
286 This is used as a cache and as a backup in case the database
287 is deleted or corrupted. It can be disabled with a new volume
288 option "nocnidcache".
289 * NEW: afpd: sending SIGINT to a child afpd process enables debug logging
290 to /tmp/afpd.PID.XXXXXX.
291 * NEW: configure args to download and install a "private" Webmin instance
292 including only basic Webmin modules plus our netatalk.wbm.
293 * NEW: fallback to a temporary in memory tdb CNID database if the volume
294 database can't be opened.
295 * NEW: support for Unicode characters in the range above U+010000 using
296 internal surrogate pairs
297 * NEW: apple_dump: utility to dump AppleSingle and AppleDouble files
298 * NEW: afpldaptest: utility to check afp_ldap.conf.
299 * UPD: atalkd and papd are now disabled by default. AppleTalk is legacy.
300 * UPD: slp advertisement is now disabled by default. server option -slp
302 * UPD: cdb/dbd CNID backend requires BerkeleyDB >= 4.6
303 * UPD: afpd: default CNID backend is "dbd"
304 * UPD: afpd: try to install PAM config that pulls in system|common auth
305 * UPD: afpd: symlink handling: never followed server side, client resolves
306 them, so it's safe to use them now.
307 * UPD: afpd: Comment out all extension->type/creator mappings in
308 AppleVolumes.system. They're unmaintained, possibly wrong and
310 * FIX: rewritten logger
311 * FIX: afpd: UNIX permissions handling
312 * FIX: cnid_dbd: always use BerkeleyDB transactions
313 * FIX: initscripts installation now correctly uses autoconf paths,
314 ie they're installed to --sysconfdir.
315 * FIX: UTF-8 volume name length
316 * FIX: atalkd: workaround for broken Linux 2.6 AT kernel module:
317 Linux 2.6 sends broadcast queries to the first available socket
318 which is in our case the last configured one. atalkd now tries to
320 Note: now a misconfigured or plugged router can broadcast a wrong route !
321 * REM: afpd: removed CNID backends "db3", "hash" and "mtab"
322 * REM: cnid_maint: use dbd
323 * REM: cleanappledouble.pl: use dbd
324 * REM: nu: use `macusers` instead
329 * NEW: afpd: Time Machine support with new volume option "tm".
330 * FIX: papd: Remove variable expansion for BSD printers. Fixes CVE-2008-5718.
331 * FIX: afpd: .AppleDxxx folders were user accessible if option 'usedots'
333 * FIX: afpd: vetoed files/dirs where still accessible
334 * FIX: afpd: cnid_resolve: don't return '..' as a valid name.
335 * FIX: uniconv: -d option wasn't working
340 * REM: remove timeout
341 * NEW: afpd: DHX2 uams using GNU libgcrypt.
342 * NEW: afpd: volume options 'illegalseq', 'perm' and 'invisibledots'
343 'ilegalseq' encode illegal sequence in filename asis, ex "\217-", which is not
344 a valid SHIFT-JIS char, is encoded as U\217 -.
345 'perm' value OR with the client requested permissions. (help with OSX 10.5
346 strange permissions).
347 Make dot files visible by default with 'usedots', use 'invisibledots'
348 for keeping the old behavior, ie for OS9 (OSX hide dot files on its
350 * NEW: afpd: volume options allow_hosts/denied hosts
351 * NEW: afpd: volume options dperm/fperm default directory and file
352 permissions or with server requests.
353 * NEW: afpd: afpd.conf, allow line continuation with \
354 * NEW: afpd: AppleVolumes.default allow line continuation with \
355 * NEW: afpd: Mac greek encoding.
356 * NEW: afpd: CJK encoding.
357 * UPD: afpd: Default UAMs: DHX + DHX2
358 * FIX: afpd: return the right error in createfile and copyfile if the disk
360 * FIX: afpd: resolveid return the same error code than OSX if it's a directory
361 * FIX: afpd: server name check, test for the whole loopback subnet
363 * UPD: afpd: limit comments size to 128 bytes, (workaround for Adobe CS2 bug).
364 * UPD: afpd: no more daemon icon.
365 * UPD: usedots, return an invalide name only for .Applexxx files used by netatalk not
366 all files starting with .apple.
367 * UPD: cnid: increase the number of cnid_dbd slots to 512.
368 * FIX: cnid: dbd detach the daemon from the control terminal.
369 * UPD: cnid: never ending Berkeley API changes...
370 * UPD: cnid: dbd add a timeout when reading data from afpd client.
371 * UPD: cnid: Don't wait five second after the first error when speaking to the dbd
373 * FIX: papd: vars use % not $
374 * FIX: papd: quote chars in popen variables expansion. security fix.
375 * FIX: papd: papd -d didn't write to stderr.
376 * FIX: papd: ps comments don't always use ()
377 * FIX: many compilation errors (solaris, AFS, Tru64, xfs quota...).
382 * NEW: afpd: add a cachecnid option that controls if afpd should
383 use the IDs stored in the AD2 files as cache. Defaults
385 * UPD: afpd: deal with more than 32 groups.
386 * FIX: afpd: several catsearch fixes, based on patch from
388 * FIX: afpd: fix a race when a client very quickly reconnects and
389 tries to kill its old session.
390 * FIX: afpd: OSX style symlink caused problems with Panther clients.
391 * FIX: afpd: old files with default type didn't show the right icon
392 in finder, from Shlomi Yaakobovich, slightly modified.
393 * FIX: cnid_check: disable cnid_check if CNID db was configured with
394 transactions and really bail out after the first error.
395 * FIX: admin-group configure option was broken.
396 * FIX: several problems with IDs cached in AD2 files.
397 * FIX: Ignore BIDI in UTF8 hints from OSX.
398 * FIX: Lots of gcc warning fixes.
399 * FIX: small configure script changes.
405 * NEW: cnid: Add an indexes check and rebuild, optional for dbd
406 (parameter check default no), standalone program cnid_index for
408 * UPD: Enhanced afpd's -v command line switch and added -V for more
410 * UPD: uams_gss: build the principal used by uams_gss.so from afpd's
411 configuration, don't use GSS_C_NT_HOSTBASED_SERVICE
412 * UPD: cnid_dbd: add process id in syslog and small clean up
413 * REM: remove netatalkshorternamelinks.pl cf. SF bug [ 1061396 ]
414 netatalkshorternamelinks.pl broken
415 * FIX: afpd: check for DenyRead on FPCopyFile
416 * FIX: afpd: add missing flush for AD2 Metadata on FPCopyFile, SF bug
417 [ 1055691 ] Word 98 OS 9 Saving an existing file
418 * FIX: afpd: Deal with AFP3 connection and type 2 (non-UTF8) names.
419 reported by Gair Heaton, HI RESOLUTION SYSTEMS
420 * FIX: afpd: Broken 'crlf' option
421 * FIX: afpd: fix SF bug [ 1079622 ] afpd/dhx memory bug,
423 * FIX: afpd: Return an error if we cannot get the db stamp in
425 * FIX: afpd: Fix slp registration with Solaris9 slpd, from
426 hat at fa2.so-net.ne.jp
432 * NEW: --enable-debian configure option. Will install /etc/init.d/atalk
433 to get not in conflict with standard debian /etc/init.d/netatalk.
434 Reads netatalk.conf from $ETCDIR and not from /etc/default/
435 * UPD: Disable logger code by default. Log to syslog instead
436 * UPD: changed netatalk.conf default settings to prevent problems with
437 AppleTalk zone names containing spaces
438 * FIX: insecure tempfile handling bug in etc2ps.sh,
439 found by Trustix, CAN-2004-0974.
440 * REM: remove add_netatalk_printer and netatalk.template from stable
441 branch until fixed. (possible symlink vulnerabilities)
442 * FIX: afpd: set hasBeenInited in default finder info. This bug caused
443 endless finder refreshes with OS9 finder if the noadouble option
444 was used. From TSUBAKIMOTO Hiroya.
445 * FIX: afpd: fix a bug in default CREATOR/TYPE handling. Due to this bug
446 the type/creator mappings in AppleVolumes.system were ignored,
447 causing problems i.e. with OS9 clients.
448 * FIX: AppleVolumes.system: By default don't define a CREATOR/TYPE for a
449 file of unknown type.
450 * FIX: fix two Tru64 UNIX compilation errors,
451 from Burkhard Schmidt bs AT cpfs.mpg.de
452 * FIX: afpd: FPMapId wasn't using UTF8 for groups if requested by client.
457 * UPD: afpd: add an error message if -ipaddr parameter cannot be parsed
458 * UPD: updated documentation
459 * FIX: afpd: fix a file descriptor and memory leak with OSX ._ resource fork
460 * FIX: afpd: Prevent overwriting a file by renaming a file in the same
461 directory to the same name. Won't work with OSX, the dest file gets
462 deleted by OSX first.
463 * FIX: sometimes '0' was used instead of 0 for creator/type
464 * FIX: removed setpgrp check from configure, we don't use it anymore and
465 it doesn't work with cross compile.
466 * FIX: fix for Solaris "make maintainer-clean", from Alexander Barton
467 * FIX: fix username matching bug in afppasswd. from kanai at nadmin dot org
468 * FIX: reworked username check a little. Depending on the UAM, the wrong
469 username _could_ have been selected.
474 * UPD: use 0 0 for default creator/type rather than UNIX TEXT, from
476 * UPD: updated documentation
477 * UPD: change machine type from Macintosh to Netatalk in status reply
478 * FIX: afpd: CopyFile only create a resource fork for destination if source
480 * FIX: afpd: mangling: for utf8 --> max filename length is 255 bytes, else 31.
481 * FIX: cnid_dbd: fix a signed/unsigned, 16/32 bits mismatch. from Burkhard
482 Schmidt, bs at cpfs.mpg.de.
483 * FIX: afpd: After ad_setid don't flush resource fork if it has not been
485 * FIX: NEWS: Fixed ancient NEWS entries. Removed umlauts
486 * FIX: fix macname cache, SF bug 1021642
487 * FIX: revert Makefile change from 2.0-rc1. We have to include BDB_CFLAGS
493 * NEW: new manual page for asip-status.pl
494 * UPD: updated documentation
495 * UPD: uams: link uam_dhx_passwd.so to lcrypt before lcrypto. might help with
497 * UPD: Improved BerkeleyDB detection
498 * UPD: sys/solaris/Makefile.in: enable 'make check', from Alexander Barton
499 * UPD: tcp wrappers detection should work on OpenBSD as well now
500 * UPD: macbin: increase the maximum size of macbinary forks, as suggested by
501 Sourceforge bug ID 829221
502 * UPD: ASP: rework getstatus. use several ASP packets if the client allows
503 it, otherwise just send as much as we can
504 * FIX: FreeBSD 5 build, from Alex Barton (alex at barton.de)
505 * FIX: OSX 10.3 build
506 * FIX: papd: workaround a problem with PJL before Postscript
507 * FIX: afpd: make sure we only disconnect on old session if the users match
508 * FIX: apfd: Quark6 mangled long filenames should work better now
509 * FIX: enhance ADv1 to ADv2 conversion. Fixed a SIGSEGV reported by Mark Baker
510 * FIX: better detection of invalid resource forks
511 * FIX: fix some linking problems on OpenBSD
512 * FIX: afpd: catsearch.c, filedir.c: fix bogus casts, from Olaf Hering
514 * FIX: afpd: don't try to create special folders and .volinfo on read-only
516 * FIX: iconv/unicode enhancements. fixed a sigsegv on conversion error
517 * FIX: configure.in: fix a typo, reported by Joerg Rossdeutscher
518 * FIX: uniconv: enhanced uniconv behaviour
519 * FIX: fixed some Solaris compilation problems
520 * FIX: papd/Makefile.am: add a missing $DESTDIR, from Vlad Agranovsky
521 * FIX: afpd: quota.c: remove a c99 declaration, from Yann Rouillard
522 * FIX: configure.in: Solaris/gcc 3.0 fix, from Yann Rouillard
523 * FIX: afpd: fix a SIGSEGV when sharing home dirs without any options in
525 * FIX: numerous small bugfixes
530 * NEW: atalkd, papd and npb tools now support nbpnames with extended
532 * NEW: integrated CUPS support for papd
533 * NEW: optionally advertise SSH tunneling capabilties
534 * NEW: automatic logfile removal for cnid_metad
535 * NEW: asip-status.pl has been added to netatalk
536 * UPD: updated documentation
537 * UPD: we now require Berkeley DB >= 4.1
538 * UPD: 64bit Linux fixes from Stew Benedict, Mandrakesoft
539 * UPD: remove --enable-sendfile
540 * UPD: more verbose error messages
541 * FIX: better handling for resource forks without read access
542 * FIX: Tru64 build, by Burkhard Schmidt
543 * FIX: MIT Kerberos detection
544 * FIX: varios *BSD compile problems
545 * FIX: compile problem with libiconv, reported by Joe Marcus Clarke
546 * FIX: adv1tov2: make it work with the new structure
547 * FIX: afpd: filenames longer than 127 bytes were not enumerated correctly,
548 reported by Thies C. Arntzen
549 * FIX: afpd: return IP before FQDN in status reply.
550 * FIX: afpd: Mac chooser could crash on a codepage conversion error
551 * FIX: afpd: KerberosV auth with Panther clients, make long AD tickets work,
552 reported by Andrew Smith
553 * FIX: atalkd: could send invalid NBPLKUP replies, e.g with more than 15
554 printers. Reported by Almacha
555 * FIX: papd: fix papd.conf parsing problems with consecutive ':' and missing
556 newline. Reported by Craig White.
557 * FIX: megatron: make megatron work with UTF-8 volumes
558 * FIX: timeout: running timeout with commands which accept arguments,
560 * FIX: uniconv: fix a SEGFAULT, reported by Matthew Geier
561 * FIX: pam detection: PAM_C/LDFLAGS were always empty, from Alexander Barton
562 * FIX: numerous small bugfixes.
567 * NEW: OSX style adouble scheme
568 * NEW: japanese SHIFT_JIS codepage (iconv supplied)
569 * NEW: Solaris kernel module build integrated with configure
570 * NEW: Gentoo start scripts
571 * NEW: cnid_dbd doesn't use transactions by default
572 * FIX: afpd: the volume casefold option was broken
573 * FIX: afpd: update AD2 headers and keep owner on file exchange
574 * FIX: Solaris 9 and FreeBSD 4.9/5.2 compilation
575 * FIX: free space reported with groups quotas on Linux
576 * FIX: OS9/OS X didn't update free space
577 * FIX: finder crash if folder opened got deleted by another process
578 * FIX: randnum UAM wasn't AFP3 ready
579 * FIX: numerous small bugfixes.
581 Changes in 2.0-alpha2
582 =====================
584 * NEW: uniconv tool for converting volume encoding.
585 * NEW: afpd: Make sure getstatus doesn't return loopback address as server IP.
586 * NEW: afpd: Specify USEDOTS with MSWINDOWS implicitely.
587 * NEW: afpd: SRVLOC register with IP address instead of hostname by default,
588 if -fqdn is specified register with FQDN. Added extended character
589 support for SLP, non ASCII characters are escaped Added ZONE to registration.
590 * NEW: atalkd: Make atalkd set interfaces to ALLMULTI on linux by default.
591 * NEW: cnid_metad: Use DB_PRIVATE attribute for dbd backend without transaction.
592 * FIX: afpd: Partial workaround for an OSX client deadlock.
593 * FIX: afpd: Reenumerate folder if db is out of sync in resolveID.
594 * FIX: afpd: Don't modify modification date in copyfile.
595 * FIX: afpd: Variable $v substitution: always use name defined in config files.
596 * FIX: libatalk: Speed optimisation for byte locking was broken on resource fork.
597 * FIX: Solaris 9 compilation.
598 * FIX: Tru64 compilation fixes.
599 * FIX: AFS compilation fixes.
600 * FIX: strncpy bugfix.
601 * FIX: configure, man pages update and small bugfixes.
603 Changes in 2.0-alpha1
604 =====================
606 * NEW: afpd: We now support AFP 3.x, which features long filenames and
608 * NEW: CNID handling completely reworked. We now use per Volume configurable
610 * NEW: Two new daemons, cnid_metad and cnid_dbd to implement the dbd CNID backend.
611 Using Berkeley DB transactions with the CNID database should be safe now.
612 * NEW: The on disk format of the CNID database has changed. We now support 8 byte
613 device and inode numbers and an additinal type field that should make
614 detection of file/directory changes outside of afpd more robust.
615 Changed from HASH to BTREE access which speeds things up in certain cases
616 and reduces database file size.
617 * NEW: Long file name mangling is now implemented using the CNID ID, so no database is
618 required to map names to mangled names. This is the same method Mac OS X uses.
619 * NEW: New format (version 2) for Metadata in AppleDouble files. We record device and
620 inode of the underlying file as well as the CNID. This can be used for recovery
621 and speeds up access to the CNID.
622 * NEW: The old NLS codepage system has been removed. It was replaced by an iconv
623 based conversion system, which provides much more flexibility.
624 * NEW: You can safely use extended characters in volume names and for SIGUSR2 messaging.
625 * NEW: The default volume encoding is UTF-8.
626 * NEW: All documentation is now generated using DocBook. New or completely reworked
627 sections about installing, setting up and upgrading Netatalk replace various
628 README files in the doc directory.
629 * FIX: Protect afpd better against unexpected signals during updates of the CNID
630 database with the cdb backend. This makes database corruption less likely.
631 * FIX: All manpages have been reviewed and should now be up to date.
632 * FIX: Tons of bug fixes since 1.6.4. Please consults the CVS change log for details.
637 * NEW: afpd: Using the mswindows option now implicitly specifies usedots.
639 * UPD: afpd.8: Updated the option documentation.
640 [Thomas Kaiser, Sebastian Rittau]
641 * FIX: configure: Removed broken --with-flock-locks option. [Bjoern Fernhomberg]
642 * FIX: libatalk: Do not log network probe (OSX 10.3). [Didier Gautheron]
643 * FIX: libatalk: Deadlock in signal handlers. [Didier]
644 * FIX: libatalk: Compilation with Linux kernel 2.6 fixed. [Sebastian, Bjoern]
645 * FIX: afpd: Solaris compile issues. [Bjoern]
646 * FIX: afpd: If connection broke in dsi_tickle the child did never die. [Bjoern]
647 * FIX: afpd: Catsearch, fixes a possible segmentation fault. [Bjoern]
648 * FIX: afpd: Compilation issues. [Olaf Hering, Sebastian]
649 * FIX: cnid: Fix compile problems on Tru64. [Burkhard Schmidt]
650 * FIX: megatron: Fixed an uninitialized variable. [Olaf]
651 * FIX: installation: Don't overwrite PAM file if --enable-overwrite configure
652 option is not set. [Sam, Ryan Cleary]
653 * FIX: installation: Fixed BSD installation. [Toru TAKAMIZU]
654 * FIX: docs: Removed ssl-dir/ssl-dirs confusion from doc/INSTALL. [Bjoern]
659 * UPD: afpd: Infrastructural support for an upcoming Kerberos 5 UAM.
661 * UPD: uams_dhx_passwd: Better random seed in Tru64. [Burkhard Schmidt]
662 * FIX: afpd: Bug in AFP connection negotiation stage. [Sam]
663 * FIX: afpd: Catsearch, when Mac and unix name differ, search on attributes.
664 * FIX: afpd: Files could be opened for writing on read-only filesystems.
665 * FIX: afpd: Debugging using SIGUSR1 was broken. [Stefan Muenkner]
666 * FIX: afpd: Segfault after login. [Robby Griffin, Sean Bolton]
667 * FIX: psf: Correct path to etc2ps.sh.
668 * FIX: shell_utils: Don't distribute generated files.
669 * FIX: aecho: -A option didn't work. [Chris Shiels]
670 * FIX: configure: Berkeley DB path detection could be wrong. [Stefan]
671 * FIX: Automake build fixes.
676 * FIX: atalkd: Fixes for reading long configuration file lines. [Dan Wilga]
677 * FIX: afpd: CNID id allocation in a multiuser environment.
678 * FIX: papd: Fix PSSP support when PAM is enabled.
679 * FIX: macusers: Can now cope with IP addresses as well as host names.
680 * FIX: etc2ps.sh: Install correctly.
685 * UPD: Improve --enable-fhs. [Olaf Hering]
686 * UPD: Add BDB 4.1.x support.
687 * UPD: Add more documentation on CNID, as well as list which versions
688 of Berkeley DB are supported.
689 * FIX: Codepage file maccode.koi8-r is now correctly cleaned.
690 * FIX: Fix init script location on SuSE. [Olaf]
691 * FIX: Build fixes. [Olaf, Steven N. Hirsch]
692 * FIX: Various bugs when a user doesn't have access permission to a folder.
693 (Fixes an OSX kernel panic.)
694 * FIX: CNID, folders' DID handling with concurrent access or symlinks.
695 (Fixes an endless loop in afpd.)
700 * FIX: pap looks at the STDOUT file descriptor to see if it's connected to
701 a tty, instead of STDIN.
706 * UPD: Removed --with-catsearch option from configure and enable FPCatSearch
708 * UPD: The dbpath argument does now support variable substitution.
709 * FIX: Build fix for non-GNU-C compilers in libatalk/util/logger.c.
710 * FIX: Two directories with the same name but different case confused the
712 * FIX: The ROOT_PARENT directory could get invalidated.
717 * NEW: Long file name mangling support.
718 * NEW: Improved log file support.
719 * NEW: Server-side find capability ("FPCatSearch")
720 * NEW: Concurrent datastore (CDB) is now the default CNID datastore. This
721 should be heavily tested in a multiuser environment.
722 * NEW: Variable substitution support has been added for the dbpath AppleVolume
724 * UPD: CNID DID handling is now enabled by default.
725 * FIX: Various bug and build fixes as well as code cleanups.
730 * NEW: Allow afpd debugging to be enabled by sending the afpd process
732 * NEW: Allow SLP to be disabled per afpd process by adding a new -noslp flag
734 * FIX: Use server name (if not NULL) for the SLP URL.
735 * FIX: papd: buffer overflow during config file read (Olaf Hering)
740 * FIX: File open read only and then read write (aka pb with Illustrator).
741 * FIX: Problems with unexpected EOF when reading files on a ddp connection
742 Photoshop, old finder.
743 * FIX: --with-nls-dir option does now work
748 * UPD: Extend the --disable-shell-check functionality to ignore users
749 with _no_ shell. Also, send a log message if a user is refused login
750 based on the fact that they have no shell.
751 * UPD: Autoconf updates.
752 * UPD: Tru64 afpd authentication updates.
753 * UPD: As always: lots of minor code cleanups.
754 * FIX: Problems with Photoshop trying to open image files has been
756 * FIX: Preserve special permission bits when creating or modifying
758 * FIX: afp_deleteid() now deletes the specified file and not the parent
760 * FIX: papd does now announce that it supports binary data to its clients.
761 * FIX: NetBSD ELF support.
762 * FIX: acleandir.rc is now installed in the bin directory.
763 * FIX: megatron does now compile even if compiled with -DDEBUG.
764 * FIX: Clean up some syslog messages.
769 * NEW: NetBSD support contributed by David Rankin and NetBSD contributors.
770 This includes a new configure option --enable-netbsd.
771 * NEW: Add the -client_polling afpd.conf flag to allow for clients to poll
772 the server every 10 seconds for open window updates. Currently
773 this is the only way to get asynchronous directory updates.
774 * UPD: Use separate macro for AFS configure check.
775 * UPD: Some Perl scripts are now (partially) auto-generated. This improves
776 out-of-the-box usage of Netatalk.
777 * UPD: Solaris Kernel Makefile is now auto-generated. This fixes some path
778 issues, but isn't perfect, yet. Added some Solaris compatibility
779 fixes to the Kernel sources, too.
780 * UPD: CNID DB code sync'd with the current CVS version. NOTE: Using this
781 code requires you to delete _all_ existing .AppleDB directories in
782 order to avoid database corruption!
783 * FIX: The file AppleVolumes.system contained wrong line breaks so that
784 not all file types were properly recognized.
785 * FIX: AFS compilation would fail due to a misnamed variable.
786 * FIX: SLP configure check was wrong so SLP did not compile.
787 * FIX: Fix the way quotas are handled under certain situations.
788 * FIX: Do not enable debugging code if debugging option is not set.
789 * FIX: Some problems with wrongly assigned DIDs were fixed.
790 * FIX: Various bug fixes and code cleanups.
795 * NEW: Added a program called cnid_didname_verify that can be used to
796 verify the consistency of the CNID database.
797 * NEW: New afpd option: -timeout. Warning: This still doesn't do what it's
799 * UPD: Code cleanups and compatibility fixes to macusers.
800 * UPD: AppleVolumes.system was cleaned up.
801 * FIX: Really fix Tru64 compilation (see last entry).
802 * FIX: Hand correct error value back to AFP client when deleting files or
804 * FIX: Leading or trailing spaces are now forbidden on volumes that have
805 the AFPVOL_MSWINDOWS flag set.
806 * FIX: Minor code cleanups and warning fixes.
807 * FIX: Make quota support work on FreeBSD.
812 * FIX: Compilation on Tru64 systems was broken, since libtool's acinclude.m4
813 file on the packagers system did not contain the necessary patch.
814 * FIX: On some systems, atalkd refuses to start, since it couldn't detect
815 any interfaces. This was caused by an overzealous validity check.
820 * FIX: contrib/shell_utils/lp2pap.sh was erased when "make clean" was called.
821 Now we distribute lp2pap.sh.tmpl instead, and lp2pap.sh is automatically
822 generated during package build.
823 * FIX: Some platforms (notably Tru64) don't have the snprintf() call, which
824 was used in etc/afp/afp_config.c. This call was replaced by sprintf()
825 and prior bounds checking.
827 Changes from the 1.4b1 release:
828 ===============================
830 * Fixed the maximum free/total volume size in afpd.
832 * Made ~ the default volume in afpd.
834 * Fixed pid file handling and changed setpgrp() to setpgid() in afpd,
837 * Added code to afpd to set the Unix file time stamps with utime().
839 * Fixed a bug in papd's printcap code which limited it to 15 or so
842 * Fixed papd's handling of piped printers.
844 * Fixed papd's handling of bad job names.
846 * Fixed atalkd to send NBP LKUP packets from NBP port.
848 * Added "sync;sync;sync" to Solaris kinstall to help with streams
851 * Added nlocalrts to streams ddp.conf. Thanks Thomas Tornblom.
853 * Fixed signed extension infinite loop in Solaris module.
855 * Moved all the config files to .../config.
857 Changes from the 1.3.3 release:
858 ===============================
860 * Added code from Sun Microsystems, Inc (OPCOM) for Solaris support.
863 * Added support for FreeBSD, mostly changes by Mark Dawson and Julian
866 * All sorts of other stuff.
868 Changes from the 1.3.1 release:
869 ===============================
871 * Added options to psf's filter names to support accounting on HPs.
872 !!! NOTE: The location of the filters has changed, see the man
875 * Added code from Alan Cox to support Linux.
877 * Rewrote papd. Now handles dropped connections better.
878 Configuration has been modernized. !!! NOTE: The format of the
879 configuration file has changed, but NOT THE NAME.
881 * Added Kerberos support to papd.
883 * atalkd now removes routes on a SIGTERM. Still can't just restart
886 * Changed atalkd and the kernel driver to remove a hack added to
887 support sending to 0.255. Now the kernel will allow multiple open
888 sockets with the same port, so long as the addess associated with
889 the port is different. atalkd now opens a socket for each port on
892 * atalkd now rewrites its configuration file. If no configuration
893 file is given, one will be generated. Permissions on the new
894 configuration file will be inherited from the old one. If there is
895 no old one, permissions default to 644. Won't rewrite the file if
896 the owner doesn't have write permission.
898 * Removed support for the "AFS Kerberos UAM", in favor of the
899 "AuthMan UAM". Kerberos support should now be much more
902 * Fixed a bug in afpd which would cause incorrect group calculations
905 * Fixed a bug in afpd which causes SimpleText and some other
906 applications to silently fail to write. There's also a bug in
907 MacOS, but we can't fix that.
909 * Fixed a bad interaction with afpd and AFS which would cause file
910 writes to not propogate between AFS clients.
912 * !!! CHANGED the name(s) of afpd's config files. The new files are
913 AppleVolumes.system and AppleVolumes.default. If AppleVolumes.system
914 exists, it is always read, AppleVolumes.default is only read if the
915 user has no AppleVolumes file. Included a flag "-u" to indicate
916 which file has precedence. "-u" user wins, otherwise ".system"
919 * Rewrote the AppleVolumes parsing code. Now works.
921 * Added a filename extension mapping to afpd. User always takes
922 precedence, regardless of the "-u" flag. Code to change the type
923 of all Unix files contributed by Kee Hinckley <nazgul@utopia.com>.
925 * afpd now supports both UFS and AFS volumes simultaneously. It also
926 uses access() to attempt to calculate reasonable Mac permissions
929 * Changed reporting of file times. Files that are written from Unix
930 now update the Mac's idea of the files modification time. Unix
931 mtime is now reported instead of ctime.
933 * Added support for a new UAM to afpd. This requires that client
934 Macs have MacTCP and AuthMan installed. Should make running afpd
937 * Removed code so that otherwise valid volumes for which the mounting
938 user has no permission will appear in the volume selection dialog
939 on the Mac gray-ed out.
941 * Added code from Chris Metcalf of MIT to the AppleDouble library
942 which improves permission inheritance.
944 * Added code from G. Paul Ziemba of Alantec, Inc to better report
945 errors in psf. Also changed psf to use syslog for errors that
946 users aren't interested in.
948 * Added information to psf's man page to better explain the
949 interaction between psf, pap, and lpd.
951 * Make psf/pap/psa do accounting when it's turnes on in
954 * Changed pap's error message when there is no printer specified on
955 the command line and no .paprc is found. Also heavily modified
956 pap's man page to reflect changes in the "new" version of pap,
957 including moving it from section 8 to section 1.
959 * Fixed a byte-order bug in pap's sequence numbers. Doubt if pap has
960 ever worked right on little endian machines!
962 * Added a flag to pap to optionally close before receiving EOF from
963 the printer. Off by default. psf calls pap with this option on.
965 * Added timeouts to the nbp library calls. This means that processes
966 won't hang when atalkd dies during boot, thus hanging your
969 Changes from the 1.3 release:
970 =============================
972 * Fixed a bug in afpd which would cause APPL mappings to contain both
973 mac and unix path names. The fixed code will handle the old
974 (corrupted) database.
976 * Fixed a *very* serious bug which would cause files to be corrupted
977 when copying to afpd.
979 * Fixed a bug in afpd which would cause replies to icon writes to
980 contain the written icon.
982 * Filled in the function code switch in afpd. Previously, a hacker
983 could probably have used afpd to get unauthorized access to a
984 machine running afpd.
986 * Fixed a bug in the asp portion of libatalk.a which could cause the
987 malloc()/free() database to be corrupted.
989 * Fixed a bug in atalkd's zip query code. With this bug, only the
990 first N % 255 nets get queried. However, since nets bigger than
991 255 are usually pretty unstable, the unqueried for nets will
992 eventually get done, when N drops by one.
994 * Suppressed a spurious error ("route: No such process") in atalkd.
996 Changes from the 1.2.1 release:
997 ===============================
999 * atalkd is completely rewritten for phase 2 support. atalkd.conf
1000 from previous version will not work!
1002 * afpd now has better AFS support. In particular, the configuration
1003 for AFS was made much easier; a number of Kerberos-related
1004 byte-ordering and time problems were found; clear-text passwords
1005 were added (thanks to geeb@umich.edu).
1007 * afpd now handles Unix permissions much better (thanks to
1010 * There are many, many more changes, but most are small bug fixes.
1012 Changes from the 1.2 release:
1013 =============================
1015 * The Sun support now uses loadable kernel modules (a la VDDRV)
1016 instead of binary patches. As such, it should work on any sunos
1017 greater than 4.1, and is confirmed to work under 4.1.1 and 4.1.2.
1019 * The DEC support no longer requires source. It also runs under
1020 ultrix 4.1 and 4.2. It still requires patching your kernel, but the
1021 patches are limited to those files available to binary-only sites
1022 -- primarily hooks for things like netatalk.
1024 * The etc.rc script now uses changes made to nbprgstr (see below).
1026 * aecho now takes machine names on the command line.
1028 * nbplkup now takes a command line argument specifying the number of
1029 responses to accept. It also takes its defaults from the NBPLKUP
1030 environment variable.
1032 * nbprgstr may be used to register a name at any requested port.
1034 * afpd now logs if an illegal shell is used during login, instead of
1035 silently denying service.
1037 * A bug in afpd which caused position information for the directory
1038 children of the root of a volume to be ignored has been fixed.
1040 * Several typos in afpd which would cause include files necessary to
1041 ultrix to be skipped have been fixed.
1043 * atalkd will no long propagate routes to networks whose zone
1046 * atalkd no longer dumps core if it receives a ZIP GetMyZone request
1047 from a network whose zone it doesn't know. (Since this currently
1048 can only happen from off net, it's not precisely a legal request.)
1050 * pap and papd (optionally) no longer check the connection id in PAP
1051 DATA responses. Both also maintain the function code in non-first-packet
1052 PAP DATA responses. These changes are work-arounds to deal with
1053 certain AppleTalk printer cards, notably the BridgePort LocalTalk
1054 card for HP LJIIISIs.
1056 * pap no longer sends an EOF response to each PAP SENDDATA request,
1059 * A bug in papd which would cause it to return a random value when
1060 printing the procset to a piped printer has been fixed.
1062 * A bug relating to NBP on reverse-endian machines has been fixed.
1064 * atp_rsel() from libatalk now returns a correct value even if it
1065 hasn't recieved anything yet.
1067 * atalk_addr() from libatalk no longer accepts addresses in octal
1068 format, since AppleTalk addresses can have leading zeros. Also it
1069 checks that the separator character is a '.'.
1071 * Pseudo man pages for nbplkup, nbprgstr, and nbpunrgstr, have been
1074 * The example in the psf(8) man page is now correct.
1076 * The man pages for changed commands have been updated.
1078 * The README files for various machine have been updated