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