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