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