4 * NEW: afpd: dynamic directoy cache
5 * NEW: afpd: POSIX 1e ACL support
6 * NEW: afpd: automagic Zeroconf registration with avahi, registering both
7 the service _afpovertcp._tcp and TimeMachine volumes with _adisk._tcp.
8 * UPD: Support for BerkeleyDB 5.0.
13 * FIX: afpd: fix for possible crash in case more then one server is
14 configured in afpd.conf.
15 * FIX: afpd: ExtendedAttributes in FreeBSD
16 * FIX: afpd: sharing home folders corrupted the per volume umask.
17 * UPD: afpd: umask for home folders is no longer taken from startup umask.
18 * UPD: afpd: dont and permissions with parent folder when creating new
19 directories on "upriv" volumes.
20 * UPD: afpd: use 'afpserver@fqdn' instead of 'afpserver/fqdn@realm'.
21 Prevents a crash in older GNU GSSAPI libs on eg. CentOS 5.x.
26 * UPD: fallback to a temporary in memory tdb CNID database if the volume
27 database can't be opened now works with the default backend "dbd" too.
28 * FIX: afpd: afp_ldap.conf was missing from tarball. This only effected
30 * FIX: afpd: Check if options->server is set in set_signature, preventing
32 * FIX: afpd: server signature wasn't initialized in some cases
33 * FIX: DESTDIR support: DESTDIR was expanded twice
34 * FIX: Fix for compilation error if header files of an older Netatalk
35 version are installed.
37 Changes in 2.1-release
38 ======================
40 * NEW: afpd: new volume option "volsizelimit" for limitting reported volume
41 size. Useful for limitting TM backup size.
42 * UPD: dbd: -c option for rebuilding volumes which prevents the creation
43 of .AppleDouble stuff, only removes orphaned files.
47 * NEW: afpd: static generated AFP signature stored in afp_signature.conf,
48 cf man 5 afp_signature.conf
49 * NEW: afpd: clustering support: new per volume option "cnidserver".
50 * UPD: afpd: set volume defaults options "upriv" and "usedots" in the
51 volume config file AppleVolumes.default. This will only affect
52 new installations, but not upgrades.
53 * FIX: afpd: prevent security attack guessing valid server accounts. afpd
54 now returns error -5023 for unknown users, as does AppleFileServer.
59 * NEW: afpd: AFP 3.2 support
60 * NEW: afpd: Extended Attributes support using native attributes or
61 using files inside .AppleDouble directories.
62 * NEW: afpd: ACL support with ZFS
63 * NEW: cnid_metad: options -l and -f to configure logging
65 * NEW: AppleDouble compatible UNIX files utility suite `ad ...`.
66 With 2.1 only `ad ls`.
67 * NEW: CNID database maintanance utility dbd
68 * NEW: support BerkeleyDB upgrade. Starting with the next release
69 after 2.1 in case of BerkeleyDB library updates, Netatalk
70 will be able to upgrade the CNID databases.
71 * NEW: afpd: store and read CNIDs to/from AppleDouble files by default.
72 This is used as a cache and as a backup in case the database
73 is deleted or corrupted. It can be disabled with a new volume
75 * NEW: afpd: sending SIGINT to a child afpd process enables debug logging
76 to /tmp/afpd.PID.XXXXXX.
77 * NEW: configure args to download and install a "private" Webmin instance
78 including only basic Webmin modules plus our netatalk.wbm.
79 * NEW: fallback to a temporary in memory tdb CNID database if the volume
80 database can't be opened.
81 * NEW: support for Unicode characters in the range above U+010000 using
82 internal surrogate pairs
83 * NEW: apple_dump: utility to dump AppleSingle and AppleDouble files
84 * NEW: afpldaptest: utility to check afp_ldap.conf.
85 * UPD: atalkd and papd are now disabled by default. AppleTalk is legacy.
86 * UPD: slp advertisement is now disabled by default. server option -slp
88 * UPD: cdb/dbd CNID backend requires BerkeleyDB >= 4.6
89 * UPD: afpd: default CNID backend is "dbd"
90 * UPD: afpd: try to install PAM config that pulls in system|common auth
91 * UPD: afpd: symlink handling: never followed server side, client resolves
92 them, so it's safe to use them now.
93 * UPD: afpd: Comment out all extension->type/creator mappings in
94 AppleVolumes.system. They're unmaintained, possibly wrong and
96 * FIX: rewritten logger
97 * FIX: afpd: UNIX permissions handling
98 * FIX: cnid_dbd: always use BerkeleyDB transactions
99 * FIX: initscripts installation now correctly uses autoconf paths,
100 ie they're installed to --sysconfdir.
101 * FIX: UTF-8 volume name length
102 * FIX: atalkd: workaround for broken Linux 2.6 AT kernel module:
103 Linux 2.6 sends broadcast queries to the first available socket
104 which is in our case the last configured one. atalkd now tries to
106 Note: now a misconfigured or plugged router can broadcast a wrong route !
107 * REM: afpd: removed CNID backends "db3", "hash" and "mtab"
108 * REM: cnid_maint: use dbd
109 * REM: cleanappledouble.pl: use dbd
110 * REM: nu: use `macusers` instead
115 * NEW: afpd: Time Machine support with new volume option "tm".
116 * FIX: papd: Remove variable expansion for BSD printers. Fixes CVE-2008-5718.
117 * FIX: afpd: .AppleDxxx folders were user accessible if option 'usedots'
119 * FIX: afpd: vetoed files/dirs where still accessible
120 * FIX: afpd: cnid_resolve: don't return '..' as a valid name.
121 * FIX: uniconv: -d option wasn't working
126 * REM: remove timeout
127 * NEW: afpd: DHX2 uams using GNU libgcrypt.
128 * NEW: afpd: volume options 'illegalseq', 'perm' and 'invisibledots'
129 'ilegalseq' encode illegal sequence in filename asis, ex "\217-", which is not
130 a valid SHIFT-JIS char, is encoded as U\217 -.
131 'perm' value OR with the client requested permissions. (help with OSX 10.5
132 strange permissions).
133 Make dot files visible by default with 'usedots', use 'invisibledots'
134 for keeping the old behavior, ie for OS9 (OSX hide dot files on its
136 * NEW: afpd: volume options allow_hosts/denied hosts
137 * NEW: afpd: volume options dperm/fperm default directory and file
138 permissions or with server requests.
139 * NEW: afpd: afpd.conf, allow line continuation with \
140 * NEW: afpd: AppleVolumes.default allow line continuation with \
141 * NEW: afpd: Mac greek encoding.
142 * NEW: afpd: CJK encoding.
143 * UPD: afpd: Default UAMs: DHX + DHX2
144 * FIX: afpd: return the right error in createfile and copyfile if the disk
146 * FIX: afpd: resolveid return the same error code than OSX if it's a directory
147 * FIX: afpd: server name check, test for the whole loopback subnet
149 * UPD: afpd: limit comments size to 128 bytes, (workaround for Adobe CS2 bug).
150 * UPD: afpd: no more daemon icon.
151 * UPD: usedots, return an invalide name only for .Applexxx files used by netatalk not
152 all files starting with .apple.
153 * UPD: cnid: increase the number of cnid_dbd slots to 512.
154 * FIX: cnid: dbd detach the daemon from the control terminal.
155 * UPD: cnid: never ending Berkeley API changes...
156 * UPD: cnid: dbd add a timeout when reading data from afpd client.
157 * UPD: cnid: Don't wait five second after the first error when speaking to the dbd
159 * FIX: papd: vars use % not $
160 * FIX: papd: quote chars in popen variables expansion. security fix.
161 * FIX: papd: papd -d didn't write to stderr.
162 * FIX: papd: ps comments don't always use ()
163 * FIX: many compilation errors (solaris, AFS, Tru64, xfs quota...).
168 * NEW: afpd: add a cachecnid option that controls if afpd should
169 use the IDs stored in the AD2 files as cache. Defaults
171 * UPD: afpd: deal with more than 32 groups.
172 * FIX: afpd: several catsearch fixes, based on patch from
174 * FIX: afpd: fix a race when a client very quickly reconnects and
175 tries to kill its old session.
176 * FIX: afpd: OSX style symlink caused problems with Panther clients.
177 * FIX: afpd: old files with default type didn't show the right icon
178 in finder, from Shlomi Yaakobovich, slightly modified.
179 * FIX: cnid_check: disable cnid_check if CNID db was configured with
180 transactions and really bail out after the first error.
181 * FIX: admin-group configure option was broken.
182 * FIX: several problems with IDs cached in AD2 files.
183 * FIX: Ignore BIDI in UTF8 hints from OSX.
184 * FIX: Lots of gcc warning fixes.
185 * FIX: small configure script changes.
191 * NEW: cnid: Add an indexes check and rebuild, optional for dbd
192 (parameter check default no), standalone program cnid_index for
194 * UPD: Enhanced afpd's -v command line switch and added -V for more
196 * UPD: uams_gss: build the principal used by uams_gss.so from afpd's
197 configuration, don't use GSS_C_NT_HOSTBASED_SERVICE
198 * UPD: cnid_dbd: add process id in syslog and small clean up
199 * REM: remove netatalkshorternamelinks.pl cf. SF bug [ 1061396 ]
200 netatalkshorternamelinks.pl broken
201 * FIX: afpd: check for DenyRead on FPCopyFile
202 * FIX: afpd: add missing flush for AD2 Metadata on FPCopyFile, SF bug
203 [ 1055691 ] Word 98 OS 9 Saving an existing file
204 * FIX: afpd: Deal with AFP3 connection and type 2 (non-UTF8) names.
205 reported by Gair Heaton, HI RESOLUTION SYSTEMS
206 * FIX: afpd: Broken 'crlf' option
207 * FIX: afpd: fix SF bug [ 1079622 ] afpd/dhx memory bug,
209 * FIX: afpd: Return an error if we cannot get the db stamp in
211 * FIX: afpd: Fix slp registration with Solaris9 slpd, from
212 hat at fa2.so-net.ne.jp
218 * NEW: --enable-debian configure option. Will install /etc/init.d/atalk
219 to get not in conflict with standard debian /etc/init.d/netatalk.
220 Reads netatalk.conf from $ETCDIR and not from /etc/default/
221 * UPD: Disable logger code by default. Log to syslog instead
222 * UPD: changed netatalk.conf default settings to prevent problems with
223 AppleTalk zone names containing spaces
224 * FIX: insecure tempfile handling bug in etc2ps.sh,
225 found by Trustix, CAN-2004-0974.
226 * REM: remove add_netatalk_printer and netatalk.template from stable
227 branch until fixed. (possible symlink vulnerabilities)
228 * FIX: afpd: set hasBeenInited in default finder info. This bug caused
229 endless finder refreshes with OS9 finder if the noadouble option
230 was used. From TSUBAKIMOTO Hiroya.
231 * FIX: afpd: fix a bug in default CREATOR/TYPE handling. Due to this bug
232 the type/creator mappings in AppleVolumes.system were ignored,
233 causing problems i.e. with OS9 clients.
234 * FIX: AppleVolumes.system: By default don't define a CREATOR/TYPE for a
235 file of unknown type.
236 * FIX: fix two Tru64 UNIX compilation errors,
237 from Burkhard Schmidt bs AT cpfs.mpg.de
238 * FIX: afpd: FPMapId wasn't using UTF8 for groups if requested by client.
243 * UPD: afpd: add an error message if -ipaddr parameter cannot be parsed
244 * UPD: updated documentation
245 * FIX: afpd: fix a file descriptor and memory leak with OSX ._ resource fork
246 * FIX: afpd: Prevent overwriting a file by renaming a file in the same
247 directory to the same name. Won't work with OSX, the dest file gets
248 deleted by OSX first.
249 * FIX: sometimes '0' was used instead of 0 for creator/type
250 * FIX: removed setpgrp check from configure, we don't use it anymore and
251 it doesn't work with cross compile.
252 * FIX: fix for Solaris "make maintainer-clean", from Alexander Barton
253 * FIX: fix username matching bug in afppasswd. from kanai at nadmin dot org
254 * FIX: reworked username check a little. Depending on the UAM, the wrong
255 username _could_ have been selected.
260 * UPD: use 0 0 for default creator/type rather than UNIX TEXT, from
262 * UPD: updated documentation
263 * UPD: change machine type from Macintosh to Netatalk in status reply
264 * FIX: afpd: CopyFile only create a resource fork for destination if source
266 * FIX: afpd: mangling: for utf8 --> max filename length is 255 bytes, else 31.
267 * FIX: cnid_dbd: fix a signed/unsigned, 16/32 bits mismatch. from Burkhard
268 Schmidt, bs at cpfs.mpg.de.
269 * FIX: afpd: After ad_setid don't flush resource fork if it has not been
271 * FIX: NEWS: Fixed ancient NEWS entries. Removed umlauts
272 * FIX: fix macname cache, SF bug 1021642
273 * FIX: revert Makefile change from 2.0-rc1. We have to include BDB_CFLAGS
279 * NEW: new manual page for asip-status.pl
280 * UPD: updated documentation
281 * UPD: uams: link uam_dhx_passwd.so to lcrypt before lcrypto. might help with
283 * UPD: Improved BerkeleyDB detection
284 * UPD: sys/solaris/Makefile.in: enable 'make check', from Alexander Barton
285 * UPD: tcp wrappers detection should work on OpenBSD as well now
286 * UPD: macbin: increase the maximum size of macbinary forks, as suggested by
287 Sourceforge bug ID 829221
288 * UPD: ASP: rework getstatus. use several ASP packets if the client allows
289 it, otherwise just send as much as we can
290 * FIX: FreeBSD 5 build, from Alex Barton (alex at barton.de)
291 * FIX: OSX 10.3 build
292 * FIX: papd: workaround a problem with PJL before Postscript
293 * FIX: afpd: make sure we only disconnect on old session if the users match
294 * FIX: apfd: Quark6 mangled long filenames should work better now
295 * FIX: enhance ADv1 to ADv2 conversion. Fixed a SIGSEGV reported by Mark Baker
296 * FIX: better detection of invalid resource forks
297 * FIX: fix some linking problems on OpenBSD
298 * FIX: afpd: catsearch.c, filedir.c: fix bogus casts, from Olaf Hering
300 * FIX: afpd: don't try to create special folders and .volinfo on read-only
302 * FIX: iconv/unicode enhancements. fixed a sigsegv on conversion error
303 * FIX: configure.in: fix a typo, reported by Joerg Rossdeutscher
304 * FIX: uniconv: enhanced uniconv behaviour
305 * FIX: fixed some Solaris compilation problems
306 * FIX: papd/Makefile.am: add a missing $DESTDIR, from Vlad Agranovsky
307 * FIX: afpd: quota.c: remove a c99 declaration, from Yann Rouillard
308 * FIX: configure.in: Solaris/gcc 3.0 fix, from Yann Rouillard
309 * FIX: afpd: fix a SIGSEGV when sharing home dirs without any options in
311 * FIX: numerous small bugfixes
316 * NEW: atalkd, papd and npb tools now support nbpnames with extended
318 * NEW: integrated CUPS support for papd
319 * NEW: optionally advertise SSH tunneling capabilties
320 * NEW: automatic logfile removal for cnid_metad
321 * NEW: asip-status.pl has been added to netatalk
322 * UPD: updated documentation
323 * UPD: we now require Berkeley DB >= 4.1
324 * UPD: 64bit Linux fixes from Stew Benedict, Mandrakesoft
325 * UPD: remove --enable-sendfile
326 * UPD: more verbose error messages
327 * FIX: better handling for resource forks without read access
328 * FIX: Tru64 build, by Burkhard Schmidt
329 * FIX: MIT Kerberos detection
330 * FIX: varios *BSD compile problems
331 * FIX: compile problem with libiconv, reported by Joe Marcus Clarke
332 * FIX: adv1tov2: make it work with the new structure
333 * FIX: afpd: filenames longer than 127 bytes were not enumerated correctly,
334 reported by Thies C. Arntzen
335 * FIX: afpd: return IP before FQDN in status reply.
336 * FIX: afpd: Mac chooser could crash on a codepage conversion error
337 * FIX: afpd: KerberosV auth with Panther clients, make long AD tickets work,
338 reported by Andrew Smith
339 * FIX: atalkd: could send invalid NBPLKUP replies, e.g with more than 15
340 printers. Reported by Almacha
341 * FIX: papd: fix papd.conf parsing problems with consecutive ':' and missing
342 newline. Reported by Craig White.
343 * FIX: megatron: make megatron work with UTF-8 volumes
344 * FIX: timeout: running timeout with commands which accept arguments,
346 * FIX: uniconv: fix a SEGFAULT, reported by Matthew Geier
347 * FIX: pam detection: PAM_C/LDFLAGS were always empty, from Alexander Barton
348 * FIX: numerous small bugfixes.
353 * NEW: OSX style adouble scheme
354 * NEW: japanese SHIFT_JIS codepage (iconv supplied)
355 * NEW: Solaris kernel module build integrated with configure
356 * NEW: Gentoo start scripts
357 * NEW: cnid_dbd doesn't use transactions by default
358 * FIX: afpd: the volume casefold option was broken
359 * FIX: afpd: update AD2 headers and keep owner on file exchange
360 * FIX: Solaris 9 and FreeBSD 4.9/5.2 compilation
361 * FIX: free space reported with groups quotas on Linux
362 * FIX: OS9/OS X didn't update free space
363 * FIX: finder crash if folder opened got deleted by another process
364 * FIX: randnum UAM wasn't AFP3 ready
365 * FIX: numerous small bugfixes.
367 Changes in 2.0-alpha2
368 =====================
370 * NEW: uniconv tool for converting volume encoding.
371 * NEW: afpd: Make sure getstatus doesn't return loopback address as server IP.
372 * NEW: afpd: Specify USEDOTS with MSWINDOWS implicitely.
373 * NEW: afpd: SRVLOC register with IP address instead of hostname by default,
374 if -fqdn is specified register with FQDN. Added extended character
375 support for SLP, non ASCII characters are escaped Added ZONE to registration.
376 * NEW: atalkd: Make atalkd set interfaces to ALLMULTI on linux by default.
377 * NEW: cnid_metad: Use DB_PRIVATE attribute for dbd backend without transaction.
378 * FIX: afpd: Partial workaround for an OSX client deadlock.
379 * FIX: afpd: Reenumerate folder if db is out of sync in resolveID.
380 * FIX: afpd: Don't modify modification date in copyfile.
381 * FIX: afpd: Variable $v substitution: always use name defined in config files.
382 * FIX: libatalk: Speed optimisation for byte locking was broken on resource fork.
383 * FIX: Solaris 9 compilation.
384 * FIX: Tru64 compilation fixes.
385 * FIX: AFS compilation fixes.
386 * FIX: strncpy bugfix.
387 * FIX: configure, man pages update and small bugfixes.
389 Changes in 2.0-alpha1
390 =====================
392 * NEW: afpd: We now support AFP 3.x, which features long filenames and
394 * NEW: CNID handling completely reworked. We now use per Volume configurable
396 * NEW: Two new daemons, cnid_metad and cnid_dbd to implement the dbd CNID backend.
397 Using Berkeley DB transactions with the CNID database should be safe now.
398 * NEW: The on disk format of the CNID database has changed. We now support 8 byte
399 device and inode numbers and an additinal type field that should make
400 detection of file/directory changes outside of afpd more robust.
401 Changed from HASH to BTREE access which speeds things up in certain cases
402 and reduces database file size.
403 * NEW: Long file name mangling is now implemented using the CNID ID, so no database is
404 required to map names to mangled names. This is the same method Mac OS X uses.
405 * NEW: New format (version 2) for Metadata in AppleDouble files. We record device and
406 inode of the underlying file as well as the CNID. This can be used for recovery
407 and speeds up access to the CNID.
408 * NEW: The old NLS codepage system has been removed. It was replaced by an iconv
409 based conversion system, which provides much more flexibility.
410 * NEW: You can safely use extended characters in volume names and for SIGUSR2 messaging.
411 * NEW: The default volume encoding is UTF-8.
412 * NEW: All documentation is now generated using DocBook. New or completely reworked
413 sections about installing, setting up and upgrading Netatalk replace various
414 README files in the doc directory.
415 * FIX: Protect afpd better against unexpected signals during updates of the CNID
416 database with the cdb backend. This makes database corruption less likely.
417 * FIX: All manpages have been reviewed and should now be up to date.
418 * FIX: Tons of bug fixes since 1.6.4. Please consults the CVS change log for details.
423 * NEW: afpd: Using the mswindows option now implicitly specifies usedots.
425 * UPD: afpd.8: Updated the option documentation.
426 [Thomas Kaiser, Sebastian Rittau]
427 * FIX: configure: Removed broken --with-flock-locks option. [Bjoern Fernhomberg]
428 * FIX: libatalk: Do not log network probe (OSX 10.3). [Didier Gautheron]
429 * FIX: libatalk: Deadlock in signal handlers. [Didier]
430 * FIX: libatalk: Compilation with Linux kernel 2.6 fixed. [Sebastian, Bjoern]
431 * FIX: afpd: Solaris compile issues. [Bjoern]
432 * FIX: afpd: If connection broke in dsi_tickle the child did never die. [Bjoern]
433 * FIX: afpd: Catsearch, fixes a possible segmentation fault. [Bjoern]
434 * FIX: afpd: Compilation issues. [Olaf Hering, Sebastian]
435 * FIX: cnid: Fix compile problems on Tru64. [Burkhard Schmidt]
436 * FIX: megatron: Fixed an uninitialized variable. [Olaf]
437 * FIX: installation: Don't overwrite PAM file if --enable-overwrite configure
438 option is not set. [Sam, Ryan Cleary]
439 * FIX: installation: Fixed BSD installation. [Toru TAKAMIZU]
440 * FIX: docs: Removed ssl-dir/ssl-dirs confusion from doc/INSTALL. [Bjoern]
445 * UPD: afpd: Infrastructural support for an upcoming Kerberos 5 UAM.
447 * UPD: uams_dhx_passwd: Better random seed in Tru64. [Burkhard Schmidt]
448 * FIX: afpd: Bug in AFP connection negotiation stage. [Sam]
449 * FIX: afpd: Catsearch, when Mac and unix name differ, search on attributes.
450 * FIX: afpd: Files could be opened for writing on read-only filesystems.
451 * FIX: afpd: Debugging using SIGUSR1 was broken. [Stefan Muenkner]
452 * FIX: afpd: Segfault after login. [Robby Griffin, Sean Bolton]
453 * FIX: psf: Correct path to etc2ps.sh.
454 * FIX: shell_utils: Don't distribute generated files.
455 * FIX: aecho: -A option didn't work. [Chris Shiels]
456 * FIX: configure: Berkeley DB path detection could be wrong. [Stefan]
457 * FIX: Automake build fixes.
462 * FIX: atalkd: Fixes for reading long configuration file lines. [Dan Wilga]
463 * FIX: afpd: CNID id allocation in a multiuser environment.
464 * FIX: papd: Fix PSSP support when PAM is enabled.
465 * FIX: macusers: Can now cope with IP addresses as well as host names.
466 * FIX: etc2ps.sh: Install correctly.
471 * UPD: Improve --enable-fhs. [Olaf Hering]
472 * UPD: Add BDB 4.1.x support.
473 * UPD: Add more documentation on CNID, as well as list which versions
474 of Berkeley DB are supported.
475 * FIX: Codepage file maccode.koi8-r is now correctly cleaned.
476 * FIX: Fix init script location on SuSE. [Olaf]
477 * FIX: Build fixes. [Olaf, Steven N. Hirsch]
478 * FIX: Various bugs when a user doesn't have access permission to a folder.
479 (Fixes an OSX kernel panic.)
480 * FIX: CNID, folders' DID handling with concurrent access or symlinks.
481 (Fixes an endless loop in afpd.)
486 * FIX: pap looks at the STDOUT file descriptor to see if it's connected to
487 a tty, instead of STDIN.
492 * UPD: Removed --with-catsearch option from configure and enable FPCatSearch
494 * UPD: The dbpath argument does now support variable substitution.
495 * FIX: Build fix for non-GNU-C compilers in libatalk/util/logger.c.
496 * FIX: Two directories with the same name but different case confused the
498 * FIX: The ROOT_PARENT directory could get invalidated.
503 * NEW: Long file name mangling support.
504 * NEW: Improved log file support.
505 * NEW: Server-side find capability ("FPCatSearch")
506 * NEW: Concurrent datastore (CDB) is now the default CNID datastore. This
507 should be heavily tested in a multiuser environment.
508 * NEW: Variable substitution support has been added for the dbpath AppleVolume
510 * UPD: CNID DID handling is now enabled by default.
511 * FIX: Various bug and build fixes as well as code cleanups.
516 * NEW: Allow afpd debugging to be enabled by sending the afpd process
518 * NEW: Allow SLP to be disabled per afpd process by adding a new -noslp flag
520 * FIX: Use server name (if not NULL) for the SLP URL.
521 * FIX: papd: buffer overflow during config file read (Olaf Hering)
526 * FIX: File open read only and then read write (aka pb with Illustrator).
527 * FIX: Problems with unexpected EOF when reading files on a ddp connection
528 Photoshop, old finder.
529 * FIX: --with-nls-dir option does now work
534 * UPD: Extend the --disable-shell-check functionality to ignore users
535 with _no_ shell. Also, send a log message if a user is refused login
536 based on the fact that they have no shell.
537 * UPD: Autoconf updates.
538 * UPD: Tru64 afpd authentication updates.
539 * UPD: As always: lots of minor code cleanups.
540 * FIX: Problems with Photoshop trying to open image files has been
542 * FIX: Preserve special permission bits when creating or modifying
544 * FIX: afp_deleteid() now deletes the specified file and not the parent
546 * FIX: papd does now announce that it supports binary data to its clients.
547 * FIX: NetBSD ELF support.
548 * FIX: acleandir.rc is now installed in the bin directory.
549 * FIX: megatron does now compile even if compiled with -DDEBUG.
550 * FIX: Clean up some syslog messages.
555 * NEW: NetBSD support contributed by David Rankin and NetBSD contributors.
556 This includes a new configure option --enable-netbsd.
557 * NEW: Add the -client_polling afpd.conf flag to allow for clients to poll
558 the server every 10 seconds for open window updates. Currently
559 this is the only way to get asynchronous directory updates.
560 * UPD: Use separate macro for AFS configure check.
561 * UPD: Some Perl scripts are now (partially) auto-generated. This improves
562 out-of-the-box usage of Netatalk.
563 * UPD: Solaris Kernel Makefile is now auto-generated. This fixes some path
564 issues, but isn't perfect, yet. Added some Solaris compatibility
565 fixes to the Kernel sources, too.
566 * UPD: CNID DB code sync'd with the current CVS version. NOTE: Using this
567 code requires you to delete _all_ existing .AppleDB directories in
568 order to avoid database corruption!
569 * FIX: The file AppleVolumes.system contained wrong line breaks so that
570 not all file types were properly recognized.
571 * FIX: AFS compilation would fail due to a misnamed variable.
572 * FIX: SLP configure check was wrong so SLP did not compile.
573 * FIX: Fix the way quotas are handled under certain situations.
574 * FIX: Do not enable debugging code if debugging option is not set.
575 * FIX: Some problems with wrongly assigned DIDs were fixed.
576 * FIX: Various bug fixes and code cleanups.
581 * NEW: Added a program called cnid_didname_verify that can be used to
582 verify the consistency of the CNID database.
583 * NEW: New afpd option: -timeout. Warning: This still doesn't do what it's
585 * UPD: Code cleanups and compatibility fixes to macusers.
586 * UPD: AppleVolumes.system was cleaned up.
587 * FIX: Really fix Tru64 compilation (see last entry).
588 * FIX: Hand correct error value back to AFP client when deleting files or
590 * FIX: Leading or trailing spaces are now forbidden on volumes that have
591 the AFPVOL_MSWINDOWS flag set.
592 * FIX: Minor code cleanups and warning fixes.
593 * FIX: Make quota support work on FreeBSD.
598 * FIX: Compilation on Tru64 systems was broken, since libtool's acinclude.m4
599 file on the packagers system did not contain the necessary patch.
600 * FIX: On some systems, atalkd refuses to start, since it couldn't detect
601 any interfaces. This was caused by an overzealous validity check.
606 * FIX: contrib/shell_utils/lp2pap.sh was erased when "make clean" was called.
607 Now we distribute lp2pap.sh.tmpl instead, and lp2pap.sh is automatically
608 generated during package build.
609 * FIX: Some platforms (notably Tru64) don't have the snprintf() call, which
610 was used in etc/afp/afp_config.c. This call was replaced by sprintf()
611 and prior bounds checking.
613 Changes from the 1.4b1 release:
614 ===============================
616 * Fixed the maximum free/total volume size in afpd.
618 * Made ~ the default volume in afpd.
620 * Fixed pid file handling and changed setpgrp() to setpgid() in afpd,
623 * Added code to afpd to set the Unix file time stamps with utime().
625 * Fixed a bug in papd's printcap code which limited it to 15 or so
628 * Fixed papd's handling of piped printers.
630 * Fixed papd's handling of bad job names.
632 * Fixed atalkd to send NBP LKUP packets from NBP port.
634 * Added "sync;sync;sync" to Solaris kinstall to help with streams
637 * Added nlocalrts to streams ddp.conf. Thanks Thomas Tornblom.
639 * Fixed signed extension infinite loop in Solaris module.
641 * Moved all the config files to .../config.
643 Changes from the 1.3.3 release:
644 ===============================
646 * Added code from Sun Microsystems, Inc (OPCOM) for Solaris support.
649 * Added support for FreeBSD, mostly changes by Mark Dawson and Julian
652 * All sorts of other stuff.
654 Changes from the 1.3.1 release:
655 ===============================
657 * Added options to psf's filter names to support accounting on HPs.
658 !!! NOTE: The location of the filters has changed, see the man
661 * Added code from Alan Cox to support Linux.
663 * Rewrote papd. Now handles dropped connections better.
664 Configuration has been modernized. !!! NOTE: The format of the
665 configuration file has changed, but NOT THE NAME.
667 * Added Kerberos support to papd.
669 * atalkd now removes routes on a SIGTERM. Still can't just restart
672 * Changed atalkd and the kernel driver to remove a hack added to
673 support sending to 0.255. Now the kernel will allow multiple open
674 sockets with the same port, so long as the addess associated with
675 the port is different. atalkd now opens a socket for each port on
678 * atalkd now rewrites its configuration file. If no configuration
679 file is given, one will be generated. Permissions on the new
680 configuration file will be inherited from the old one. If there is
681 no old one, permissions default to 644. Won't rewrite the file if
682 the owner doesn't have write permission.
684 * Removed support for the "AFS Kerberos UAM", in favor of the
685 "AuthMan UAM". Kerberos support should now be much more
688 * Fixed a bug in afpd which would cause incorrect group calculations
691 * Fixed a bug in afpd which causes SimpleText and some other
692 applications to silently fail to write. There's also a bug in
693 MacOS, but we can't fix that.
695 * Fixed a bad interaction with afpd and AFS which would cause file
696 writes to not propogate between AFS clients.
698 * !!! CHANGED the name(s) of afpd's config files. The new files are
699 AppleVolumes.system and AppleVolumes.default. If AppleVolumes.system
700 exists, it is always read, AppleVolumes.default is only read if the
701 user has no AppleVolumes file. Included a flag "-u" to indicate
702 which file has precedence. "-u" user wins, otherwise ".system"
705 * Rewrote the AppleVolumes parsing code. Now works.
707 * Added a filename extension mapping to afpd. User always takes
708 precedence, regardless of the "-u" flag. Code to change the type
709 of all Unix files contributed by Kee Hinckley <nazgul@utopia.com>.
711 * afpd now supports both UFS and AFS volumes simultaneously. It also
712 uses access() to attempt to calculate reasonable Mac permissions
715 * Changed reporting of file times. Files that are written from Unix
716 now update the Mac's idea of the files modification time. Unix
717 mtime is now reported instead of ctime.
719 * Added support for a new UAM to afpd. This requires that client
720 Macs have MacTCP and AuthMan installed. Should make running afpd
723 * Removed code so that otherwise valid volumes for which the mounting
724 user has no permission will appear in the volume selection dialog
725 on the Mac gray-ed out.
727 * Added code from Chris Metcalf of MIT to the AppleDouble library
728 which improves permission inheritance.
730 * Added code from G. Paul Ziemba of Alantec, Inc to better report
731 errors in psf. Also changed psf to use syslog for errors that
732 users aren't interested in.
734 * Added information to psf's man page to better explain the
735 interaction between psf, pap, and lpd.
737 * Make psf/pap/psa do accounting when it's turnes on in
740 * Changed pap's error message when there is no printer specified on
741 the command line and no .paprc is found. Also heavily modified
742 pap's man page to reflect changes in the "new" version of pap,
743 including moving it from section 8 to section 1.
745 * Fixed a byte-order bug in pap's sequence numbers. Doubt if pap has
746 ever worked right on little endian machines!
748 * Added a flag to pap to optionally close before receiving EOF from
749 the printer. Off by default. psf calls pap with this option on.
751 * Added timeouts to the nbp library calls. This means that processes
752 won't hang when atalkd dies during boot, thus hanging your
755 Changes from the 1.3 release:
756 =============================
758 * Fixed a bug in afpd which would cause APPL mappings to contain both
759 mac and unix path names. The fixed code will handle the old
760 (corrupted) database.
762 * Fixed a *very* serious bug which would cause files to be corrupted
763 when copying to afpd.
765 * Fixed a bug in afpd which would cause replies to icon writes to
766 contain the written icon.
768 * Filled in the function code switch in afpd. Previously, a hacker
769 could probably have used afpd to get unauthorized access to a
770 machine running afpd.
772 * Fixed a bug in the asp portion of libatalk.a which could cause the
773 malloc()/free() database to be corrupted.
775 * Fixed a bug in atalkd's zip query code. With this bug, only the
776 first N % 255 nets get queried. However, since nets bigger than
777 255 are usually pretty unstable, the unqueried for nets will
778 eventually get done, when N drops by one.
780 * Suppressed a spurious error ("route: No such process") in atalkd.
782 Changes from the 1.2.1 release:
783 ===============================
785 * atalkd is completely rewritten for phase 2 support. atalkd.conf
786 from previous version will not work!
788 * afpd now has better AFS support. In particular, the configuration
789 for AFS was made much easier; a number of Kerberos-related
790 byte-ordering and time problems were found; clear-text passwords
791 were added (thanks to geeb@umich.edu).
793 * afpd now handles Unix permissions much better (thanks to
796 * There are many, many more changes, but most are small bug fixes.
798 Changes from the 1.2 release:
799 =============================
801 * The Sun support now uses loadable kernel modules (a la VDDRV)
802 instead of binary patches. As such, it should work on any sunos
803 greater than 4.1, and is confirmed to work under 4.1.1 and 4.1.2.
805 * The DEC support no longer requires source. It also runs under
806 ultrix 4.1 and 4.2. It still requires patching your kernel, but the
807 patches are limited to those files available to binary-only sites
808 -- primarily hooks for things like netatalk.
810 * The etc.rc script now uses changes made to nbprgstr (see below).
812 * aecho now takes machine names on the command line.
814 * nbplkup now takes a command line argument specifying the number of
815 responses to accept. It also takes its defaults from the NBPLKUP
816 environment variable.
818 * nbprgstr may be used to register a name at any requested port.
820 * afpd now logs if an illegal shell is used during login, instead of
821 silently denying service.
823 * A bug in afpd which caused position information for the directory
824 children of the root of a volume to be ignored has been fixed.
826 * Several typos in afpd which would cause include files necessary to
827 ultrix to be skipped have been fixed.
829 * atalkd will no long propagate routes to networks whose zone
832 * atalkd no longer dumps core if it receives a ZIP GetMyZone request
833 from a network whose zone it doesn't know. (Since this currently
834 can only happen from off net, it's not precisely a legal request.)
836 * pap and papd (optionally) no longer check the connection id in PAP
837 DATA responses. Both also maintain the function code in non-first-packet
838 PAP DATA responses. These changes are work-arounds to deal with
839 certain AppleTalk printer cards, notably the BridgePort LocalTalk
840 card for HP LJIIISIs.
842 * pap no longer sends an EOF response to each PAP SENDDATA request,
845 * A bug in papd which would cause it to return a random value when
846 printing the procset to a piped printer has been fixed.
848 * A bug relating to NBP on reverse-endian machines has been fixed.
850 * atp_rsel() from libatalk now returns a correct value even if it
851 hasn't recieved anything yet.
853 * atalk_addr() from libatalk no longer accepts addresses in octal
854 format, since AppleTalk addresses can have leading zeros. Also it
855 checks that the separator character is a '.'.
857 * Pseudo man pages for nbplkup, nbprgstr, and nbpunrgstr, have been
860 * The example in the psf(8) man page is now correct.
862 * The man pages for changed commands have been updated.
864 * The README files for various machine have been updated