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