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