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