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