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