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