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