]> arthur.barton.de Git - netatalk.git/blob - NEWS
Improve reliability of afpd child handler
[netatalk.git] / NEWS
1 Changes in 3.1.2
2 ================
3 * FIX: Option "vol dbpath" was broken in 3.1.1
4 * FIX: Spotlight: file modification date, bug #545
5 * FIX: Improve reliability of afpd child handler
6
7 Changes in 3.1.1
8 ================
9 * FIX: Add asprint() compatibility function for systems lacking it
10 * FIX: Fix ressource fork name conversion. Bug #534.
11 * FIX: Fix a bug where only the first configured UAM was loaded.
12        Bug #537.
13 * UPD: Add support for AFP 3.4. From FR #85.
14 * FIX: Registering with mDNS crashed. Bug #540
15 * FIX: Saving from applications like Photoshop may fail, because
16        removing the ressource fork AppleDouble file failed. Bug #542.
17 * FIX: dbd: remove orphaned ._ AppleDouble files. Bug #549.
18 * NEW: afpd: Automatic conversion of ._ AppleDouble files
19        created by OS X. Bug #550.
20 * FIX: afpd: Fix a crash in of_closefork(). Bug #551.
21 * FIX: dbd: Don't print message "Ignoring ._file" for every ._ file.
22        Bug #552.
23 * FIX: afpd: Don't flood log with failed sys_set_ea() messages.
24
25 Changes in 3.1.0
26 ================
27 * NEW: AFP Spotlight support with Gnome Tracker
28 * NEW: New option "spotlight" (G/V)
29 * NEW: Configure option --with-tracker-pkgconfig-version
30 * NEW: Configure option --with-tracker-prefix
31 * NEW: If Spotlight is enabled, launch our own dbus instance
32 * NEW: New option "dbus daemon" (G)
33 * UPD: Add configure option --with-afpstats for overriding the
34        result of autodetecting dbus-glib presence
35 * NEW: Add recvfile support with splice() on Linux. New global options
36        "recvfile" (default: no) and "splice size" (default 64k).
37 * NEW: CNID backend "mysql" for use with a MySQL server
38
39 Changes in 3.0.7
40 ================
41 * FIX: Build fixes for the Kerberos UAM
42 * UPD: Use dedicated exit code for AFP connections that were dropped
43        by the client right after the TCP handshake
44 * FIX: Workaround for a problem which cannot be advertized by Avahi. Bug #541.
45 * FIX: Registering with mDNS crashed. Bug #540
46 * FIX: Saving from applications like Photoshop may fail, because
47        removing the ressource fork AppleDouble file failed. Bug #542.
48 * FIX: macusers showed root user. Bug #495.
49 * UPD: Add file pathname to logmessage parse_entries: bogus eid. FR#87.
50
51 Changes in 3.0.6
52 ================
53 * FIX: charset conversion failed when copying from Mac OS 9. Bug #523.
54 * UPD: Don't force S_ISGID for directories on FreeBSD. Bug #525.
55 * NEW: Add support for ZFS ACLs on FreeBSD with libsunacl. From FR#83.
56 * FIX: Active Directory LDAP queries for ACL support with new options
57        "ldap user filter" and "ldap group filter". Bug #526.
58 * NEW: Option "vol dbnest", when set to true, the CNID database for
59        a volume is stored in the volume root of a share in a directory
60        .AppleDB like in Netatalk 2. Defaults to false. From FR#84.
61 * FIX: Small fix in the DSI tickle handling. Bug #528.
62 * UPD: Enhance handling of connection attempts when hitting the
63        connection limit. Bug #529.
64 * FIX: Saving from Word to a folder that is a symlink to a folder on
65        another filesystem results in a crash of the afpd process and
66        the save to fail. This happens only if the option
67        "follow symlinks" is enabled. Bug #532.
68 * FIX: Disable Kerberos UAM if AFP service principal name can't be
69        evaluated. Fixes bug #531.
70 * FIX: Fix handling of large number of volumes. Bug #527.
71 * NEW: Configure option --with-tbd which can be used to disable the
72        use of the bundled tdb and use a system installed version.
73
74 Changes in 3.0.5
75 ================
76 * FIX: Fix a crash when using pam_winbind. Fixes bug #516.
77 * NEW: New global/volume option "ignored attributes"
78 * FIX: "afp listen" option failed to take IPv6 addresses. Bug #515.
79 * FIX: Fix a possible crash in set_groups. Bug #518.
80 * NEW: Send optional AFP messages for vetoed files, new option
81        "veto message" can be used to enable sending messages.
82        Then whenever a client tries to access any file or directory
83        with a vetoed name, it will be sent an AFP message indicating
84        the name and the directory. From FR #81.
85 * NEW: New boolean volume option "delete veto files". If this option is
86        set to yes, then Netatalk will attempt to recursively delete any
87        vetoed files and directories. FR #82.
88 * UPD: systemd unit dir is /usr/lib/systemd/system .
89 * FIX: Saving files from application like MS Word may result in the file
90        loosing metadata like the Finder label. Bug #521.
91
92 Changes in 3.0.4
93 ================
94 * FIX: Opening files without metadata EA may result in an invalid
95        metadata EA. Check for malformed metadata EAs and delete them.
96        Fixes bug #510.
97 * FIX: Fix an issue with filenames containing non-ASCII characters that
98        lead to a failure setting the size of a files ressource fork.
99        This affected application like Adobe Photoshop where saving
100        files may fail. Fixes bug #511.
101 * UPD: Enhance ACL mapping, change global ACL option 'map acls' to take
102        the following options: "none", "rights" (default), "mode".
103        none   = no mapping, this resembles the previous false/no setting
104        rights = map ACLs to Finder UARights, this resembles the previous
105                 true/yes setting. This is the default.
106        mode   = map ACLs to Finder UARights and UNIX mode
107        From FR #73.
108 * FIX: Fix a possible crash in cname() where cname_mtouname calls
109        dirlookup() where the curdir is freed because the dircache
110        detected a dev/inode cache difference and evicted the object
111        from the cache. Fixes bug #498.
112 * FIX: Add missing include, fixes bug #512.
113 * FIX: Change default FinderInfo for directories to be all 0, fixes
114        bug 514.
115 * NEW: New option "afp interfaces" which allows specifying where
116        Netatalk listens for AFP connections by interface names.
117        From FR #79.
118
119 Changes in 3.0.3
120 ================
121 * UPD: afpd: Increase default DSI server quantum to 1 MB
122 * UPD: bundled libevent2 is now static
123 * NEW: --with-lockfile=PATH configure option for specifying an
124        alternative path for the netatalk lockfile.
125 * UPD: systemd service file use PIDFile and ExecReload.
126        From FR #70.
127 * UPD: RedHat sysvinit: rm graceful, reimplement reload, add condrestart
128 * FIX: Couldn't create folders on FreeBSD 9.1 ZFS fileystems.
129        Fixed bug #491.
130 * FIX: Fix an issue with user homes when user home directory has not the
131        same name as the username.
132        Fixes bug #497.
133 * UPD: Fix PAM config install, new default installation dir is
134        $sysconfdir/pam.d/. Add configure option --with-pam-confdir
135        to specify alternative path.
136 * NEW: AFP stats about active session via dbus IPC. Client side python
137        program `afpstats`. Requires dbus, dbus-glib any python-dbus.
138        configure option --dbus-sysconf-dir for specifying dbus
139        system security configuration files.
140        New option 'afpstats' (default: no) which determines whether
141        to enable the feature or not.
142 * NEW: configure option --with-init-dir
143 * NEW: dtrace probes, cf include/atalk/afp_dtrace.d for available
144        probes.
145 * UPD: Reload groups when reloading volumes. FR #71.
146 * FIX: Attempt to read read-only ._ rfork results in disconnect.
147        Fixes bug #502.
148 * FIX: File's ressource fork can't be read if metadata EA is missing.
149        Fixes bug #501.
150 * FIX: Conversion from adouble v2 to ea for directories.
151        Fixes bug #500.
152 * FIX: Error messages when mounting read-only filesystems.
153        Fixes bug #504.
154 * FIX: Permissions of ._ AppleDouble ressource fork after conversion
155        from v2 to ea.
156        Fixes bug #505.
157 * UPD: Use FreeBSD sendfile() capability to send protocol header.
158        From FR #75.
159 * UPD: Increase IO size when sendfile() is not used.
160        From FR #76.
161 * FIX: Can't set Finder label on symlinked folder with "follow symlinks = yes".
162        Fixes bug #508.
163 * FIX: Setting POSIX ACLs on Linux
164        Fixes bug #506.
165 * FIX: "ad ls" segfault if requested object is not in an AFP volume.
166        Fixes bug #496.
167
168 Changes in 3.0.2
169 ================
170 * NEW: afpd: Put file extension type/creator mapping back in which had
171        been removed in 3.0.
172 * NEW: afpd: new option 'ad domain'. From FR #66.
173 * FIX: volumes and home share with symlinks in the path
174 * FIX: Copying packages to a Netatalk share could fail, bug #469
175 * FIX: Reloading volumes from config file was broken.  Fixes bug #474.
176 * FIX: Fix _device-info service type registered with dns-sd API
177 * FIX: Fix pathname bug for FCE modified event.
178 * FIX: Remove length limitation of options like "valid users".
179        Fixes bug #473.
180 * FIX: Dont copy our metadata EA in copyfile(). Fixes bug #452.
181 * FIX: Fix an error where catalog search gave incomplete results.
182        Fixes bug #479.
183 * REM: Remove TimeMachine volume used size FCE event.
184 * UPD: Add quoting support to '[in]valid users' option. Fixes bug #472.
185 * FIX: Install working PAM config on Solaris 11. Fixes bug #481.
186 * FIX: Fix a race condition between dbd and the cnid_dbd daemon
187        which could result in users being disconnected from volumes
188        when dbd was scanning their volumes. Fixes bug #477.
189 * FIX: Netatalk didn't start when the last line of the config file
190        afp.conf wasn't terminated by a newline. Fixes bug #476.
191 * NEW: Add a new volumes option 'follow symlinks'. The default setting is
192        false, symlinks are not followed on the server. This is the same
193        behaviour as OS X's AFP server.
194        Setting the option to true causes afpd to follow symlinks on the
195        server. symlinks may point outside of the AFP volume, currently
196        afpd doesn't do any checks for "wide symlinks".
197 * FIX: Automatic AppleDouble conversion to EAs failing for directories.
198        Fixes bug #486.
199 * FIX: dbd failed to convert appledouble files of symlinks.
200        Fixes bug #490.
201
202 Changes in 3.0.1
203 ================
204 * NEW: afpd: Optional "ldap uuid encoding = string | ms-guid" parameter to
205        afp.conf, allowing for usage of the binary objectGUID fields from
206        Active Directory.
207 * FIX: afpd: Fix a Solaris 10 SPARC sendfilev bug
208 * FIX: afpd: Fix a crash on FreeBSD
209 * FIX: afpd: Fixes open file handle refcounting bug which was reported as
210        being unable to play movies off a Netatalk AFP share.
211        Bug ID 3559783.
212 * FIX: afpd: Fix a possible data corruption when reading from and writing
213        to the server simultaniously under load
214 * FIX: Fix possible alignment violations due to bad casts
215 * FIX: dbd: Fix logging
216 * FIX: apple_dump: Extended Attributes AppleDouble support for *BSD
217 * FIX: handling of '/' and ':' in volume name
218 * UPD: Install relevant includes necessary for building programs with
219        installed headers and shared lib libatalk
220 * UPD: libevent configure args to pick up installed version. Removed
221        configure arg --disable-libevent, added configure args
222        --with-libevent-header|lib.
223 * UPD: gentoo initscript: merge from portage netatalk.init,v 1.1
224 * REM: Remove --with-smbsharemodes configure option, it was an
225        empty stub not yet implemented
226
227 Changes in 3.0
228 ==============
229
230 * UPD: afpd: force read only mode if cnid scheme is last
231 * REM: afpd: removed global option "icon"
232 * FIX: CNID path for user homes
233
234 Changes in 3.0 beta2
235 ====================
236
237 * UPD: Solaris and friends: Replace initscript with SMF manifest
238 * FIX: Solaris and friends: resource fork handling
239
240 Changes in 3.0 beta1
241 ====================
242
243 * UPD: afpd: Performance tuning of read/write AFP operations. New option
244        "afp read locks" (default: no) which disables that the server
245        applies UNIX byte range locks to regions of files in AFP read and
246        write calls.
247 * UPD: apple_dump: Extended Attributes AppleDouble support.
248        (*BSD is not supported yet)
249
250 Changes in 3.0 alpha3
251 =====================
252
253 * NEW: afpd: Per volume "login message", NetAFP bug ID #18
254 * NEW: afpd: Cross-platform locking (share modes) on Solaris and derivates
255        with Solaris CIFS/SMB server. Uses new Solaris fcntl F_SHARE share
256        reservation locking primitives. Enabled by default, set global
257        "solaris share reservations" option to false to disable it.
258 * NEW: ad: ad set subcommand for changing Mac metadata on the server
259 * UPD: unix charset is UTF8 by default.
260        vol charset is same value as unix charset by default.
261 * UPD: .AppleDesktop/ are stored in $localstatedir/netatalk/CNID
262        (default: /var/netatalk/CNID), databases found in AFP volumes are
263        automatically moved
264 * FIX: afpd: Server info packet was malformed resulting in broken
265        server names being displayed on clients
266 * FIX: afpd: Byte order detection. Fixes an error where Netatalk on
267        OpenIndiana returned wrong volume size information.
268
269 Changes in 3.0 alpha2
270 =====================
271
272 * UPD: afpd: Store '.' as is and '/' as ':' on the server, don't
273        CAP hexencode as "2e" and "2f" respectively
274 * UPD: afdp: Automatic name conversion, renaming files and directories
275        containing CAP sequences to their not enscaped forms
276 * UPD: afpd: Correct handling of user homes and users without homes
277 * UPD: afpd: Perform complete automatic adouble:v2 to adouble:ea conversion
278        as root. Previously only unlinking the adouble:v2 file was done as root
279 * UPD: dbd: -C option removes CAP encoding
280 * UPD: Add graceful option to RedHat init script
281 * UPD: Add --disable-bundled-libevent configure options When set to yes,
282        we rely on a properly installed version on libevent CPPFLAGS and LDFLAGS
283        should be set properly to pick that up
284 * UPD: Run ldconfig on Linux at the end of make install
285 * FIX: afpd: ad cp on appledouble = ea volumes
286 * FIX: dbd: ignore ._ appledouble files
287 * REM: Volumes options "use dots" and "hex encoding"
288
289 Changes in 3.0 alpha1
290 =====================
291
292 * NEW: Central configuration file afp.conf which replaces all previous files
293 * NEW: netatalk: service controller starting and restarting afpd and cnid_metad
294        as necessary
295 * NEW: afpd: Extended Attributes AppleDouble backend (default)
296 * UPD: CNID databases are stored in $localstatedir/netatalk/CNID
297        (default: /var/netatalk/CNID), databases found in AFP volumes are
298        automatically moved
299 * UPD: Start scripts and service manifests have been changed to only start
300        the new netatalk service controller process
301 * UPD: afpd: UNIX privileges and use dots enabled by default
302 * UPD: afpd: Support for arbitrary AFP volumes using variable expansion has been
303        removed
304 * UPD: afpd: afp_voluuid.conf and afp_signature.conf location has been
305        changed to $localstatedir/netatalk/ (default: /var/netatalk/)
306 * UPD: afpd: default server messages dir changed to $localstatedir/netatalk/msg/
307 * UPD: dbd: new option -C for conversion from AppleDouble v2 to ea
308 * REM: AppleTalk support has been removed
309 * REM: afpd: SLP and AFP proxy support have been removed
310 * REM: afpd: legacy file extension to type/creator mapping has been removed
311 * REM: afpd: AppleDouble backends v1, osx and sfm have been removed
312
313 Changes in 2.2.4
314 ================
315
316 * FIX: Missing UAM links
317 * FIX: Lockup in AFP logout on Fedora 17
318 * FIX: Reset signal handlers and alarm timer after successfull PAM
319        authentication. Fixes a problem with AFP disconnects caused
320        by pam_smbpass.so messing with our handlers and timer.
321 * FIX: afpd: Fix a possible problem with sendfile on Solaris derived
322        platforms
323
324 Changes in 2.2.3
325 ================
326
327 * NEW: afpd: support for mdnsresponder
328 * NEW: afpd: new LDAP config option ldap_uuid_string
329 * UPD: based on Unicode 6.1.0
330 * UPD: experimental systemd service files: always run both afpd and cnid_metad
331 * UPD: afpd: Ensure our umask is not altered by eg pam_umask
332 * UPD: afpd: Use GSS_C_NO_NAME as server principal when Kerberos options -fqdn
333        and -krb5service are not set, from Jamie Gilbertson
334 * UPD: afpd: Changed behaviour for TimeMachine volumes in case there's a problem
335        talking to the CNID daemons. Previously the volume was flagged read-only
336        and an AFP message was sent to the client. As this might result in
337        TimeMachine assuming the backup sparse bundle is damaged, we now just
338        switch the CNID database to an in-memory tdb without the additional stuff.
339 * FIX: afpd: sendfile() on FreeBSD was broken, courtesy of Denis Ahrens
340 * FIX: afpd: Dont use searchdb when doing partial name search
341 * FIX: afpd: Fix a possible bug handling disconnected sessions,
342        NetAFP Bug ID #16
343 * FIX: afpd: Close IPC fds in afpd session child inherited from the afpd
344        master process
345 * FIX: dbd: Don't remove BerkeleyDB if it's still in use by eg cnid_dbd, fixes
346        bug introduced in 2.2.2
347 * FIX: debian initscript: start avahi-daemon (if available) before atalkd
348 * FIX: Zeroconf could not advertise non-ASCII time machine volume name
349
350 Changes in 2.2.2
351 ================
352
353 * NEW: afpd: New option "adminauthuser". Specifying eg "-adminauthuser root"
354        whenever a normal user login fails, afpd tries to authenticate as
355        the specified adminauthuser. If this succeeds, a normal session is
356        created for the original connecting user. Said differently: if you
357        know the password of adminauthuser, you can authenticate as any other
358        user.
359 * NEW: configure option "--enable-suse-systemd" for openSUSE12.1 and later.
360        "--enable-redhat-systemd" and "--enable-suse-systemd" are same as
361        "--enable-systemd".
362        "--enable-suse" is renamed "--enable-suse-sysv".
363 * NEW: experimental systemd service files in distrib/systemd/
364 * UPD: afpd: Enhanced POSIX ACL mapping semantics, from Laura Mueller
365 * UPD: afpd: Reset options every time a :DEFAULT: line is found in a
366        AppleVolumes file
367 * UPD: afpd: Convert passwords from legacy encoding (wire format) to host
368        encoding, NetAFP Bug ID #14
369 * UPD: afpd: Don't set ATTRBIT_SHARED flag for directories
370 * UPD: afpd: Use sendfile() on Solaris and FreeBSD for sending data
371 * UPD: afpd: Faster volume used size calculation for "volsizelimit" option,
372        cf man AppleVolume.default for details
373 * FIX: afpd: ACL access checking
374 * FIX: afpd: Fix an error when duplicating files that lacked an AppleDouble
375        file which lead to a possible Finder crash
376 * FIX: afpd: Read-only filesystems lead to afpd processes running as root
377 * FIX: afpd: Fix for filesystem without NFSv4 ACL support on Solaris
378 * FIX: afpd: Fix catsearch bug, NetAFP Bug ID #12
379 * FIX: afpd: Fix dircache bug, NetAFP Bug ID #13
380 * FIX: dbd: Better checking for duplicated or bogus CNIDs from AppleDouble
381        files
382 * FIX: dbd: Remove BerkeleyDB database environment after running `dbd`. This
383        is crucial for the automatic BerkeleyDB database upgrade feature which
384        is built into cnid_dbd and dbd.
385 * FIX: Fix compilation error when AppleTalk support is disabled
386 * FIX: Portability fixes
387 * FIX: search of surrogate pair
388
389 Changes in 2.2.1
390 ================
391
392 * NEW: afpd: disable continous service feature by default, new option
393        -keepsessions to enable it
394 * NEW: configure option "--enable-redhat-systemd" for Fedora15 and later.
395        "--enable-redhat" is renamed "--enable-redhat-sysv".
396 * UPD: afpd: Enhance ACL support detection for volumes: enable them per volume
397        if
398        1) ACL support compiled in, 2) the volume supports ACLs, 3) the new
399        volume option "noacls" is not set for the volume.
400        The previous behaviour was to enable ACL support for a volume if
401        1) it was compiled in and 2) the volume supported ACLs. There was no way
402        to disable ACLs for a volume.
403 * UPD: afpd: add a configurable hold time option to FCE file modification event
404        generation, default is 60 s, new option "fceholdfmod" to change it
405 * UPD: afpd: add support for new NetBSD quota subsystem, Bug ID 3249879
406 * FIX: afpd: increase BerkeleyDB locks and lockobjs
407 * FIX: afpd: create special folder as root
408 * FIX: afpd: fix compilation error if --enable-ddp is used
409 * FIX: afpd: More robust IPC reconnect error handling
410 * FIX: afpd: ACL access checking
411 * FIX: afpd: fix a possible race condition between SIGCHLD handler and
412        new connection attempts
413 * FIX: afpd: fix undefined behaviour when more then ~510 connetions where
414        established
415 * FIX: afpd: fix a crash when searching for a UUID that is not a special
416        local UUID and LDAP support is not compiled in
417 * FIX: afpd: .volinfo file not created on first volume access if user in rolist
418 * FIX: afpd: possible crash at startup when registering with Avahi
419        when Avahi is not running
420 * FIX: afpd: return correct user/group type when mapping UUIDs to names
421 * FIX: afpd: for directories add DARWIN_ACE_DELETE ACE
422        if DARWIN_ACE_ADD_SUBDIRECTORY is set
423 * FIX: afpd: afpd crashed when it failed to register with Avahi because eg
424        user service registration is disabled in the Avahi config
425 * FIX: dbd: function checking and removing malformed ad:ea header files failed
426        to chdir back to the original working directory
427 * FIX: cnid_dbd: increase BerkeleyDB locks and lockobjs
428 * FIX: cnid_dbd: implement -d option, deletes CNID db
429 * FIX: dbd: better detection of local (or SMB/NFS) modifications on AFP volumes
430 * FIX: suse: initscript return better status
431 * FIX: Sourcecode distribution: add missing headers
432 * FIX: Solaris 10: missing dirfd replacement function
433 * FIX: case-conversion of surrogate pair
434 * FIX: Compilation error on GNU/kFreeBSD, fixes Bug ID 3392794 and
435        Debian #630349
436 * FIX: Fix Debian Bug#637025
437 * FIX: Multiple *BSD compilation compatibility fixes, Bug ID 3380785
438 * FIX: precompose_w() failed if tail character is decomposed surrogate pair
439
440 Changes in 2.2.0
441 ==============
442
443 * NEW: afpd: new volume option "nonetids"
444 * NEW: afpd: ACL access check caching
445 * NEW: afpd: FCE event notifications
446 * NEW: afpd: new option "-mimicmodel" for specifying Bonjour model registration
447 * UPD: Support for Berkeley DB 5.1
448 * UPD: case-conversion is based on Unicode 6.0.0
449 * UPD: cnid_metad: allow up to 4096 volumes
450 * UPD: afpd: only forward SIGTERM and SIGUSR1 from parent to childs
451 * UPD: afpd: use internal function instead of popening du -sh in order to
452        calculate the used size of a volume for option "volsizelimit"
453 * UPD: afpd: Add negative UUID caching, enhance local UUID handling
454 * FIX: afpd: configuration reload with SIGHUP
455 * FIX: afpd: crashes in the dircache
456 * FIX: afpd: Correct afp logout vs dsi eof behaviour
457 * FIX: afpd: new catsearch was broken
458 * FIX: afpd: only use volume UUIDs in master afpd
459 * FIX: dbd: Multiple fixes, reliable locking
460 * FIX: ad file suite: fix an error that resulted in CNID database
461        inconsistencies
462
463 Changes in 2.2beta4
464 ===================
465
466 * NEW: afpd: new afpd.conf options "tcprcvbuf" and "tcpsndbuf" to customize
467        the corresponding TCP socket options.
468 * NEW: afpd: new afpd.conf option "nozeroconf" which disabled automatic
469        Zeroconf service registration.
470 * FIX: afpd: generate mersenne primes for DHX2 UAM once at startup,
471        not for every login
472 * FIX: afpd: DSI streaming deadlock
473 * FIX: afpd: extended sleep
474 * FIX: afpd: directory cache
475 * FIX: Support for platforms that do not have the *at functions
476 * UPD: afpd: put POSIX write lock on volume files while reading them
477
478 Changes in 2.2beta3
479 ===================
480
481 * FIX: afpd: fix option volsizelimit to return a usefull value for the
482        volume free space using `du -sh` with popen
483 * FIX: afpd: fix idle connection disconnects
484 * FIX: afpd: don't disconnect sessions for clients if boottimes don't match
485 * FIX: afpd: better handling of very long filenames that contain many
486        multibyte UTF-8 glyphs
487
488 Changes in 2.2beta2
489 ====================
490
491 * NEW: afpd: AFP 3.3
492 * UPD: afpd: AFP 3.x can't be disabled
493
494 Changes in 2.2beta1
495 ====================
496
497 * FIX: composition of Surrogate Pair
498 * UPD: gentoo,suse,cobalt,tru64: inistscript name is "netatalk", not "atalk"
499 * UPD: gentoo: rc-update install don't hook in the Makefile
500
501 Changes in 2.2alpha5
502 ====================
503
504 * UPD: afpd: new option "searchdb" which enables fast catalog searches
505        using the CNID db.
506 * UPD: Case-insensitive fast search with the CNID db
507 * UPD: cnid_dbd: afpd now passes the volume path, not the db path when
508        connecting for a volume. cnid_dbd will read the
509        ".AppleDesktop/.volinfo" file of the volume in order to figure
510        out the CNID db path and the volume charset encoding.
511
512 Changes in 2.2alpha4
513 ====================
514
515 * NEW: Enhanced CNID "dbd" database for fast name search support.
516        Important: this makes cnidscheme "cdb" incompatible with "dbd".
517 * NEW: afpd: support for fast catalog searches
518 * NEW: ad utility: ad find
519 * UPD: afpd: CNID database versioning check for "cdb" scheme
520 * UPD: cnid_dbd: CNID database versioning and upgrading. Additional
521        CNID database index for fast name searches.
522
523 Changes in 2.2alpha3
524 ====================
525
526 * FIX: afpd: various fixes
527 * FIX: Any daemon did not run if atalkd doesn't exist (redhat/debian)
528
529 Changes in 2.2alpha2
530 ====================
531
532 * FIX: afpd: fix compilation error when ACL support is not available
533 * FIX: Ensure Appletalk manpages and config files are distributed
534
535 Changes in 2.2alpha1
536 ====================
537
538 * NEW: ad utility: ad cp
539 * NEW: ad utility: ad rm
540 * NEW: ad utility: ad mv
541 * NEW: afpd: dynamic directoy and CNID cache (new config option -dircachesize)
542 * NEW: afpd: POSIX 1e ACL support
543 * NEW: afpd: automagic Zeroconf registration with avahi, registering both
544        the service _afpovertcp._tcp and TimeMachine volumes with _adisk._tcp.
545 * UPD: afpd: ACLs usable (though not visible on the client side) without common
546        directory service, by mapping ACLs to UARight
547 * UPD: afpd: performance improvements for ACL access calculations
548 * UPD: AppleTalk is disabled by default at configuration time. If needed
549        use configure switch --enable-ddp.
550 * FIX: afpd: Solaris 10 compatibilty fix: don't use SO_SNDTIMEO/SO_RCVTIMEO,
551        use non-blocking IO and select instead.
552 * FIX: cnid_dbd: Solaris 10 compatibilty fix: don't use SO_SNDTIMEO/SO_RCVTIMEO,
553        use non-blocking IO and select instead.
554 * REM: afile/achfile/apple_cp/apple_mv/apple_rm: use ad
555
556 Changes in 2.1.6
557 ================
558
559 * FIX: afpd: Fix for LDAP user cache corruption
560 * FIX: afpd: Fix for not shown ACLs for when filesyem uid or gid
561        couldn't be resolved because (eg deleted users/groups)
562 * FIX: gentoo: cannot set $CNID_CONFIG
563 * FIX: ubuntu: servername was empty
564 * FIX: Solaris: configure script failed to enable DDP module
565 * FIX: AppleDouble buffer overrun by extremely long filename
566 * UPD: afpd: return version info with machine type in DSIGetStatus
567 * UPD: dbd: use on-disk temporary rebuild db instead of in-memory db
568 * UPD: suse: initscript update
569
570 Changes in 2.1.5
571 ================
572
573 * UPD: afpd: support newlines in -loginmesg with \n escaping syntax
574 * UPD: afpd: support for changed chmod semantics on ZFS with ACLs
575        in onnv145+
576 * FIX: afpd: fix leaking ressource when moving objects on the server
577 * FIX: afpd: backport Solaris 10 compatibilty fix from 2.2: don't use
578        SO_SNDTIMEO/SO_RCVTIMEO, use non-blocking IO and select instead.
579 * FIX: afpd: misaligned memory access on Sparc in ad_setattr, fixes
580        bug 3110004.
581 * FIX: cnid_dbd: backport Solaris 10 compatibilty fix from 2.2: don't
582        use SO_SNDTIMEO/SO_RCVTIMEO, use non-blocking IO and select instead.
583
584 Changes in 2.1.4
585 ================
586
587 * FIX: afpd: Downstream fix for FreeBSD PR 148022
588 * FIX: afpd: Fixes for bugs 3074077 and 3074078
589 * FIX: afpd: Better handling of symlinks in combination with ACLs and EAs.
590        Fixes bug 3074076.
591 * FIX: dbd: Adding a file with the CNID from it's adouble file did
592        not work in case that CNID was already occupied in the database
593 * FIX: macusers: add support for Solaris
594 * NEW: cnid_metad: use a PID lockfile
595 * NEW: afpd: prevent log flooding
596 * UPD: dbd: ignore ".zfs" snapshot directories
597 * UPD: dbd: support interrupting -re mode
598
599 Changes in 2.1.3
600 ================
601
602 * FIX: afpd: fix a serious error in networking IO code
603 * FIX: afpd: Solaris 10 compatibilty fix: don't use SO_SNDTIMEO, use
604        non-blocking IO and select instead for writing/sending data.
605 * UPD: Support for BerkeleyDB 5.0.
606
607 Changes in 2.1.2
608 ================
609
610 * FIX: afpd: fix for possible crash in case more then one server is
611        configured in afpd.conf.
612 * FIX: afpd: ExtendedAttributes in FreeBSD
613 * FIX: afpd: sharing home folders corrupted the per volume umask.
614 * UPD: afpd: umask for home folders is no longer taken from startup umask.
615 * UPD: afpd: dont and permissions with parent folder when creating new
616        directories on "upriv" volumes.
617 * UPD: afpd: use 'afpserver@fqdn' instead of 'afpserver/fqdn@realm'.
618        Prevents a crash in older GNU GSSAPI libs on eg. CentOS 5.x.
619  
620 Changes in 2.1.1
621 ================
622
623 * UPD: fallback to a temporary in memory tdb CNID database if the volume
624        database can't be opened now works with the default backend "dbd" too.
625 * FIX: afpd: afp_ldap.conf was missing from tarball. This only effected
626        [Open]Solaris.
627 * FIX: afpd: Check if options->server is set in set_signature, preventing
628        SIGSEGV.
629 * FIX: afpd: server signature wasn't initialized in some cases
630 * FIX: DESTDIR support: DESTDIR was expanded twice
631 * FIX: Fix for compilation error if header files of an older Netatalk
632        version are installed.
633
634 Changes in 2.1-release
635 ======================
636
637 * NEW: afpd: new volume option "volsizelimit" for limitting reported volume
638        size. Useful for limitting TM backup size.
639 * UPD: dbd: -c option for rebuilding volumes which prevents the creation
640        of .AppleDouble stuff, only removes orphaned files.
641
642 Changes in 2.1-beta2
643 ====================
644
645 * NEW: afpd: static generated AFP signature stored in afp_signature.conf,
646        cf man 5 afp_signature.conf
647 * NEW: afpd: clustering support: new per volume option "cnidserver".
648 * UPD: afpd: set volume defaults options "upriv" and "usedots" in the
649        volume config file AppleVolumes.default. This will only affect
650        new installations, but not upgrades.
651 * FIX: afpd: prevent security attack guessing valid server accounts. afpd
652        now returns error -5023 for unknown users, as does AppleFileServer.
653
654 Changes in 2.1-beta1
655 ====================
656
657 * NEW: afpd: AFP 3.2 support
658 * NEW: afpd: Extended Attributes support using native attributes or
659        using files inside .AppleDouble directories.
660 * NEW: afpd: ACL support with ZFS
661 * NEW: cnid_metad: options -l and -f to configure logging
662 * NEW: IPv6 support
663 * NEW: AppleDouble compatible UNIX files utility suite `ad ...`.
664        With 2.1 only `ad ls`.
665 * NEW: CNID database maintanance utility dbd
666 * NEW: support BerkeleyDB upgrade. Starting with the next release
667        after 2.1 in case of BerkeleyDB library updates, Netatalk
668        will be able to upgrade the CNID databases.
669 * NEW: afpd: store and read CNIDs to/from AppleDouble files by default.
670        This is used as a cache and as a backup in case the database
671        is deleted or corrupted. It can be disabled with a new volume
672        option "nocnidcache".
673 * NEW: afpd: sending SIGINT to a child afpd process enables debug logging
674        to /tmp/afpd.PID.XXXXXX.
675 * NEW: configure args to download and install a "private" Webmin instance
676        including only basic Webmin modules plus our netatalk.wbm.
677 * NEW: fallback to a temporary in memory tdb CNID database if the volume
678        database can't be opened.
679 * NEW: support for Unicode characters in the range above U+010000 using
680        internal surrogate pairs
681 * NEW: apple_dump: utility to dump AppleSingle and AppleDouble files
682 * NEW: afpldaptest: utility to check afp_ldap.conf.
683 * UPD: atalkd and papd are now disabled by default. AppleTalk is legacy.
684 * UPD: slp advertisement is now disabled by default. server option -slp
685        SRVLOC is legacy.
686 * UPD: cdb/dbd CNID backend requires BerkeleyDB >= 4.6
687 * UPD: afpd: default CNID backend is "dbd"
688 * UPD: afpd: try to install PAM config that pulls in system|common auth
689 * UPD: afpd: symlink handling: never followed server side, client resolves
690        them, so it's safe to use them now.
691 * UPD: afpd: Comment out all extension->type/creator mappings in
692        AppleVolumes.system. They're unmaintained, possibly wrong and
693        do not fit for OS X.
694 * FIX: rewritten logger
695 * FIX: afpd: UNIX permissions handling
696 * FIX: cnid_dbd: always use BerkeleyDB transactions
697 * FIX: initscripts installation now correctly uses autoconf paths,
698        ie they're installed to --sysconfdir.
699 * FIX: UTF-8 volume name length
700 * FIX: atalkd: workaround for broken Linux 2.6 AT kernel module:
701        Linux 2.6 sends broadcast queries to the first available socket
702        which is in our case the last configured one. atalkd now tries to
703        find the right one.
704        Note: now a misconfigured or plugged router can broadcast a wrong route !
705 * REM: afpd: removed CNID backends "db3", "hash" and "mtab"
706 * REM: cnid_maint: use dbd
707 * REM: cleanappledouble.pl: use dbd
708 * REM: nu: use `macusers` instead
709
710 Changes in 2.0.5
711 ================
712
713 * NEW: afpd: Time Machine support with new volume option "tm".
714 * FIX: papd: Remove variable expansion for BSD printers. Fixes CVE-2008-5718.
715 * FIX: afpd: .AppleDxxx folders were user accessible if option 'usedots'
716        was set 
717 * FIX: afpd: vetoed files/dirs where still accessible
718 * FIX: afpd: cnid_resolve: don't return '..' as a valid name.
719 * FIX: uniconv: -d option wasn't working
720
721 Changes in 2.0.4
722 ================
723
724 * REM: remove timeout 
725 * NEW: afpd: DHX2 uams using GNU libgcrypt.
726 * NEW: afpd: volume options 'illegalseq', 'perm' and 'invisibledots'
727        'ilegalseq'  encode illegal sequence in filename asis, ex "\217-", which is not 
728        a valid SHIFT-JIS char, is encoded  as U\217 -.
729        'perm' value OR with the client requested permissions. (help with OSX 10.5
730        strange permissions).
731        Make dot files visible by default with 'usedots', use 'invisibledots' 
732        for keeping the old behavior, ie for OS9 (OSX hide dot files on its
733        own).
734 * NEW: afpd: volume options allow_hosts/denied hosts
735 * NEW: afpd: volume options dperm/fperm default directory and file
736        permissions or with server requests.
737 * NEW: afpd: afpd.conf, allow line continuation with \ 
738 * NEW: afpd: AppleVolumes.default allow line continuation with \
739 * NEW: afpd: Mac greek encoding.
740 * NEW: afpd: CJK encoding.
741 * UPD: afpd: Default UAMs: DHX + DHX2
742 * FIX: afpd: return the right error in createfile and copyfile if the disk
743        is full.
744 * FIX: afpd: resolveid return the same error code than OSX if it's a directory
745 * FIX: afpd: server name check, test for the whole loopback subnet 
746        not only 127.0.0.1.
747 * UPD: afpd: limit comments size to 128 bytes, (workaround for Adobe CS2 bug).
748 * UPD: afpd: no more daemon icon.
749 * UPD: usedots, return an invalide name only for .Applexxx files used by netatalk not
750        all files starting with .apple.
751 * UPD: cnid: increase the number of cnid_dbd slots to 512.
752 * FIX: cnid: dbd detach the daemon from the control terminal.
753 * UPD: cnid: never ending Berkeley API changes...
754 * UPD: cnid: dbd add a timeout when reading data from afpd client.
755 * UPD: cnid: Don't wait five second after the first error when speaking to the dbd
756        backend.
757 * FIX: papd: vars use % not $
758 * FIX: papd: quote chars in popen variables expansion. security fix.
759 * FIX: papd: papd -d didn't write to stderr.
760 * FIX: papd: ps comments don't always use ()
761 * FIX: many compilation errors (solaris, AFS, Tru64, xfs quota...).
762
763 Changes in 2.0.3
764 ================
765
766 * NEW: afpd: add a cachecnid option that controls if afpd should 
767        use the IDs stored in the AD2 files as cache. Defaults
768        to off.
769 * UPD: afpd: deal with more than 32 groups.
770 * FIX: afpd: several catsearch fixes, based on patch from
771        TSUBAKIMOTO Hiroya.
772 * FIX: afpd: fix a race when a client very quickly reconnects and 
773        tries to kill its old session.
774 * FIX: afpd: OSX style symlink caused problems with Panther clients.
775 * FIX: afpd: old files with default type didn't show the right icon
776        in finder, from Shlomi Yaakobovich, slightly modified.
777 * FIX: cnid_check: disable cnid_check if CNID db was configured with
778        transactions and really bail out after the first error.
779 * FIX: admin-group configure option was broken.
780 * FIX: several problems with IDs cached in AD2 files.
781 * FIX: Ignore BIDI in UTF8 hints from OSX.
782 * FIX: Lots of gcc warning fixes.
783 * FIX: small configure script changes.
784
785
786 Changes in 2.0.2
787 ================
788
789 * NEW: cnid: Add an indexes check and rebuild, optional for dbd 
790        (parameter check default no), standalone program cnid_index for
791        cdb.
792 * UPD: Enhanced afpd's -v command line switch and added -V for more 
793        verbose information
794 * UPD: uams_gss: build the principal used by uams_gss.so from afpd's
795        configuration, don't use GSS_C_NT_HOSTBASED_SERVICE
796 * UPD: cnid_dbd: add process id in syslog and small clean up
797 * REM: remove netatalkshorternamelinks.pl cf. SF bug [ 1061396 ]
798        netatalkshorternamelinks.pl broken
799 * FIX: afpd: check for DenyRead on FPCopyFile
800 * FIX: afpd: add missing flush for AD2 Metadata on FPCopyFile, SF bug 
801        [ 1055691 ] Word 98 OS 9 Saving an existing file
802 * FIX: afpd: Deal with AFP3 connection and type 2 (non-UTF8) names.
803        reported by Gair Heaton, HI RESOLUTION SYSTEMS
804 * FIX: afpd: Broken 'crlf' option
805 * FIX: afpd: fix SF bug [ 1079622 ] afpd/dhx memory bug, 
806        by Ralf Schuchardt
807 * FIX: afpd: Return an error if we cannot get the db stamp in 
808        afp_openvol.
809 * FIX: afpd: Fix slp registration with Solaris9 slpd, from
810        hat at fa2.so-net.ne.jp
811         
812
813 Changes in 2.0.1
814 ================
815
816 * NEW: --enable-debian configure option. Will install /etc/init.d/atalk
817        to get not in conflict with standard debian /etc/init.d/netatalk.
818        Reads netatalk.conf from $ETCDIR and not from /etc/default/
819 * UPD: Disable logger code by default. Log to syslog instead
820 * UPD: changed netatalk.conf default settings to prevent problems with
821        AppleTalk zone names containing spaces
822 * FIX: insecure tempfile handling bug in etc2ps.sh,
823        found by Trustix, CAN-2004-0974.
824 * REM: remove add_netatalk_printer and netatalk.template from stable 
825        branch until fixed. (possible symlink vulnerabilities)
826 * FIX: afpd: set hasBeenInited in default finder info. This bug caused 
827        endless finder refreshes with OS9 finder if the noadouble option 
828        was used. From TSUBAKIMOTO Hiroya.
829 * FIX: afpd: fix a bug in default CREATOR/TYPE handling. Due to this bug 
830        the type/creator mappings in AppleVolumes.system were ignored, 
831        causing problems i.e. with OS9 clients.
832 * FIX: AppleVolumes.system: By default don't define a CREATOR/TYPE for a
833        file of unknown type.
834 * FIX: fix two Tru64 UNIX compilation errors, 
835        from Burkhard Schmidt bs AT cpfs.mpg.de
836 * FIX: afpd: FPMapId wasn't using UTF8 for groups if requested by client.       
837
838 Changes in 2.0.0
839 ================
840
841 * UPD: afpd: add an error message if -ipaddr parameter cannot be parsed
842 * UPD: updated documentation
843 * FIX: afpd: fix a file descriptor and memory leak with OSX ._ resource fork
844 * FIX: afpd: Prevent overwriting a file by renaming a file in the same 
845        directory to the same name. Won't work with OSX, the dest file gets 
846        deleted by OSX first.
847 * FIX: sometimes '0' was used instead of 0 for creator/type
848 * FIX: removed setpgrp check from configure, we don't use it anymore and
849        it doesn't work with cross compile.
850 * FIX: fix for Solaris "make maintainer-clean", from Alexander Barton
851 * FIX: fix username matching bug in afppasswd. from kanai at nadmin dot org
852 * FIX: reworked username check a little. Depending on the UAM, the wrong
853        username _could_ have been selected.
854
855 Changes in 2.0-rc2
856 ==================
857
858 * UPD: use 0 0 for default creator/type rather than UNIX TEXT, from
859        Shlomi Yaakobovich.
860 * UPD: updated documentation
861 * UPD: change machine type from Macintosh to Netatalk in status reply
862 * FIX: afpd: CopyFile only create a resource fork for destination if source
863        has one.
864 * FIX: afpd: mangling: for utf8 --> max filename length is 255 bytes, else 31.
865 * FIX: cnid_dbd: fix a signed/unsigned, 16/32 bits mismatch. from Burkhard
866        Schmidt, bs at cpfs.mpg.de.
867 * FIX: afpd: After ad_setid don't flush resource fork if it has not been
868        modified.
869 * FIX: NEWS: Fixed ancient NEWS entries. Removed umlauts
870 * FIX: fix macname cache, SF bug 1021642
871 * FIX: revert Makefile change from 2.0-rc1. We have to include BDB_CFLAGS
872        after CFLAGS
873
874 Changes in 2.0-rc1
875 ==================
876
877 * NEW: new manual page for asip-status.pl
878 * UPD: updated documentation
879 * UPD: uams: link uam_dhx_passwd.so to lcrypt before lcrypto. might help with
880        MD5 passwords
881 * UPD: Improved BerkeleyDB detection
882 * UPD: sys/solaris/Makefile.in: enable 'make check', from Alexander Barton
883 * UPD: tcp wrappers detection should work on OpenBSD as well now
884 * UPD: macbin: increase the maximum size of macbinary forks, as suggested by 
885        Sourceforge bug ID 829221
886 * UPD: ASP: rework getstatus. use several ASP packets if the client allows
887        it, otherwise just send as much as we can
888 * FIX: FreeBSD 5 build, from Alex Barton (alex at barton.de)
889 * FIX: OSX 10.3 build
890 * FIX: papd: workaround a problem with PJL before Postscript
891 * FIX: afpd: make sure we only disconnect on old session if the users match
892 * FIX: apfd: Quark6 mangled long filenames should work better now
893 * FIX: enhance ADv1 to ADv2 conversion. Fixed a SIGSEGV reported by Mark Baker
894 * FIX: better detection of invalid resource forks
895 * FIX: fix some linking problems on OpenBSD
896 * FIX: afpd: catsearch.c, filedir.c: fix bogus casts, from Olaf Hering 
897        (olh at suse.de)
898 * FIX: afpd: don't try to create special folders and .volinfo on read-only
899        volumes
900 * FIX: iconv/unicode enhancements. fixed a sigsegv on conversion error
901 * FIX: configure.in: fix a typo, reported by Joerg Rossdeutscher
902 * FIX: uniconv: enhanced uniconv behaviour
903 * FIX: fixed some Solaris compilation problems
904 * FIX: papd/Makefile.am: add a missing $DESTDIR, from Vlad Agranovsky
905 * FIX: afpd: quota.c: remove a c99 declaration, from Yann Rouillard
906 * FIX: configure.in: Solaris/gcc 3.0 fix, from Yann Rouillard
907 * FIX: afpd: fix a SIGSEGV when sharing home dirs without any options in 
908        AppleVolumes.
909 * FIX: numerous small bugfixes
910
911 Changes in 2.0-beta2
912 ====================
913
914 * NEW: atalkd, papd and npb tools now support nbpnames with extended
915        characters
916 * NEW: integrated CUPS support for papd
917 * NEW: optionally advertise SSH tunneling capabilties
918 * NEW: automatic logfile removal for cnid_metad
919 * NEW: asip-status.pl has been added to netatalk
920 * UPD: updated documentation
921 * UPD: we now require Berkeley DB >= 4.1
922 * UPD: 64bit Linux fixes from Stew Benedict, Mandrakesoft
923 * UPD: remove --enable-sendfile
924 * UPD: more verbose error messages
925 * FIX: better handling for resource forks without read access
926 * FIX: Tru64 build, by Burkhard Schmidt
927 * FIX: MIT Kerberos detection
928 * FIX: varios *BSD compile problems
929 * FIX: compile problem with libiconv, reported by Joe Marcus Clarke
930 * FIX: adv1tov2: make it work with the new structure
931 * FIX: afpd: filenames longer than 127 bytes were not enumerated correctly,
932        reported by Thies C. Arntzen
933 * FIX: afpd: return IP before FQDN in status reply.
934 * FIX: afpd: Mac chooser could crash on a codepage conversion error
935 * FIX: afpd: KerberosV auth with Panther clients, make long AD tickets work,
936        reported by Andrew Smith
937 * FIX: atalkd: could send invalid NBPLKUP replies, e.g with more than 15
938        printers. Reported by Almacha
939 * FIX: papd: fix papd.conf parsing problems with consecutive ':' and missing 
940        newline. Reported by Craig White.
941 * FIX: megatron: make megatron work with UTF-8 volumes
942 * FIX: timeout: running timeout with commands which accept arguments, 
943        from Yuval Yeret.
944 * FIX: uniconv: fix a SEGFAULT, reported by Matthew Geier
945 * FIX: pam detection: PAM_C/LDFLAGS were always empty, from Alexander Barton
946 * FIX: numerous small bugfixes.
947
948 Changes in 2.0-beta1
949 ====================
950
951 * NEW: OSX style adouble scheme
952 * NEW: japanese SHIFT_JIS codepage (iconv supplied)
953 * NEW: Solaris kernel module build integrated with configure
954 * NEW: Gentoo start scripts
955 * NEW: cnid_dbd doesn't use transactions by default
956 * FIX: afpd: the volume casefold option was broken
957 * FIX: afpd: update AD2 headers and keep owner on file exchange
958 * FIX: Solaris 9 and FreeBSD 4.9/5.2 compilation
959 * FIX: free space reported with groups quotas on Linux
960 * FIX: OS9/OS X didn't update free space
961 * FIX: finder crash if folder opened got deleted by another process
962 * FIX: randnum UAM wasn't AFP3 ready
963 * FIX: numerous small bugfixes.
964
965 Changes in 2.0-alpha2
966 =====================
967
968 * NEW: uniconv tool for converting volume encoding.
969 * NEW: afpd: Make sure getstatus doesn't return loopback address as server IP.
970 * NEW: afpd: Specify USEDOTS with MSWINDOWS implicitely.
971 * NEW: afpd: SRVLOC register with IP address instead of hostname by default,
972        if -fqdn is specified register with FQDN.  Added extended character 
973        support for SLP, non ASCII characters are escaped Added ZONE to registration.
974 * NEW: atalkd: Make atalkd set interfaces to ALLMULTI on linux by default.
975 * NEW: cnid_metad: Use DB_PRIVATE attribute for dbd backend without transaction.
976 * FIX: afpd: Partial workaround for an OSX client deadlock.
977 * FIX: afpd: Reenumerate folder if db is out of sync in resolveID.
978 * FIX: afpd: Don't modify modification date in copyfile.
979 * FIX: afpd: Variable $v substitution: always use name defined in config files.
980 * FIX: libatalk: Speed optimisation for byte locking was broken on resource fork.
981 * FIX: Solaris 9 compilation.
982 * FIX: Tru64 compilation fixes.
983 * FIX: AFS compilation fixes.
984 * FIX: strncpy bugfix.
985 * FIX: configure, man pages update and small bugfixes.
986
987 Changes in 2.0-alpha1
988 =====================
989
990 * NEW: afpd: We now support AFP 3.x, which features long filenames and 
991        large file support
992 * NEW: CNID handling completely reworked. We now use per Volume configurable
993        CNID backends.
994 * NEW: Two new daemons, cnid_metad and cnid_dbd to implement the dbd CNID backend.
995        Using Berkeley DB transactions with the CNID database should be safe now.
996 * NEW: The on disk format of the CNID database has changed. We now support 8 byte
997        device and inode numbers and an additinal type field that should make 
998        detection of file/directory changes outside of afpd more robust. 
999        Changed from HASH to BTREE access which speeds things up in certain cases 
1000        and reduces database file size.
1001 * NEW: Long file name mangling is now implemented using the CNID ID, so no database is 
1002        required to map names to mangled names. This is the same method Mac OS X uses. 
1003 * NEW: New format (version 2) for Metadata in AppleDouble files. We record device and  
1004        inode of the underlying file as well as the CNID. This can be used for recovery
1005        and speeds up access to the CNID.
1006 * NEW: The old NLS codepage system has been removed. It was replaced by an iconv 
1007        based conversion system, which provides much more flexibility.
1008 * NEW: You can safely use extended characters in volume names and for SIGUSR2 messaging.
1009 * NEW: The default volume encoding is UTF-8.
1010 * NEW: All documentation is now generated using DocBook. New or completely reworked 
1011        sections about installing, setting up and upgrading Netatalk replace various 
1012        README files in the doc directory.
1013 * FIX: Protect afpd better against unexpected signals during updates of the CNID
1014        database with the cdb backend. This makes database corruption less likely.   
1015 * FIX: All manpages have been reviewed and should now be up to date.
1016 * FIX: Tons of bug fixes since 1.6.4. Please consults the CVS change log for details.
1017
1018 Changes in 1.6.4
1019 ================
1020
1021 * NEW: afpd: Using the mswindows option now implicitly specifies usedots.
1022   [Sam Noble]
1023 * UPD: afpd.8: Updated the option documentation.
1024   [Thomas Kaiser, Sebastian Rittau]
1025 * FIX: configure: Removed broken --with-flock-locks option. [Bjoern Fernhomberg]
1026 * FIX: libatalk: Do not log network probe (OSX 10.3). [Didier Gautheron]
1027 * FIX: libatalk: Deadlock in signal handlers. [Didier]
1028 * FIX: libatalk: Compilation with Linux kernel 2.6 fixed. [Sebastian, Bjoern]
1029 * FIX: afpd: Solaris compile issues. [Bjoern]
1030 * FIX: afpd: If connection broke in dsi_tickle the child did never die. [Bjoern]
1031 * FIX: afpd: Catsearch, fixes a possible segmentation fault. [Bjoern]
1032 * FIX: afpd: Compilation issues. [Olaf Hering, Sebastian]
1033 * FIX: cnid: Fix compile problems on Tru64. [Burkhard Schmidt]
1034 * FIX: megatron: Fixed an uninitialized variable. [Olaf]
1035 * FIX: installation: Don't overwrite PAM file if --enable-overwrite configure
1036        option is not set. [Sam, Ryan Cleary]
1037 * FIX: installation: Fixed BSD installation. [Toru TAKAMIZU]
1038 * FIX: docs: Removed ssl-dir/ssl-dirs confusion from doc/INSTALL. [Bjoern]
1039
1040 Changes in 1.6.3
1041 ================
1042
1043 * UPD: afpd: Infrastructural support for an upcoming Kerberos 5 UAM.
1044        [Sam Noble]
1045 * UPD: uams_dhx_passwd: Better random seed in Tru64. [Burkhard Schmidt]
1046 * FIX: afpd: Bug in AFP connection negotiation stage. [Sam]
1047 * FIX: afpd: Catsearch, when Mac and unix name differ, search on attributes.
1048 * FIX: afpd: Files could be opened for writing on read-only filesystems.
1049 * FIX: afpd: Debugging using SIGUSR1 was broken. [Stefan Muenkner]
1050 * FIX: afpd: Segfault after login. [Robby Griffin, Sean Bolton]
1051 * FIX: psf: Correct path to etc2ps.sh.
1052 * FIX: shell_utils: Don't distribute generated files.
1053 * FIX: aecho: -A option didn't work. [Chris Shiels]
1054 * FIX: configure: Berkeley DB path detection could be wrong. [Stefan]
1055 * FIX: Automake build fixes.
1056
1057 Changes in 1.6.2
1058 ================
1059
1060 * FIX: atalkd: Fixes for reading long configuration file lines. [Dan Wilga]
1061 * FIX: afpd: CNID id allocation in a multiuser environment.
1062 * FIX: papd: Fix PSSP support when PAM is enabled.
1063 * FIX: macusers: Can now cope with IP addresses as well as host names.
1064 * FIX: etc2ps.sh: Install correctly.
1065
1066 Changes in 1.6.1
1067 ================
1068
1069 * UPD: Improve --enable-fhs. [Olaf Hering]
1070 * UPD: Add BDB 4.1.x support.
1071 * UPD: Add more documentation on CNID, as well as list which versions
1072        of Berkeley DB are supported.
1073 * FIX: Codepage file maccode.koi8-r is now correctly cleaned.
1074 * FIX: Fix init script location on SuSE. [Olaf]
1075 * FIX: Build fixes. [Olaf, Steven N. Hirsch]
1076 * FIX: Various bugs when a user doesn't have access permission to a folder.
1077        (Fixes an OSX kernel panic.)
1078 * FIX: CNID, folders' DID handling with concurrent access or symlinks.
1079        (Fixes an endless loop in afpd.)
1080
1081 Changes in 1.6.0
1082 ================
1083
1084 * FIX: pap looks at the STDOUT file descriptor to see if it's connected to
1085        a tty, instead of STDIN.
1086
1087 Changes in 1.6pre2
1088 ==================
1089
1090 * UPD: Removed --with-catsearch option from configure and enable FPCatSearch
1091        by default.
1092 * UPD: The dbpath argument does now support variable substitution.
1093 * FIX: Build fix for non-GNU-C compilers in libatalk/util/logger.c.
1094 * FIX: Two directories with the same name but different case confused the
1095        Mac Finder.
1096 * FIX: The ROOT_PARENT directory could get invalidated.
1097
1098 Changes in 1.6pre1
1099 ====================
1100
1101 * NEW: Long file name mangling support.
1102 * NEW: Improved log file support.
1103 * NEW: Server-side find capability ("FPCatSearch")
1104 * NEW: Concurrent datastore (CDB) is now the default CNID datastore.  This
1105        should be heavily tested in a multiuser environment.
1106 * NEW: Variable substitution support has been added for the dbpath AppleVolume
1107        option.
1108 * UPD: CNID DID handling is now enabled by default.
1109 * FIX: Various bug and build fixes as well as code cleanups.
1110
1111 Changes in 1.5.5
1112 ================
1113
1114 * NEW: Allow afpd debugging to be enabled by sending the afpd process
1115        a SIGUSR1.
1116 * NEW: Allow SLP to be disabled per afpd process by adding a new -noslp flag
1117        to afpd.conf.
1118 * FIX: Use server name (if not NULL) for the SLP URL.
1119 * FIX: papd: buffer overflow during config file read (Olaf Hering)
1120
1121 Changes in 1.5.4
1122 ================
1123
1124 * FIX: File open read only and then read write (aka pb with Illustrator).
1125 * FIX: Problems with unexpected EOF when reading files on a ddp connection
1126        Photoshop, old finder.
1127 * FIX: --with-nls-dir option does now work
1128
1129 Changes in 1.5.3
1130 ================
1131
1132 * UPD: Extend the --disable-shell-check functionality to ignore users
1133        with _no_ shell.  Also, send a log message if a user is refused login
1134        based on the fact that they have no shell.
1135 * UPD: Autoconf updates.
1136 * UPD: Tru64 afpd authentication updates.
1137 * UPD: As always: lots of minor code cleanups.
1138 * FIX: Problems with Photoshop trying to open image files has been
1139        corrected.
1140 * FIX: Preserve special permission bits when creating or modifying
1141        directories.
1142 * FIX: afp_deleteid() now deletes the specified file and not the parent
1143        directory.
1144 * FIX: papd does now announce that it supports binary data to its clients.
1145 * FIX: NetBSD ELF support.
1146 * FIX: acleandir.rc is now installed in the bin directory.
1147 * FIX: megatron does now compile even if compiled with -DDEBUG.
1148 * FIX: Clean up some syslog messages.
1149
1150 Changes in 1.5.2
1151 ================
1152
1153 * NEW: NetBSD support contributed by David Rankin and NetBSD contributors.
1154        This includes a new configure option --enable-netbsd.
1155 * NEW: Add the -client_polling afpd.conf flag to allow for clients to poll
1156        the server every 10 seconds for open window updates.  Currently
1157        this is the only way to get asynchronous directory updates.
1158 * UPD: Use separate macro for AFS configure check.
1159 * UPD: Some Perl scripts are now (partially) auto-generated. This improves
1160        out-of-the-box usage of Netatalk.
1161 * UPD: Solaris Kernel Makefile is now auto-generated. This fixes some path
1162        issues, but isn't perfect, yet. Added some Solaris compatibility
1163        fixes to the Kernel sources, too.
1164 * UPD: CNID DB code sync'd with the current CVS version.  NOTE: Using this
1165        code requires you to delete _all_ existing .AppleDB directories in
1166        order to avoid database corruption!
1167 * FIX: The file AppleVolumes.system contained wrong line breaks so that
1168        not all file types were properly recognized.
1169 * FIX: AFS compilation would fail due to a misnamed variable.
1170 * FIX: SLP configure check was wrong so SLP did not compile.
1171 * FIX: Fix the way quotas are handled under certain situations.
1172 * FIX: Do not enable debugging code if debugging option is not set.
1173 * FIX: Some problems with wrongly assigned DIDs were fixed.
1174 * FIX: Various bug fixes and code cleanups.
1175
1176 Changes in 1.5.1
1177 ================
1178
1179 * NEW: Added a program called cnid_didname_verify that can be used to
1180        verify the consistency of the CNID database.
1181 * NEW: New afpd option: -timeout. Warning: This still doesn't do what it's
1182        supposed to!
1183 * UPD: Code cleanups and compatibility fixes to macusers.
1184 * UPD: AppleVolumes.system was cleaned up.
1185 * FIX: Really fix Tru64 compilation (see last entry).
1186 * FIX: Hand correct error value back to AFP client when deleting files or
1187        directories fails.
1188 * FIX: Leading or trailing spaces are now forbidden on volumes that have
1189        the AFPVOL_MSWINDOWS flag set.
1190 * FIX: Minor code cleanups and warning fixes.
1191 * FIX: Make quota support work on FreeBSD.
1192
1193 Changes in 1.5.0
1194 ================
1195
1196 * FIX: Compilation on Tru64 systems was broken, since libtool's acinclude.m4
1197        file on the packagers system did not contain the necessary patch.
1198 * FIX: On some systems, atalkd refuses to start, since it couldn't detect
1199        any interfaces. This was caused by an overzealous validity check.
1200
1201 Changes in 1.5rc2
1202 =================
1203
1204 * FIX: contrib/shell_utils/lp2pap.sh was erased when "make clean" was called.
1205        Now we distribute lp2pap.sh.tmpl instead, and lp2pap.sh is automatically
1206        generated during package build.
1207 * FIX: Some platforms (notably Tru64) don't have the snprintf() call, which
1208        was used in etc/afp/afp_config.c. This call was replaced by sprintf()
1209        and prior bounds checking.
1210
1211 Changes from the 1.4b1 release:
1212 ===============================
1213
1214 *   Fixed the maximum free/total volume size in afpd.
1215
1216 *   Made ~ the default volume in afpd.
1217
1218 *   Fixed pid file handling and changed setpgrp() to setpgid() in afpd,
1219     papd, and atalkd.
1220
1221 *   Added code to afpd to set the Unix file time stamps with utime().
1222
1223 *   Fixed a bug in papd's printcap code which limited it to 15 or so
1224     printers.
1225
1226 *   Fixed papd's handling of piped printers.
1227
1228 *   Fixed papd's handling of bad job names.
1229
1230 *   Fixed atalkd to send NBP LKUP packets from NBP port.
1231
1232 *   Added "sync;sync;sync" to Solaris kinstall to help with streams
1233     file corruption.
1234
1235 *   Added nlocalrts to streams ddp.conf.  Thanks Thomas Tornblom.
1236
1237 *   Fixed signed extension infinite loop in Solaris module.
1238
1239 *   Moved all the config files to .../config.
1240
1241 Changes from the 1.3.3 release:
1242 ===============================
1243
1244 *   Added code from Sun Microsystems, Inc (OPCOM) for Solaris support.
1245     See COPYRIGHT.
1246
1247 *   Added support for FreeBSD, mostly changes by Mark Dawson and Julian
1248     Elischer.
1249
1250 *   All sorts of other stuff.
1251
1252 Changes from the 1.3.1 release:
1253 ===============================
1254
1255 *   Added options to psf's filter names to support accounting on HPs.
1256     !!! NOTE:  The location of the filters has changed, see the man
1257     page for where.
1258
1259 *   Added code from Alan Cox to support Linux.
1260
1261 *   Rewrote papd.  Now handles dropped connections better.
1262     Configuration has been modernized.  !!! NOTE: The format of the
1263     configuration file has changed, but NOT THE NAME.
1264
1265 *   Added Kerberos support to papd.
1266
1267 *   atalkd now removes routes on a SIGTERM.  Still can't just restart
1268     it, but it's closer.
1269
1270 *   Changed atalkd and the kernel driver to remove a hack added to
1271     support sending to 0.255.  Now the kernel will allow multiple open
1272     sockets with the same port, so long as the addess associated with
1273     the port is different.  atalkd now opens a socket for each port on
1274     each interface.
1275
1276 *   atalkd now rewrites its configuration file.  If no configuration
1277     file is given, one will be generated.  Permissions on the new
1278     configuration file will be inherited from the old one.  If there is
1279     no old one, permissions default to 644.  Won't rewrite the file if
1280     the owner doesn't have write permission.
1281
1282 *   Removed support for the "AFS Kerberos UAM", in favor of the
1283     "AuthMan UAM".  Kerberos support should now be much more
1284     straight-forward.
1285
1286 *   Fixed a bug in afpd which would cause incorrect group calculations
1287     on ultrix machines.
1288
1289 *   Fixed a bug in afpd which causes SimpleText and some other
1290     applications to silently fail to write.  There's also a bug in
1291     MacOS, but we can't fix that.
1292
1293 *   Fixed a bad interaction with afpd and AFS which would cause file
1294     writes to not propogate between AFS clients.
1295
1296 *   !!! CHANGED the name(s) of afpd's config files.  The new files are
1297     AppleVolumes.system and AppleVolumes.default.  If AppleVolumes.system
1298     exists, it is always read, AppleVolumes.default is only read if the
1299     user has no AppleVolumes file.  Included a flag "-u" to indicate
1300     which file has precedence.  "-u" user wins, otherwise ".system"
1301     wins.
1302
1303 *   Rewrote the AppleVolumes parsing code.  Now works.
1304
1305 *   Added a filename extension mapping to afpd.  User always takes
1306     precedence, regardless of the "-u" flag.  Code to change the type
1307     of all Unix files contributed by Kee Hinckley <nazgul@utopia.com>.
1308
1309 *   afpd now supports both UFS and AFS volumes simultaneously.  It also
1310     uses access() to attempt to calculate reasonable Mac permissions
1311     for AFS directories.
1312
1313 *   Changed reporting of file times.  Files that are written from Unix
1314     now update the Mac's idea of the files modification time.  Unix
1315     mtime is now reported instead of ctime.
1316
1317 *   Added support for a new UAM to afpd.  This requires that client
1318     Macs have MacTCP and AuthMan installed.  Should make running afpd
1319     for AFS easier.
1320
1321 *   Removed code so that otherwise valid volumes for which the mounting
1322     user has no permission will appear in the volume selection dialog
1323     on the Mac gray-ed out.
1324
1325 *   Added code from Chris Metcalf of MIT to the AppleDouble library
1326     which improves permission inheritance.
1327
1328 *   Added code from G. Paul Ziemba of Alantec, Inc to better report
1329     errors in psf.  Also changed psf to use syslog for errors that
1330     users aren't interested in.
1331
1332 *   Added information to psf's man page to better explain the
1333     interaction between psf, pap, and lpd.
1334
1335 *   Make psf/pap/psa do accounting when it's turnes on in
1336     /etc/printcap.
1337
1338 *   Changed pap's error message when there is no printer specified on
1339     the command line and no .paprc is found.  Also heavily modified
1340     pap's man page to reflect changes in the "new" version of pap,
1341     including moving it from section 8 to section 1.
1342
1343 *   Fixed a byte-order bug in pap's sequence numbers.  Doubt if pap has
1344     ever worked right on little endian machines!
1345
1346 *   Added a flag to pap to optionally close before receiving EOF from
1347     the printer.  Off by default.  psf calls pap with this option on.
1348
1349 *   Added timeouts to the nbp library calls.  This means that processes
1350     won't hang when atalkd dies during boot, thus hanging your
1351     machine.
1352
1353 Changes from the 1.3 release:
1354 =============================
1355
1356 *   Fixed a bug in afpd which would cause APPL mappings to contain both
1357     mac and unix path names.  The fixed code will handle the old
1358     (corrupted) database.
1359
1360 *   Fixed a *very* serious bug which would cause files to be corrupted
1361     when copying to afpd.
1362
1363 *   Fixed a bug in afpd which would cause replies to icon writes to
1364     contain the written icon.
1365
1366 *   Filled in the function code switch in afpd.  Previously, a hacker
1367     could probably have used afpd to get unauthorized access to a
1368     machine running afpd.
1369
1370 *   Fixed a bug in the asp portion of libatalk.a which could cause the
1371     malloc()/free() database to be corrupted.
1372
1373 *   Fixed a bug in atalkd's zip query code.  With this bug, only the
1374     first N % 255 nets get queried.  However, since nets bigger than
1375     255 are usually pretty unstable, the unqueried for nets will
1376     eventually get done, when N drops by one.
1377
1378 *   Suppressed a spurious error ("route: No such process") in atalkd.
1379
1380 Changes from the 1.2.1 release:
1381 ===============================
1382
1383 *   atalkd is completely rewritten for phase 2 support.  atalkd.conf
1384     from previous version will not work!
1385
1386 *   afpd now has better AFS support.  In particular, the configuration
1387     for AFS was made much easier; a number of Kerberos-related
1388     byte-ordering and time problems were found; clear-text passwords
1389     were added (thanks to geeb@umich.edu).
1390
1391 *   afpd now handles Unix permissions much better (thanks to
1392     metcalf@mit.edu).
1393
1394 *   There are many, many more changes, but most are small bug fixes.
1395
1396 Changes from the 1.2 release:
1397 =============================
1398
1399 *   The Sun support now uses loadable kernel modules (a la VDDRV)
1400     instead of binary patches. As such, it should work on any sunos
1401     greater than 4.1, and is confirmed to work under 4.1.1 and 4.1.2.
1402
1403 *   The DEC support no longer requires source. It also runs under
1404     ultrix 4.1 and 4.2. It still requires patching your kernel, but the
1405     patches are limited to those files available to binary-only sites
1406     -- primarily hooks for things like netatalk.
1407
1408 *   The etc.rc script now uses changes made to nbprgstr (see below).
1409
1410 *   aecho now takes machine names on the command line.
1411
1412 *   nbplkup now takes a command line argument specifying the number of
1413     responses to accept. It also takes its defaults from the NBPLKUP
1414     environment variable.
1415
1416 *   nbprgstr may be used to register a name at any requested port.
1417
1418 *   afpd now logs if an illegal shell is used during login, instead of
1419     silently denying service.
1420
1421 *   A bug in afpd which caused position information for the directory
1422     children of the root of a volume to be ignored has been fixed.
1423
1424 *   Several typos in afpd which would cause include files necessary to
1425     ultrix to be skipped have been fixed.
1426
1427 *   atalkd will no long propagate routes to networks whose zone
1428     it doesn't know.
1429
1430 *   atalkd no longer dumps core if it receives a ZIP GetMyZone request
1431     from a network whose zone it doesn't know. (Since this currently
1432     can only happen from off net, it's not precisely a legal request.)
1433
1434 *   pap and papd (optionally) no longer check the connection id in PAP
1435     DATA responses. Both also maintain the function code in non-first-packet
1436     PAP DATA responses.  These changes are work-arounds to deal with
1437     certain AppleTalk printer cards, notably the BridgePort LocalTalk
1438     card for HP LJIIISIs.
1439
1440 *   pap no longer sends an EOF response to each PAP SENDDATA request,
1441     only the first.
1442
1443 *   A bug in papd which would cause it to return a random value when
1444     printing the procset to a piped printer has been fixed.
1445
1446 *   A bug relating to NBP on reverse-endian machines has been fixed.
1447
1448 *   atp_rsel() from libatalk now returns a correct value even if it
1449     hasn't recieved anything yet.
1450
1451 *   atalk_addr() from libatalk no longer accepts addresses in octal
1452     format, since AppleTalk addresses can have leading zeros. Also it
1453     checks that the separator character is a '.'.
1454
1455 *   Pseudo man pages for nbplkup, nbprgstr, and nbpunrgstr, have been
1456     added.
1457
1458 *   The example in the psf(8) man page is now correct.
1459
1460 *   The man pages for changed commands have been updated.
1461
1462 *   The README files for various machine have been updated
1463     appropriately.