3 * NEW: afpd: Put file extension type/creator mapping back in which had
5 * NEW: afpd: new option 'ad domain'. From FR #66.
6 * FIX: volumes and home share with symlinks in the path
7 * FIX: Copying packages to a Netatalk share could fail, bug #469
8 * FIX: Reloading volumes from config file was broken. Fixes bug #474.
9 * FIX: Fix _device-info service type registered with dns-sd API
10 * FIX: Fix pathname bug for FCE modified event.
11 * FIX: Remove length limitation of options like "valid users".
13 * FIX: Dont copy our metadata EA in copyfile(). Fixes bug #452.
14 * FIX: Fix an error where catalog search gave incomplete results.
16 * REM: Remove TimeMachine volume used size FCE event.
17 * UPD: Add quoting support to '[in]valid users' option. Fixes bug #472.
18 * FIX: Install working PAM config on Solaris 11. Fixes bug #481.
19 * FIX: Fix a race condition between dbd and the cnid_dbd daemon
20 which could result in users being disconnected from volumes
21 when dbd was scanning their volumes. Fixes bug #477.
22 * FIX: Netatalk didn't start when the last line of the config file
23 afp.conf wasn't terminated by a newline. Fixes bug #476.
24 * NEW: Add a new volumes option 'follow symlinks'. The default setting is
25 false, symlinks are not followed on the server. This is the same
26 behaviour as OS X's AFP server.
27 Setting the option to true causes afpd to follow symlinks on the
28 server. symlinks may point outside of the AFP volume, currently
29 afpd doesn't do any checks for "wide symlinks".
30 * FIX: Automatic AppleDouble conversion to EAs failing for directories.
32 * FIX: dbd failed to convert appledouble files of symlinks.
37 * NEW: afpd: Optional "ldap uuid encoding = string | ms-guid" parameter to
38 afp.conf, allowing for usage of the binary objectGUID fields from
40 * FIX: afpd: Fix a Solaris 10 SPARC sendfilev bug
41 * FIX: afpd: Fix a crash on FreeBSD
42 * FIX: afpd: Fixes open file handle refcounting bug which was reported as
43 being unable to play movies off a Netatalk AFP share.
45 * FIX: afpd: Fix a possible data corruption when reading from and writing
46 to the server simultaniously under load
47 * FIX: Fix possible alignment violations due to bad casts
48 * FIX: dbd: Fix logging
49 * FIX: apple_dump: Extended Attributes AppleDouble support for *BSD
50 * FIX: handling of '/' and ':' in volume name
51 * UPD: Install relevant includes necessary for building programs with
52 installed headers and shared lib libatalk
53 * UPD: libevent configure args to pick up installed version. Removed
54 configure arg --disable-libevent, added configure args
55 --with-libevent-header|lib.
56 * UPD: gentoo initscript: merge from portage netatalk.init,v 1.1
57 * REM: Remove --with-smbsharemodes configure option, it was an
58 empty stub not yet implemented
63 * UPD: afpd: force read only mode if cnid scheme is last
64 * REM: afpd: removed global option "icon"
65 * FIX: CNID path for user homes
70 * UPD: Solaris and friends: Replace initscript with SMF manifest
71 * FIX: Solaris and friends: resource fork handling
76 * UPD: afpd: Performance tuning of read/write AFP operations. New option
77 "afp read locks" (default: no) which disables that the server
78 applies UNIX byte range locks to regions of files in AFP read and
80 * UPD: apple_dump: Extended Attributes AppleDouble support.
81 (*BSD is not supported yet)
86 * NEW: afpd: Per volume "login message", NetAFP bug ID #18
87 * NEW: afpd: Cross-platform locking (share modes) on Solaris and derivates
88 with Solaris CIFS/SMB server. Uses new Solaris fcntl F_SHARE share
89 reservation locking primitives. Enabled by default, set global
90 "solaris share reservations" option to false to disable it.
91 * NEW: ad: ad set subcommand for changing Mac metadata on the server
92 * UPD: unix charset is UTF8 by default.
93 vol charset is same value as unix charset by default.
94 * UPD: .AppleDesktop/ are stored in $localstatedir/netatalk/CNID
95 (default: /var/netatalk/CNID), databases found in AFP volumes are
97 * FIX: afpd: Server info packet was malformed resulting in broken
98 server names being displayed on clients
99 * FIX: afpd: Byte order detection. Fixes an error where Netatalk on
100 OpenIndiana returned wrong volume size information.
102 Changes in 3.0 alpha2
103 =====================
105 * UPD: afpd: Store '.' as is and '/' as ':' on the server, don't
106 CAP hexencode as "2e" and "2f" respectively
107 * UPD: afdp: Automatic name conversion, renaming files and directories
108 containing CAP sequences to their not enscaped forms
109 * UPD: afpd: Correct handling of user homes and users without homes
110 * UPD: afpd: Perform complete automatic adouble:v2 to adouble:ea conversion
111 as root. Previously only unlinking the adouble:v2 file was done as root
112 * UPD: dbd: -C option removes CAP encoding
113 * UPD: Add graceful option to RedHat init script
114 * UPD: Add --disable-bundled-libevent configure options When set to yes,
115 we rely on a properly installed version on libevent CPPFLAGS and LDFLAGS
116 should be set properly to pick that up
117 * UPD: Run ldconfig on Linux at the end of make install
118 * FIX: afpd: ad cp on appledouble = ea volumes
119 * FIX: dbd: ignore ._ appledouble files
120 * REM: Volumes options "use dots" and "hex encoding"
122 Changes in 3.0 alpha1
123 =====================
125 * NEW: Central configuration file afp.conf which replaces all previous files
126 * NEW: netatalk: service controller starting and restarting afpd and cnid_metad
128 * NEW: afpd: Extended Attributes AppleDouble backend (default)
129 * UPD: CNID databases are stored in $localstatedir/netatalk/CNID
130 (default: /var/netatalk/CNID), databases found in AFP volumes are
132 * UPD: Start scripts and service manifests have been changed to only start
133 the new netatalk service controller process
134 * UPD: afpd: UNIX privileges and use dots enabled by default
135 * UPD: afpd: Support for arbitrary AFP volumes using variable expansion has been
137 * UPD: afpd: afp_voluuid.conf and afp_signature.conf location has been
138 changed to $localstatedir/netatalk/ (default: /var/netatalk/)
139 * UPD: afpd: default server messages dir changed to $localstatedir/netatalk/msg/
140 * UPD: dbd: new option -C for conversion from AppleDouble v2 to ea
141 * REM: AppleTalk support has been removed
142 * REM: afpd: SLP and AFP proxy support have been removed
143 * REM: afpd: legacy file extension to type/creator mapping has been removed
144 * REM: afpd: AppleDouble backends v1, osx and sfm have been removed
149 * FIX: Missing UAM links
150 * FIX: Lockup in AFP logout on Fedora 17
151 * FIX: Reset signal handlers and alarm timer after successfull PAM
152 authentication. Fixes a problem with AFP disconnects caused
153 by pam_smbpass.so messing with our handlers and timer.
154 * FIX: afpd: Fix a possible problem with sendfile on Solaris derived
160 * NEW: afpd: support for mdnsresponder
161 * NEW: afpd: new LDAP config option ldap_uuid_string
162 * UPD: based on Unicode 6.1.0
163 * UPD: experimental systemd service files: always run both afpd and cnid_metad
164 * UPD: afpd: Ensure our umask is not altered by eg pam_umask
165 * UPD: afpd: Use GSS_C_NO_NAME as server principal when Kerberos options -fqdn
166 and -krb5service are not set, from Jamie Gilbertson
167 * UPD: afpd: Changed behaviour for TimeMachine volumes in case there's a problem
168 talking to the CNID daemons. Previously the volume was flagged read-only
169 and an AFP message was sent to the client. As this might result in
170 TimeMachine assuming the backup sparse bundle is damaged, we now just
171 switch the CNID database to an in-memory tdb without the additional stuff.
172 * FIX: afpd: sendfile() on FreeBSD was broken, courtesy of Denis Ahrens
173 * FIX: afpd: Dont use searchdb when doing partial name search
174 * FIX: afpd: Fix a possible bug handling disconnected sessions,
176 * FIX: afpd: Close IPC fds in afpd session child inherited from the afpd
178 * FIX: dbd: Don't remove BerkeleyDB if it's still in use by eg cnid_dbd, fixes
179 bug introduced in 2.2.2
180 * FIX: debian initscript: start avahi-daemon (if available) before atalkd
181 * FIX: Zeroconf could not advertise non-ASCII time machine volume name
186 * NEW: afpd: New option "adminauthuser". Specifying eg "-adminauthuser root"
187 whenever a normal user login fails, afpd tries to authenticate as
188 the specified adminauthuser. If this succeeds, a normal session is
189 created for the original connecting user. Said differently: if you
190 know the password of adminauthuser, you can authenticate as any other
192 * NEW: configure option "--enable-suse-systemd" for openSUSE12.1 and later.
193 "--enable-redhat-systemd" and "--enable-suse-systemd" are same as
195 "--enable-suse" is renamed "--enable-suse-sysv".
196 * NEW: experimental systemd service files in distrib/systemd/
197 * UPD: afpd: Enhanced POSIX ACL mapping semantics, from Laura Mueller
198 * UPD: afpd: Reset options every time a :DEFAULT: line is found in a
200 * UPD: afpd: Convert passwords from legacy encoding (wire format) to host
201 encoding, NetAFP Bug ID #14
202 * UPD: afpd: Don't set ATTRBIT_SHARED flag for directories
203 * UPD: afpd: Use sendfile() on Solaris and FreeBSD for sending data
204 * UPD: afpd: Faster volume used size calculation for "volsizelimit" option,
205 cf man AppleVolume.default for details
206 * FIX: afpd: ACL access checking
207 * FIX: afpd: Fix an error when duplicating files that lacked an AppleDouble
208 file which lead to a possible Finder crash
209 * FIX: afpd: Read-only filesystems lead to afpd processes running as root
210 * FIX: afpd: Fix for filesystem without NFSv4 ACL support on Solaris
211 * FIX: afpd: Fix catsearch bug, NetAFP Bug ID #12
212 * FIX: afpd: Fix dircache bug, NetAFP Bug ID #13
213 * FIX: dbd: Better checking for duplicated or bogus CNIDs from AppleDouble
215 * FIX: dbd: Remove BerkeleyDB database environment after running `dbd`. This
216 is crucial for the automatic BerkeleyDB database upgrade feature which
217 is built into cnid_dbd and dbd.
218 * FIX: Fix compilation error when AppleTalk support is disabled
219 * FIX: Portability fixes
220 * FIX: search of surrogate pair
225 * NEW: afpd: disable continuous service feature by default, new option
226 -keepsessions to enable it
227 * NEW: configure option "--enable-redhat-systemd" for Fedora15 and later.
228 "--enable-redhat" is renamed "--enable-redhat-sysv".
229 * UPD: afpd: Enhance ACL support detection for volumes: enable them per volume
231 1) ACL support compiled in, 2) the volume supports ACLs, 3) the new
232 volume option "noacls" is not set for the volume.
233 The previous behaviour was to enable ACL support for a volume if
234 1) it was compiled in and 2) the volume supported ACLs. There was no way
235 to disable ACLs for a volume.
236 * UPD: afpd: add a configurable hold time option to FCE file modification event
237 generation, default is 60 s, new option "fceholdfmod" to change it
238 * UPD: afpd: add support for new NetBSD quota subsystem, Bug ID 3249879
239 * FIX: afpd: increase BerkeleyDB locks and lockobjs
240 * FIX: afpd: create special folder as root
241 * FIX: afpd: fix compilation error if --enable-ddp is used
242 * FIX: afpd: More robust IPC reconnect error handling
243 * FIX: afpd: ACL access checking
244 * FIX: afpd: fix a possible race condition between SIGCHLD handler and
245 new connection attempts
246 * FIX: afpd: fix undefined behaviour when more then ~510 connetions where
248 * FIX: afpd: fix a crash when searching for a UUID that is not a special
249 local UUID and LDAP support is not compiled in
250 * FIX: afpd: .volinfo file not created on first volume access if user in rolist
251 * FIX: afpd: possible crash at startup when registering with Avahi
252 when Avahi is not running
253 * FIX: afpd: return correct user/group type when mapping UUIDs to names
254 * FIX: afpd: for directories add DARWIN_ACE_DELETE ACE
255 if DARWIN_ACE_ADD_SUBDIRECTORY is set
256 * FIX: afpd: afpd crashed when it failed to register with Avahi because eg
257 user service registration is disabled in the Avahi config
258 * FIX: dbd: function checking and removing malformed ad:ea header files failed
259 to chdir back to the original working directory
260 * FIX: cnid_dbd: increase BerkeleyDB locks and lockobjs
261 * FIX: cnid_dbd: implement -d option, deletes CNID db
262 * FIX: dbd: better detection of local (or SMB/NFS) modifications on AFP volumes
263 * FIX: suse: initscript return better status
264 * FIX: Sourcecode distribution: add missing headers
265 * FIX: Solaris 10: missing dirfd replacement function
266 * FIX: case-conversion of surrogate pair
267 * FIX: Compilation error on GNU/kFreeBSD, fixes Bug ID 3392794 and
269 * FIX: Fix Debian Bug#637025
270 * FIX: Multiple *BSD compilation compatibility fixes, Bug ID 3380785
271 * FIX: precompose_w() failed if tail character is decomposed surrogate pair
276 * NEW: afpd: new volume option "nonetids"
277 * NEW: afpd: ACL access check caching
278 * NEW: afpd: FCE event notifications
279 * NEW: afpd: new option "-mimicmodel" for specifying Bonjour model registration
280 * UPD: Support for Berkeley DB 5.1
281 * UPD: case-conversion is based on Unicode 6.0.0
282 * UPD: cnid_metad: allow up to 4096 volumes
283 * UPD: afpd: only forward SIGTERM and SIGUSR1 from parent to childs
284 * UPD: afpd: use internal function instead of popening du -sh in order to
285 calculate the used size of a volume for option "volsizelimit"
286 * UPD: afpd: Add negative UUID caching, enhance local UUID handling
287 * FIX: afpd: configuration reload with SIGHUP
288 * FIX: afpd: crashes in the dircache
289 * FIX: afpd: Correct afp logout vs dsi eof behaviour
290 * FIX: afpd: new catsearch was broken
291 * FIX: afpd: only use volume UUIDs in master afpd
292 * FIX: dbd: Multiple fixes, reliable locking
293 * FIX: ad file suite: fix an error that resulted in CNID database
299 * NEW: afpd: new afpd.conf options "tcprcvbuf" and "tcpsndbuf" to customize
300 the corresponding TCP socket options.
301 * NEW: afpd: new afpd.conf option "nozeroconf" which disabled automatic
302 Zeroconf service registration.
303 * FIX: afpd: generate mersenne primes for DHX2 UAM once at startup,
305 * FIX: afpd: DSI streaming deadlock
306 * FIX: afpd: extended sleep
307 * FIX: afpd: directory cache
308 * FIX: Support for platforms that do not have the *at functions
309 * UPD: afpd: put POSIX write lock on volume files while reading them
314 * FIX: afpd: fix option volsizelimit to return a usefull value for the
315 volume free space using `du -sh` with popen
316 * FIX: afpd: fix idle connection disconnects
317 * FIX: afpd: don't disconnect sessions for clients if boottimes don't match
318 * FIX: afpd: better handling of very long filenames that contain many
319 multibyte UTF-8 glyphs
325 * UPD: afpd: AFP 3.x can't be disabled
330 * FIX: composition of Surrogate Pair
331 * UPD: gentoo,suse,cobalt,tru64: inistscript name is "netatalk", not "atalk"
332 * UPD: gentoo: rc-update install don't hook in the Makefile
337 * UPD: afpd: new option "searchdb" which enables fast catalog searches
339 * UPD: Case-insensitive fast search with the CNID db
340 * UPD: cnid_dbd: afpd now passes the volume path, not the db path when
341 connecting for a volume. cnid_dbd will read the
342 ".AppleDesktop/.volinfo" file of the volume in order to figure
343 out the CNID db path and the volume charset encoding.
348 * NEW: Enhanced CNID "dbd" database for fast name search support.
349 Important: this makes cnidscheme "cdb" incompatible with "dbd".
350 * NEW: afpd: support for fast catalog searches
351 * NEW: ad utility: ad find
352 * UPD: afpd: CNID database versioning check for "cdb" scheme
353 * UPD: cnid_dbd: CNID database versioning and upgrading. Additional
354 CNID database index for fast name searches.
359 * FIX: afpd: various fixes
360 * FIX: Any daemon did not run if atalkd doesn't exist (redhat/debian)
365 * FIX: afpd: fix compilation error when ACL support is not available
366 * FIX: Ensure Appletalk manpages and config files are distributed
371 * NEW: ad utility: ad cp
372 * NEW: ad utility: ad rm
373 * NEW: ad utility: ad mv
374 * NEW: afpd: dynamic directoy and CNID cache (new config option -dircachesize)
375 * NEW: afpd: POSIX 1e ACL support
376 * NEW: afpd: automagic Zeroconf registration with avahi, registering both
377 the service _afpovertcp._tcp and TimeMachine volumes with _adisk._tcp.
378 * UPD: afpd: ACLs usable (though not visible on the client side) without common
379 directory service, by mapping ACLs to UARight
380 * UPD: afpd: performance improvements for ACL access calculations
381 * UPD: AppleTalk is disabled by default at configuration time. If needed
382 use configure switch --enable-ddp.
383 * FIX: afpd: Solaris 10 compatibilty fix: don't use SO_SNDTIMEO/SO_RCVTIMEO,
384 use non-blocking IO and select instead.
385 * FIX: cnid_dbd: Solaris 10 compatibilty fix: don't use SO_SNDTIMEO/SO_RCVTIMEO,
386 use non-blocking IO and select instead.
387 * REM: afile/achfile/apple_cp/apple_mv/apple_rm: use ad
392 * FIX: afpd: Fix for LDAP user cache corruption
393 * FIX: afpd: Fix for not shown ACLs for when filesyem uid or gid
394 couldn't be resolved because (eg deleted users/groups)
395 * FIX: gentoo: cannot set $CNID_CONFIG
396 * FIX: ubuntu: servername was empty
397 * FIX: Solaris: configure script failed to enable DDP module
398 * FIX: AppleDouble buffer overrun by extremely long filename
399 * UPD: afpd: return version info with machine type in DSIGetStatus
400 * UPD: dbd: use on-disk temporary rebuild db instead of in-memory db
401 * UPD: suse: initscript update
406 * UPD: afpd: support newlines in -loginmesg with \n escaping syntax
407 * UPD: afpd: support for changed chmod semantics on ZFS with ACLs
409 * FIX: afpd: fix leaking ressource when moving objects on the server
410 * FIX: afpd: backport Solaris 10 compatibilty fix from 2.2: don't use
411 SO_SNDTIMEO/SO_RCVTIMEO, use non-blocking IO and select instead.
412 * FIX: afpd: misaligned memory access on Sparc in ad_setattr, fixes
414 * FIX: cnid_dbd: backport Solaris 10 compatibilty fix from 2.2: don't
415 use SO_SNDTIMEO/SO_RCVTIMEO, use non-blocking IO and select instead.
420 * FIX: afpd: Downstream fix for FreeBSD PR 148022
421 * FIX: afpd: Fixes for bugs 3074077 and 3074078
422 * FIX: afpd: Better handling of symlinks in combination with ACLs and EAs.
424 * FIX: dbd: Adding a file with the CNID from it's adouble file did
425 not work in case that CNID was already occupied in the database
426 * FIX: macusers: add support for Solaris
427 * NEW: cnid_metad: use a PID lockfile
428 * NEW: afpd: prevent log flooding
429 * UPD: dbd: ignore ".zfs" snapshot directories
430 * UPD: dbd: support interrupting -re mode
435 * FIX: afpd: fix a serious error in networking IO code
436 * FIX: afpd: Solaris 10 compatibilty fix: don't use SO_SNDTIMEO, use
437 non-blocking IO and select instead for writing/sending data.
438 * UPD: Support for BerkeleyDB 5.0.
443 * FIX: afpd: fix for possible crash in case more then one server is
444 configured in afpd.conf.
445 * FIX: afpd: ExtendedAttributes in FreeBSD
446 * FIX: afpd: sharing home folders corrupted the per volume umask.
447 * UPD: afpd: umask for home folders is no longer taken from startup umask.
448 * UPD: afpd: dont and permissions with parent folder when creating new
449 directories on "upriv" volumes.
450 * UPD: afpd: use 'afpserver@fqdn' instead of 'afpserver/fqdn@realm'.
451 Prevents a crash in older GNU GSSAPI libs on eg. CentOS 5.x.
456 * UPD: fallback to a temporary in memory tdb CNID database if the volume
457 database can't be opened now works with the default backend "dbd" too.
458 * FIX: afpd: afp_ldap.conf was missing from tarball. This only effected
460 * FIX: afpd: Check if options->server is set in set_signature, preventing
462 * FIX: afpd: server signature wasn't initialized in some cases
463 * FIX: DESTDIR support: DESTDIR was expanded twice
464 * FIX: Fix for compilation error if header files of an older Netatalk
465 version are installed.
467 Changes in 2.1-release
468 ======================
470 * NEW: afpd: new volume option "volsizelimit" for limitting reported volume
471 size. Useful for limitting TM backup size.
472 * UPD: dbd: -c option for rebuilding volumes which prevents the creation
473 of .AppleDouble stuff, only removes orphaned files.
478 * NEW: afpd: static generated AFP signature stored in afp_signature.conf,
479 cf man 5 afp_signature.conf
480 * NEW: afpd: clustering support: new per volume option "cnidserver".
481 * UPD: afpd: set volume defaults options "upriv" and "usedots" in the
482 volume config file AppleVolumes.default. This will only affect
483 new installations, but not upgrades.
484 * FIX: afpd: prevent security attack guessing valid server accounts. afpd
485 now returns error -5023 for unknown users, as does AppleFileServer.
490 * NEW: afpd: AFP 3.2 support
491 * NEW: afpd: Extended Attributes support using native attributes or
492 using files inside .AppleDouble directories.
493 * NEW: afpd: ACL support with ZFS
494 * NEW: cnid_metad: options -l and -f to configure logging
496 * NEW: AppleDouble compatible UNIX files utility suite `ad ...`.
497 With 2.1 only `ad ls`.
498 * NEW: CNID database maintanance utility dbd
499 * NEW: support BerkeleyDB upgrade. Starting with the next release
500 after 2.1 in case of BerkeleyDB library updates, Netatalk
501 will be able to upgrade the CNID databases.
502 * NEW: afpd: store and read CNIDs to/from AppleDouble files by default.
503 This is used as a cache and as a backup in case the database
504 is deleted or corrupted. It can be disabled with a new volume
505 option "nocnidcache".
506 * NEW: afpd: sending SIGINT to a child afpd process enables debug logging
507 to /tmp/afpd.PID.XXXXXX.
508 * NEW: configure args to download and install a "private" Webmin instance
509 including only basic Webmin modules plus our netatalk.wbm.
510 * NEW: fallback to a temporary in memory tdb CNID database if the volume
511 database can't be opened.
512 * NEW: support for Unicode characters in the range above U+010000 using
513 internal surrogate pairs
514 * NEW: apple_dump: utility to dump AppleSingle and AppleDouble files
515 * NEW: afpldaptest: utility to check afp_ldap.conf.
516 * UPD: atalkd and papd are now disabled by default. AppleTalk is legacy.
517 * UPD: slp advertisement is now disabled by default. server option -slp
519 * UPD: cdb/dbd CNID backend requires BerkeleyDB >= 4.6
520 * UPD: afpd: default CNID backend is "dbd"
521 * UPD: afpd: try to install PAM config that pulls in system|common auth
522 * UPD: afpd: symlink handling: never followed server side, client resolves
523 them, so it's safe to use them now.
524 * UPD: afpd: Comment out all extension->type/creator mappings in
525 AppleVolumes.system. They're unmaintained, possibly wrong and
527 * FIX: rewritten logger
528 * FIX: afpd: UNIX permissions handling
529 * FIX: cnid_dbd: always use BerkeleyDB transactions
530 * FIX: initscripts installation now correctly uses autoconf paths,
531 ie they're installed to --sysconfdir.
532 * FIX: UTF-8 volume name length
533 * FIX: atalkd: workaround for broken Linux 2.6 AT kernel module:
534 Linux 2.6 sends broadcast queries to the first available socket
535 which is in our case the last configured one. atalkd now tries to
537 Note: now a misconfigured or plugged router can broadcast a wrong route !
538 * REM: afpd: removed CNID backends "db3", "hash" and "mtab"
539 * REM: cnid_maint: use dbd
540 * REM: cleanappledouble.pl: use dbd
541 * REM: nu: use `macusers` instead
546 * NEW: afpd: Time Machine support with new volume option "tm".
547 * FIX: papd: Remove variable expansion for BSD printers. Fixes CVE-2008-5718.
548 * FIX: afpd: .AppleDxxx folders were user accessible if option 'usedots'
550 * FIX: afpd: vetoed files/dirs where still accessible
551 * FIX: afpd: cnid_resolve: don't return '..' as a valid name.
552 * FIX: uniconv: -d option wasn't working
557 * REM: remove timeout
558 * NEW: afpd: DHX2 uams using GNU libgcrypt.
559 * NEW: afpd: volume options 'illegalseq', 'perm' and 'invisibledots'
560 'ilegalseq' encode illegal sequence in filename asis, ex "\217-", which is not
561 a valid SHIFT-JIS char, is encoded as U\217 -.
562 'perm' value OR with the client requested permissions. (help with OSX 10.5
563 strange permissions).
564 Make dot files visible by default with 'usedots', use 'invisibledots'
565 for keeping the old behavior, ie for OS9 (OSX hide dot files on its
567 * NEW: afpd: volume options allow_hosts/denied hosts
568 * NEW: afpd: volume options dperm/fperm default directory and file
569 permissions or with server requests.
570 * NEW: afpd: afpd.conf, allow line continuation with \
571 * NEW: afpd: AppleVolumes.default allow line continuation with \
572 * NEW: afpd: Mac greek encoding.
573 * NEW: afpd: CJK encoding.
574 * UPD: afpd: Default UAMs: DHX + DHX2
575 * FIX: afpd: return the right error in createfile and copyfile if the disk
577 * FIX: afpd: resolveid return the same error code than OSX if it's a directory
578 * FIX: afpd: server name check, test for the whole loopback subnet
580 * UPD: afpd: limit comments size to 128 bytes, (workaround for Adobe CS2 bug).
581 * UPD: afpd: no more daemon icon.
582 * UPD: usedots, return an invalide name only for .Applexxx files used by netatalk not
583 all files starting with .apple.
584 * UPD: cnid: increase the number of cnid_dbd slots to 512.
585 * FIX: cnid: dbd detach the daemon from the control terminal.
586 * UPD: cnid: never ending Berkeley API changes...
587 * UPD: cnid: dbd add a timeout when reading data from afpd client.
588 * UPD: cnid: Don't wait five second after the first error when speaking to the dbd
590 * FIX: papd: vars use % not $
591 * FIX: papd: quote chars in popen variables expansion. security fix.
592 * FIX: papd: papd -d didn't write to stderr.
593 * FIX: papd: ps comments don't always use ()
594 * FIX: many compilation errors (solaris, AFS, Tru64, xfs quota...).
599 * NEW: afpd: add a cachecnid option that controls if afpd should
600 use the IDs stored in the AD2 files as cache. Defaults
602 * UPD: afpd: deal with more than 32 groups.
603 * FIX: afpd: several catsearch fixes, based on patch from
605 * FIX: afpd: fix a race when a client very quickly reconnects and
606 tries to kill its old session.
607 * FIX: afpd: OSX style symlink caused problems with Panther clients.
608 * FIX: afpd: old files with default type didn't show the right icon
609 in finder, from Shlomi Yaakobovich, slightly modified.
610 * FIX: cnid_check: disable cnid_check if CNID db was configured with
611 transactions and really bail out after the first error.
612 * FIX: admin-group configure option was broken.
613 * FIX: several problems with IDs cached in AD2 files.
614 * FIX: Ignore BIDI in UTF8 hints from OSX.
615 * FIX: Lots of gcc warning fixes.
616 * FIX: small configure script changes.
622 * NEW: cnid: Add an indexes check and rebuild, optional for dbd
623 (parameter check default no), standalone program cnid_index for
625 * UPD: Enhanced afpd's -v command line switch and added -V for more
627 * UPD: uams_gss: build the principal used by uams_gss.so from afpd's
628 configuration, don't use GSS_C_NT_HOSTBASED_SERVICE
629 * UPD: cnid_dbd: add process id in syslog and small clean up
630 * REM: remove netatalkshorternamelinks.pl cf. SF bug [ 1061396 ]
631 netatalkshorternamelinks.pl broken
632 * FIX: afpd: check for DenyRead on FPCopyFile
633 * FIX: afpd: add missing flush for AD2 Metadata on FPCopyFile, SF bug
634 [ 1055691 ] Word 98 OS 9 Saving an existing file
635 * FIX: afpd: Deal with AFP3 connection and type 2 (non-UTF8) names.
636 reported by Gair Heaton, HI RESOLUTION SYSTEMS
637 * FIX: afpd: Broken 'crlf' option
638 * FIX: afpd: fix SF bug [ 1079622 ] afpd/dhx memory bug,
640 * FIX: afpd: Return an error if we cannot get the db stamp in
642 * FIX: afpd: Fix slp registration with Solaris9 slpd, from
643 hat at fa2.so-net.ne.jp
649 * NEW: --enable-debian configure option. Will install /etc/init.d/atalk
650 to get not in conflict with standard debian /etc/init.d/netatalk.
651 Reads netatalk.conf from $ETCDIR and not from /etc/default/
652 * UPD: Disable logger code by default. Log to syslog instead
653 * UPD: changed netatalk.conf default settings to prevent problems with
654 AppleTalk zone names containing spaces
655 * FIX: insecure tempfile handling bug in etc2ps.sh,
656 found by Trustix, CAN-2004-0974.
657 * REM: remove add_netatalk_printer and netatalk.template from stable
658 branch until fixed. (possible symlink vulnerabilities)
659 * FIX: afpd: set hasBeenInited in default finder info. This bug caused
660 endless finder refreshes with OS9 finder if the noadouble option
661 was used. From TSUBAKIMOTO Hiroya.
662 * FIX: afpd: fix a bug in default CREATOR/TYPE handling. Due to this bug
663 the type/creator mappings in AppleVolumes.system were ignored,
664 causing problems i.e. with OS9 clients.
665 * FIX: AppleVolumes.system: By default don't define a CREATOR/TYPE for a
666 file of unknown type.
667 * FIX: fix two Tru64 UNIX compilation errors,
668 from Burkhard Schmidt bs AT cpfs.mpg.de
669 * FIX: afpd: FPMapId wasn't using UTF8 for groups if requested by client.
674 * UPD: afpd: add an error message if -ipaddr parameter cannot be parsed
675 * UPD: updated documentation
676 * FIX: afpd: fix a file descriptor and memory leak with OSX ._ resource fork
677 * FIX: afpd: Prevent overwriting a file by renaming a file in the same
678 directory to the same name. Won't work with OSX, the dest file gets
679 deleted by OSX first.
680 * FIX: sometimes '0' was used instead of 0 for creator/type
681 * FIX: removed setpgrp check from configure, we don't use it anymore and
682 it doesn't work with cross compile.
683 * FIX: fix for Solaris "make maintainer-clean", from Alexander Barton
684 * FIX: fix username matching bug in afppasswd. from kanai at nadmin dot org
685 * FIX: reworked username check a little. Depending on the UAM, the wrong
686 username _could_ have been selected.
691 * UPD: use 0 0 for default creator/type rather than UNIX TEXT, from
693 * UPD: updated documentation
694 * UPD: change machine type from Macintosh to Netatalk in status reply
695 * FIX: afpd: CopyFile only create a resource fork for destination if source
697 * FIX: afpd: mangling: for utf8 --> max filename length is 255 bytes, else 31.
698 * FIX: cnid_dbd: fix a signed/unsigned, 16/32 bits mismatch. from Burkhard
699 Schmidt, bs at cpfs.mpg.de.
700 * FIX: afpd: After ad_setid don't flush resource fork if it has not been
702 * FIX: NEWS: Fixed ancient NEWS entries. Removed umlauts
703 * FIX: fix macname cache, SF bug 1021642
704 * FIX: revert Makefile change from 2.0-rc1. We have to include BDB_CFLAGS
710 * NEW: new manual page for asip-status.pl
711 * UPD: updated documentation
712 * UPD: uams: link uam_dhx_passwd.so to lcrypt before lcrypto. might help with
714 * UPD: Improved BerkeleyDB detection
715 * UPD: sys/solaris/Makefile.in: enable 'make check', from Alexander Barton
716 * UPD: tcp wrappers detection should work on OpenBSD as well now
717 * UPD: macbin: increase the maximum size of macbinary forks, as suggested by
718 Sourceforge bug ID 829221
719 * UPD: ASP: rework getstatus. use several ASP packets if the client allows
720 it, otherwise just send as much as we can
721 * FIX: FreeBSD 5 build, from Alex Barton (alex at barton.de)
722 * FIX: OSX 10.3 build
723 * FIX: papd: workaround a problem with PJL before Postscript
724 * FIX: afpd: make sure we only disconnect on old session if the users match
725 * FIX: apfd: Quark6 mangled long filenames should work better now
726 * FIX: enhance ADv1 to ADv2 conversion. Fixed a SIGSEGV reported by Mark Baker
727 * FIX: better detection of invalid resource forks
728 * FIX: fix some linking problems on OpenBSD
729 * FIX: afpd: catsearch.c, filedir.c: fix bogus casts, from Olaf Hering
731 * FIX: afpd: don't try to create special folders and .volinfo on read-only
733 * FIX: iconv/unicode enhancements. fixed a sigsegv on conversion error
734 * FIX: configure.in: fix a typo, reported by Joerg Rossdeutscher
735 * FIX: uniconv: enhanced uniconv behaviour
736 * FIX: fixed some Solaris compilation problems
737 * FIX: papd/Makefile.am: add a missing $DESTDIR, from Vlad Agranovsky
738 * FIX: afpd: quota.c: remove a c99 declaration, from Yann Rouillard
739 * FIX: configure.in: Solaris/gcc 3.0 fix, from Yann Rouillard
740 * FIX: afpd: fix a SIGSEGV when sharing home dirs without any options in
742 * FIX: numerous small bugfixes
747 * NEW: atalkd, papd and npb tools now support nbpnames with extended
749 * NEW: integrated CUPS support for papd
750 * NEW: optionally advertise SSH tunneling capabilties
751 * NEW: automatic logfile removal for cnid_metad
752 * NEW: asip-status.pl has been added to netatalk
753 * UPD: updated documentation
754 * UPD: we now require Berkeley DB >= 4.1
755 * UPD: 64bit Linux fixes from Stew Benedict, Mandrakesoft
756 * UPD: remove --enable-sendfile
757 * UPD: more verbose error messages
758 * FIX: better handling for resource forks without read access
759 * FIX: Tru64 build, by Burkhard Schmidt
760 * FIX: MIT Kerberos detection
761 * FIX: varios *BSD compile problems
762 * FIX: compile problem with libiconv, reported by Joe Marcus Clarke
763 * FIX: adv1tov2: make it work with the new structure
764 * FIX: afpd: filenames longer than 127 bytes were not enumerated correctly,
765 reported by Thies C. Arntzen
766 * FIX: afpd: return IP before FQDN in status reply.
767 * FIX: afpd: Mac chooser could crash on a codepage conversion error
768 * FIX: afpd: KerberosV auth with Panther clients, make long AD tickets work,
769 reported by Andrew Smith
770 * FIX: atalkd: could send invalid NBPLKUP replies, e.g with more than 15
771 printers. Reported by Almacha
772 * FIX: papd: fix papd.conf parsing problems with consecutive ':' and missing
773 newline. Reported by Craig White.
774 * FIX: megatron: make megatron work with UTF-8 volumes
775 * FIX: timeout: running timeout with commands which accept arguments,
777 * FIX: uniconv: fix a SEGFAULT, reported by Matthew Geier
778 * FIX: pam detection: PAM_C/LDFLAGS were always empty, from Alexander Barton
779 * FIX: numerous small bugfixes.
784 * NEW: OSX style adouble scheme
785 * NEW: japanese SHIFT_JIS codepage (iconv supplied)
786 * NEW: Solaris kernel module build integrated with configure
787 * NEW: Gentoo start scripts
788 * NEW: cnid_dbd doesn't use transactions by default
789 * FIX: afpd: the volume casefold option was broken
790 * FIX: afpd: update AD2 headers and keep owner on file exchange
791 * FIX: Solaris 9 and FreeBSD 4.9/5.2 compilation
792 * FIX: free space reported with groups quotas on Linux
793 * FIX: OS9/OS X didn't update free space
794 * FIX: finder crash if folder opened got deleted by another process
795 * FIX: randnum UAM wasn't AFP3 ready
796 * FIX: numerous small bugfixes.
798 Changes in 2.0-alpha2
799 =====================
801 * NEW: uniconv tool for converting volume encoding.
802 * NEW: afpd: Make sure getstatus doesn't return loopback address as server IP.
803 * NEW: afpd: Specify USEDOTS with MSWINDOWS implicitely.
804 * NEW: afpd: SRVLOC register with IP address instead of hostname by default,
805 if -fqdn is specified register with FQDN. Added extended character
806 support for SLP, non ASCII characters are escaped Added ZONE to registration.
807 * NEW: atalkd: Make atalkd set interfaces to ALLMULTI on linux by default.
808 * NEW: cnid_metad: Use DB_PRIVATE attribute for dbd backend without transaction.
809 * FIX: afpd: Partial workaround for an OSX client deadlock.
810 * FIX: afpd: Reenumerate folder if db is out of sync in resolveID.
811 * FIX: afpd: Don't modify modification date in copyfile.
812 * FIX: afpd: Variable $v substitution: always use name defined in config files.
813 * FIX: libatalk: Speed optimisation for byte locking was broken on resource fork.
814 * FIX: Solaris 9 compilation.
815 * FIX: Tru64 compilation fixes.
816 * FIX: AFS compilation fixes.
817 * FIX: strncpy bugfix.
818 * FIX: configure, man pages update and small bugfixes.
820 Changes in 2.0-alpha1
821 =====================
823 * NEW: afpd: We now support AFP 3.x, which features long filenames and
825 * NEW: CNID handling completely reworked. We now use per Volume configurable
827 * NEW: Two new daemons, cnid_metad and cnid_dbd to implement the dbd CNID backend.
828 Using Berkeley DB transactions with the CNID database should be safe now.
829 * NEW: The on disk format of the CNID database has changed. We now support 8 byte
830 device and inode numbers and an additinal type field that should make
831 detection of file/directory changes outside of afpd more robust.
832 Changed from HASH to BTREE access which speeds things up in certain cases
833 and reduces database file size.
834 * NEW: Long file name mangling is now implemented using the CNID ID, so no database is
835 required to map names to mangled names. This is the same method Mac OS X uses.
836 * NEW: New format (version 2) for Metadata in AppleDouble files. We record device and
837 inode of the underlying file as well as the CNID. This can be used for recovery
838 and speeds up access to the CNID.
839 * NEW: The old NLS codepage system has been removed. It was replaced by an iconv
840 based conversion system, which provides much more flexibility.
841 * NEW: You can safely use extended characters in volume names and for SIGUSR2 messaging.
842 * NEW: The default volume encoding is UTF-8.
843 * NEW: All documentation is now generated using DocBook. New or completely reworked
844 sections about installing, setting up and upgrading Netatalk replace various
845 README files in the doc directory.
846 * FIX: Protect afpd better against unexpected signals during updates of the CNID
847 database with the cdb backend. This makes database corruption less likely.
848 * FIX: All manpages have been reviewed and should now be up to date.
849 * FIX: Tons of bug fixes since 1.6.4. Please consults the CVS change log for details.
854 * NEW: afpd: Using the mswindows option now implicitly specifies usedots.
856 * UPD: afpd.8: Updated the option documentation.
857 [Thomas Kaiser, Sebastian Rittau]
858 * FIX: configure: Removed broken --with-flock-locks option. [Bjoern Fernhomberg]
859 * FIX: libatalk: Do not log network probe (OSX 10.3). [Didier Gautheron]
860 * FIX: libatalk: Deadlock in signal handlers. [Didier]
861 * FIX: libatalk: Compilation with Linux kernel 2.6 fixed. [Sebastian, Bjoern]
862 * FIX: afpd: Solaris compile issues. [Bjoern]
863 * FIX: afpd: If connection broke in dsi_tickle the child did never die. [Bjoern]
864 * FIX: afpd: Catsearch, fixes a possible segmentation fault. [Bjoern]
865 * FIX: afpd: Compilation issues. [Olaf Hering, Sebastian]
866 * FIX: cnid: Fix compile problems on Tru64. [Burkhard Schmidt]
867 * FIX: megatron: Fixed an uninitialized variable. [Olaf]
868 * FIX: installation: Don't overwrite PAM file if --enable-overwrite configure
869 option is not set. [Sam, Ryan Cleary]
870 * FIX: installation: Fixed BSD installation. [Toru TAKAMIZU]
871 * FIX: docs: Removed ssl-dir/ssl-dirs confusion from doc/INSTALL. [Bjoern]
876 * UPD: afpd: Infrastructural support for an upcoming Kerberos 5 UAM.
878 * UPD: uams_dhx_passwd: Better random seed in Tru64. [Burkhard Schmidt]
879 * FIX: afpd: Bug in AFP connection negotiation stage. [Sam]
880 * FIX: afpd: Catsearch, when Mac and unix name differ, search on attributes.
881 * FIX: afpd: Files could be opened for writing on read-only filesystems.
882 * FIX: afpd: Debugging using SIGUSR1 was broken. [Stefan Muenkner]
883 * FIX: afpd: Segfault after login. [Robby Griffin, Sean Bolton]
884 * FIX: psf: Correct path to etc2ps.sh.
885 * FIX: shell_utils: Don't distribute generated files.
886 * FIX: aecho: -A option didn't work. [Chris Shiels]
887 * FIX: configure: Berkeley DB path detection could be wrong. [Stefan]
888 * FIX: Automake build fixes.
893 * FIX: atalkd: Fixes for reading long configuration file lines. [Dan Wilga]
894 * FIX: afpd: CNID id allocation in a multiuser environment.
895 * FIX: papd: Fix PSSP support when PAM is enabled.
896 * FIX: macusers: Can now cope with IP addresses as well as host names.
897 * FIX: etc2ps.sh: Install correctly.
902 * UPD: Improve --enable-fhs. [Olaf Hering]
903 * UPD: Add BDB 4.1.x support.
904 * UPD: Add more documentation on CNID, as well as list which versions
905 of Berkeley DB are supported.
906 * FIX: Codepage file maccode.koi8-r is now correctly cleaned.
907 * FIX: Fix init script location on SuSE. [Olaf]
908 * FIX: Build fixes. [Olaf, Steven N. Hirsch]
909 * FIX: Various bugs when a user doesn't have access permission to a folder.
910 (Fixes an OSX kernel panic.)
911 * FIX: CNID, folders' DID handling with concurrent access or symlinks.
912 (Fixes an endless loop in afpd.)
917 * FIX: pap looks at the STDOUT file descriptor to see if it's connected to
918 a tty, instead of STDIN.
923 * UPD: Removed --with-catsearch option from configure and enable FPCatSearch
925 * UPD: The dbpath argument does now support variable substitution.
926 * FIX: Build fix for non-GNU-C compilers in libatalk/util/logger.c.
927 * FIX: Two directories with the same name but different case confused the
929 * FIX: The ROOT_PARENT directory could get invalidated.
934 * NEW: Long file name mangling support.
935 * NEW: Improved log file support.
936 * NEW: Server-side find capability ("FPCatSearch")
937 * NEW: Concurrent datastore (CDB) is now the default CNID datastore. This
938 should be heavily tested in a multiuser environment.
939 * NEW: Variable substitution support has been added for the dbpath AppleVolume
941 * UPD: CNID DID handling is now enabled by default.
942 * FIX: Various bug and build fixes as well as code cleanups.
947 * NEW: Allow afpd debugging to be enabled by sending the afpd process
949 * NEW: Allow SLP to be disabled per afpd process by adding a new -noslp flag
951 * FIX: Use server name (if not NULL) for the SLP URL.
952 * FIX: papd: buffer overflow during config file read (Olaf Hering)
957 * FIX: File open read only and then read write (aka pb with Illustrator).
958 * FIX: Problems with unexpected EOF when reading files on a ddp connection
959 Photoshop, old finder.
960 * FIX: --with-nls-dir option does now work
965 * UPD: Extend the --disable-shell-check functionality to ignore users
966 with _no_ shell. Also, send a log message if a user is refused login
967 based on the fact that they have no shell.
968 * UPD: Autoconf updates.
969 * UPD: Tru64 afpd authentication updates.
970 * UPD: As always: lots of minor code cleanups.
971 * FIX: Problems with Photoshop trying to open image files has been
973 * FIX: Preserve special permission bits when creating or modifying
975 * FIX: afp_deleteid() now deletes the specified file and not the parent
977 * FIX: papd does now announce that it supports binary data to its clients.
978 * FIX: NetBSD ELF support.
979 * FIX: acleandir.rc is now installed in the bin directory.
980 * FIX: megatron does now compile even if compiled with -DDEBUG.
981 * FIX: Clean up some syslog messages.
986 * NEW: NetBSD support contributed by David Rankin and NetBSD contributors.
987 This includes a new configure option --enable-netbsd.
988 * NEW: Add the -client_polling afpd.conf flag to allow for clients to poll
989 the server every 10 seconds for open window updates. Currently
990 this is the only way to get asynchronous directory updates.
991 * UPD: Use separate macro for AFS configure check.
992 * UPD: Some Perl scripts are now (partially) auto-generated. This improves
993 out-of-the-box usage of Netatalk.
994 * UPD: Solaris Kernel Makefile is now auto-generated. This fixes some path
995 issues, but isn't perfect, yet. Added some Solaris compatibility
996 fixes to the Kernel sources, too.
997 * UPD: CNID DB code sync'd with the current CVS version. NOTE: Using this
998 code requires you to delete _all_ existing .AppleDB directories in
999 order to avoid database corruption!
1000 * FIX: The file AppleVolumes.system contained wrong line breaks so that
1001 not all file types were properly recognized.
1002 * FIX: AFS compilation would fail due to a misnamed variable.
1003 * FIX: SLP configure check was wrong so SLP did not compile.
1004 * FIX: Fix the way quotas are handled under certain situations.
1005 * FIX: Do not enable debugging code if debugging option is not set.
1006 * FIX: Some problems with wrongly assigned DIDs were fixed.
1007 * FIX: Various bug fixes and code cleanups.
1012 * NEW: Added a program called cnid_didname_verify that can be used to
1013 verify the consistency of the CNID database.
1014 * NEW: New afpd option: -timeout. Warning: This still doesn't do what it's
1016 * UPD: Code cleanups and compatibility fixes to macusers.
1017 * UPD: AppleVolumes.system was cleaned up.
1018 * FIX: Really fix Tru64 compilation (see last entry).
1019 * FIX: Hand correct error value back to AFP client when deleting files or
1021 * FIX: Leading or trailing spaces are now forbidden on volumes that have
1022 the AFPVOL_MSWINDOWS flag set.
1023 * FIX: Minor code cleanups and warning fixes.
1024 * FIX: Make quota support work on FreeBSD.
1029 * FIX: Compilation on Tru64 systems was broken, since libtool's acinclude.m4
1030 file on the packagers system did not contain the necessary patch.
1031 * FIX: On some systems, atalkd refuses to start, since it couldn't detect
1032 any interfaces. This was caused by an overzealous validity check.
1037 * FIX: contrib/shell_utils/lp2pap.sh was erased when "make clean" was called.
1038 Now we distribute lp2pap.sh.tmpl instead, and lp2pap.sh is automatically
1039 generated during package build.
1040 * FIX: Some platforms (notably Tru64) don't have the snprintf() call, which
1041 was used in etc/afp/afp_config.c. This call was replaced by sprintf()
1042 and prior bounds checking.
1044 Changes from the 1.4b1 release:
1045 ===============================
1047 * Fixed the maximum free/total volume size in afpd.
1049 * Made ~ the default volume in afpd.
1051 * Fixed pid file handling and changed setpgrp() to setpgid() in afpd,
1054 * Added code to afpd to set the Unix file time stamps with utime().
1056 * Fixed a bug in papd's printcap code which limited it to 15 or so
1059 * Fixed papd's handling of piped printers.
1061 * Fixed papd's handling of bad job names.
1063 * Fixed atalkd to send NBP LKUP packets from NBP port.
1065 * Added "sync;sync;sync" to Solaris kinstall to help with streams
1068 * Added nlocalrts to streams ddp.conf. Thanks Thomas Tornblom.
1070 * Fixed signed extension infinite loop in Solaris module.
1072 * Moved all the config files to .../config.
1074 Changes from the 1.3.3 release:
1075 ===============================
1077 * Added code from Sun Microsystems, Inc (OPCOM) for Solaris support.
1080 * Added support for FreeBSD, mostly changes by Mark Dawson and Julian
1083 * All sorts of other stuff.
1085 Changes from the 1.3.1 release:
1086 ===============================
1088 * Added options to psf's filter names to support accounting on HPs.
1089 !!! NOTE: The location of the filters has changed, see the man
1092 * Added code from Alan Cox to support Linux.
1094 * Rewrote papd. Now handles dropped connections better.
1095 Configuration has been modernized. !!! NOTE: The format of the
1096 configuration file has changed, but NOT THE NAME.
1098 * Added Kerberos support to papd.
1100 * atalkd now removes routes on a SIGTERM. Still can't just restart
1101 it, but it's closer.
1103 * Changed atalkd and the kernel driver to remove a hack added to
1104 support sending to 0.255. Now the kernel will allow multiple open
1105 sockets with the same port, so long as the addess associated with
1106 the port is different. atalkd now opens a socket for each port on
1109 * atalkd now rewrites its configuration file. If no configuration
1110 file is given, one will be generated. Permissions on the new
1111 configuration file will be inherited from the old one. If there is
1112 no old one, permissions default to 644. Won't rewrite the file if
1113 the owner doesn't have write permission.
1115 * Removed support for the "AFS Kerberos UAM", in favor of the
1116 "AuthMan UAM". Kerberos support should now be much more
1119 * Fixed a bug in afpd which would cause incorrect group calculations
1122 * Fixed a bug in afpd which causes SimpleText and some other
1123 applications to silently fail to write. There's also a bug in
1124 MacOS, but we can't fix that.
1126 * Fixed a bad interaction with afpd and AFS which would cause file
1127 writes to not propogate between AFS clients.
1129 * !!! CHANGED the name(s) of afpd's config files. The new files are
1130 AppleVolumes.system and AppleVolumes.default. If AppleVolumes.system
1131 exists, it is always read, AppleVolumes.default is only read if the
1132 user has no AppleVolumes file. Included a flag "-u" to indicate
1133 which file has precedence. "-u" user wins, otherwise ".system"
1136 * Rewrote the AppleVolumes parsing code. Now works.
1138 * Added a filename extension mapping to afpd. User always takes
1139 precedence, regardless of the "-u" flag. Code to change the type
1140 of all Unix files contributed by Kee Hinckley <nazgul@utopia.com>.
1142 * afpd now supports both UFS and AFS volumes simultaneously. It also
1143 uses access() to attempt to calculate reasonable Mac permissions
1144 for AFS directories.
1146 * Changed reporting of file times. Files that are written from Unix
1147 now update the Mac's idea of the files modification time. Unix
1148 mtime is now reported instead of ctime.
1150 * Added support for a new UAM to afpd. This requires that client
1151 Macs have MacTCP and AuthMan installed. Should make running afpd
1154 * Removed code so that otherwise valid volumes for which the mounting
1155 user has no permission will appear in the volume selection dialog
1156 on the Mac gray-ed out.
1158 * Added code from Chris Metcalf of MIT to the AppleDouble library
1159 which improves permission inheritance.
1161 * Added code from G. Paul Ziemba of Alantec, Inc to better report
1162 errors in psf. Also changed psf to use syslog for errors that
1163 users aren't interested in.
1165 * Added information to psf's man page to better explain the
1166 interaction between psf, pap, and lpd.
1168 * Make psf/pap/psa do accounting when it's turnes on in
1171 * Changed pap's error message when there is no printer specified on
1172 the command line and no .paprc is found. Also heavily modified
1173 pap's man page to reflect changes in the "new" version of pap,
1174 including moving it from section 8 to section 1.
1176 * Fixed a byte-order bug in pap's sequence numbers. Doubt if pap has
1177 ever worked right on little endian machines!
1179 * Added a flag to pap to optionally close before receiving EOF from
1180 the printer. Off by default. psf calls pap with this option on.
1182 * Added timeouts to the nbp library calls. This means that processes
1183 won't hang when atalkd dies during boot, thus hanging your
1186 Changes from the 1.3 release:
1187 =============================
1189 * Fixed a bug in afpd which would cause APPL mappings to contain both
1190 mac and unix path names. The fixed code will handle the old
1191 (corrupted) database.
1193 * Fixed a *very* serious bug which would cause files to be corrupted
1194 when copying to afpd.
1196 * Fixed a bug in afpd which would cause replies to icon writes to
1197 contain the written icon.
1199 * Filled in the function code switch in afpd. Previously, a hacker
1200 could probably have used afpd to get unauthorized access to a
1201 machine running afpd.
1203 * Fixed a bug in the asp portion of libatalk.a which could cause the
1204 malloc()/free() database to be corrupted.
1206 * Fixed a bug in atalkd's zip query code. With this bug, only the
1207 first N % 255 nets get queried. However, since nets bigger than
1208 255 are usually pretty unstable, the unqueried for nets will
1209 eventually get done, when N drops by one.
1211 * Suppressed a spurious error ("route: No such process") in atalkd.
1213 Changes from the 1.2.1 release:
1214 ===============================
1216 * atalkd is completely rewritten for phase 2 support. atalkd.conf
1217 from previous version will not work!
1219 * afpd now has better AFS support. In particular, the configuration
1220 for AFS was made much easier; a number of Kerberos-related
1221 byte-ordering and time problems were found; clear-text passwords
1222 were added (thanks to geeb@umich.edu).
1224 * afpd now handles Unix permissions much better (thanks to
1227 * There are many, many more changes, but most are small bug fixes.
1229 Changes from the 1.2 release:
1230 =============================
1232 * The Sun support now uses loadable kernel modules (a la VDDRV)
1233 instead of binary patches. As such, it should work on any sunos
1234 greater than 4.1, and is confirmed to work under 4.1.1 and 4.1.2.
1236 * The DEC support no longer requires source. It also runs under
1237 ultrix 4.1 and 4.2. It still requires patching your kernel, but the
1238 patches are limited to those files available to binary-only sites
1239 -- primarily hooks for things like netatalk.
1241 * The etc.rc script now uses changes made to nbprgstr (see below).
1243 * aecho now takes machine names on the command line.
1245 * nbplkup now takes a command line argument specifying the number of
1246 responses to accept. It also takes its defaults from the NBPLKUP
1247 environment variable.
1249 * nbprgstr may be used to register a name at any requested port.
1251 * afpd now logs if an illegal shell is used during login, instead of
1252 silently denying service.
1254 * A bug in afpd which caused position information for the directory
1255 children of the root of a volume to be ignored has been fixed.
1257 * Several typos in afpd which would cause include files necessary to
1258 ultrix to be skipped have been fixed.
1260 * atalkd will no long propagate routes to networks whose zone
1263 * atalkd no longer dumps core if it receives a ZIP GetMyZone request
1264 from a network whose zone it doesn't know. (Since this currently
1265 can only happen from off net, it's not precisely a legal request.)
1267 * pap and papd (optionally) no longer check the connection id in PAP
1268 DATA responses. Both also maintain the function code in non-first-packet
1269 PAP DATA responses. These changes are work-arounds to deal with
1270 certain AppleTalk printer cards, notably the BridgePort LocalTalk
1271 card for HP LJIIISIs.
1273 * pap no longer sends an EOF response to each PAP SENDDATA request,
1276 * A bug in papd which would cause it to return a random value when
1277 printing the procset to a piped printer has been fixed.
1279 * A bug relating to NBP on reverse-endian machines has been fixed.
1281 * atp_rsel() from libatalk now returns a correct value even if it
1282 hasn't recieved anything yet.
1284 * atalk_addr() from libatalk no longer accepts addresses in octal
1285 format, since AppleTalk addresses can have leading zeros. Also it
1286 checks that the separator character is a '.'.
1288 * Pseudo man pages for nbplkup, nbprgstr, and nbpunrgstr, have been
1291 * The example in the psf(8) man page is now correct.
1293 * The man pages for changed commands have been updated.
1295 * The README files for various machine have been updated