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