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