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