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