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