GithubHelp home page GithubHelp logo

rdmark / netatalk-2.x Goto Github PK

View Code? Open in Web Editor NEW

This project forked from netatalk/netatalk

51.0 51.0 2.0 11.91 MB

Netatalk is an Open-Source AFP file server for Linux, NetBSD, and Solaris, capable of serving AppleShare over AppleTalk and TCP/IP with multiple Macintosh or Apple II clients.

License: Other

Shell 0.92% C 95.33% Lua 0.09% Perl 0.49% Makefile 0.95% M4 2.20% PostScript 0.01%

netatalk-2.x's People

Contributors

cardoe avatar christopherkobayashi avatar dgsga avatar franklahm avatar hat001 avatar jensksp avatar knu avatar m-emelchenkov avatar njroadfan avatar rdmark avatar sapfeer0k avatar saybur avatar sloowfranklin avatar slowfranklin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

saybur mrcodechef

netatalk-2.x's Issues

Random "Bad resource fork" and "malformed AppleDouble" errors

Ran across this one trying to netboot GS/OS. Testing indicates that 220401b and newer are effected by this bug. Bug is not present in netatalk-2.2.6. Logs follow:

Jan  4 19:50:07 a2server afpd: randnum/rand2num login: user1
Jan  4 19:50:07 a2server afpd: AFPVersion 2.0 Login by user1
Jan  4 19:50:07 a2server afpd: Volume /srv/A2SERVER/A2FILES use CNID scheme dbd.
Jan  4 19:50:07 a2server afpd: CNID server: localhost:4700
Jan  4 19:50:47 a2server afpd: ad_refresh: nentries 4  eid 0
Jan  4 19:50:47 a2server afpd: ad_header_read(): malformed AppleDouble
Jan  4 19:50:47 a2server afpd: getfilparams(Tool054): bad resource fork
Jan  4 19:50:47 a2server afpd: ad_refresh: nentries 4  eid 0
Jan  4 19:50:47 a2server afpd: ad_header_read(): malformed AppleDouble
Jan  4 19:50:47 a2server afpd: afp_openfork('Hƒì#010¾/Tool054'): ad_open: errno: 5 (Input/output error)
Jan  4 19:50:48 a2server afpd: ad_refresh: nentries 4  eid 0
Jan  4 19:50:48 a2server afpd: ad_header_read(): malformed AppleDouble
Jan  4 19:50:48 a2server afpd: getfilparams(Tool020): bad resource fork
Jan  4 19:50:48 a2server afpd: ad_refresh: nentries 4  eid 0
Jan  4 19:50:48 a2server afpd: ad_header_read(): malformed AppleDouble
Jan  4 19:50:48 a2server afpd: afp_openfork('Hƒì#010¾/Tool020'): ad_open: errno: 5 (Input/output error)
Jan  4 19:51:44 a2server afpd: ad_refresh: nentries 4  eid 0
Jan  4 19:51:44 a2server afpd: ad_header_read(): malformed AppleDouble
Jan  4 19:51:44 a2server afpd: getfilparams(Tool018): bad resource fork
Jan  4 19:51:44 a2server afpd: ad_refresh: nentries 4  eid 0
Jan  4 19:51:44 a2server afpd: ad_header_read(): malformed AppleDouble
Jan  4 19:51:44 a2server afpd: afp_openfork('Hƒì#010¾/Tool018'): ad_open: errno: 5 (Input/output error)

Client throws read errors for above files and halts booting GS/OS. Will continue to test older releases to try and isolate what commit introduced this problem.

Read-only filesystems and `-dbpath`

It looks like netatalk does not like it when the base directory of a share is mounted read-only at the filesystem level. As I read the docs, it seems like this should be OK as long as -dbpath is specified and placed somewhere that is read/write. However, if you try to specify a RO location with a RW dbpath, shares do not mount correctly on clients.

The example below is on Debian buster, where /mnt/shared is read-only in fstab, and is set up in AppleVolumes.default as follows:

:DEFAULT: options:upriv,usedots
/mnt/shared "Shared" options:ro dbpath:/var/cache/shared_db

After mounting this share on the client and double-clicking it, Mac OS seems to freeze up. On the server, this appears in syslog:

Aug 17 21:09:11 vesta cnid_metad[30997]: allocvolinfo("/mnt/shared"): No such file or directory
Aug 17 21:09:11 vesta afpd[31196]: read: Connection reset by peer

This is repeated once a second or so for ~15 seconds, then the following is reported. The client unfreezes and shows an empty share.

Aug 17 21:09:26 vesta afpd[31196]: transmit: Request to dbd daemon (db_dir /mnt/shared) timed out.
Aug 17 21:09:26 vesta afpd[31196]: Reopen volume /mnt/shared using in memory temporary CNID DB.
Aug 17 21:09:26 vesta afpd[31196]: Cannot find module named [tdb] in registered module list!

This is similar to the report from https://sourceforge.net/p/netatalk/mailman/message/28737511/ except for the tdb module missing message. Per NEWS it looks like the tdb backend is gone, so that might have something to do with this as well.

Anyway, this is easy enough to work around by ensuring that the base of a share is mounted R/W. Maybe this is documented somewhere and I just missed it. Otherwise, it might be a good idea to fail-fast and warn that sharing RO filesystems is not supported.

Compile failure on Ubuntu 18.04

Trying to build on Ubuntu 18.04. Invariably terminates with:

Makefile:871: ../../etc/afpd/.deps/test-uam.Po: No such file or directory
Makefile:872: ../../etc/afpd/.deps/test-unix.Po: No such file or directory
Makefile:873: ../../etc/afpd/.deps/test-volume.Po: No such file or directory
make[3]: *** No rule to make target '../../etc/afpd/.deps/test-volume.Po'.  Stop.
make[3]: Leaving directory '/net/src/net/netatalk/archive/Netatalk-2.x/test/afpd'
Makefile:429: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/net/src/net/netatalk/archive/Netatalk-2.x/test'
Makefile:482: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/net/src/net/netatalk/archive/Netatalk-2.x'
Makefile:412: recipe for target 'all' failed
make: *** [all] Error 2
Press any key to continue...

Please let me know what information you might need to debug this?

[papd] CUPS PPD API Deprecation

Right now papd uses the long deprecated CUPS PPD API to grab the current printer's PPD for its own use. Starting with CUPS 3.0, this API is going away as CUPS will no longer support printer drivers using that architecture. PPD files are not critical to papd's functioning. It is primarily used as a way to source responses to queries from clients regarding printer capabilities (printer name, color support, etc.).

One possible solution is to generate a "stub" PPD on the fly using IPP queries of the currently selected printer. This approach is already used by CUPS to support "driverless" printers behind-the-scenes, but is going away in 3.0 as well.

Alternative ssl library in install script

Since openssl 3 is now rolled out with the latest stable Debian and Ubuntu distros, I want to promote the use of alternative ssl implementations such as libressl or wolfssl.

The issue is that openssl 3.0 has introduced a minimum crypto length that breaks the implementation of DHX in OS9 and early OSX.

TimeLord is not working with atalkd in router mode

Any attempts to use the tardis application on a client Macintosh results in a "ding" and the time is not synced with the server.

Client: Quadra 605 running System 7.1 and tardis 1.6. tardis 1.3 was also tested.

Server: netatalk-2.x tested on both a x86_64 VM and ARM RPi 400. Both are running the latest patches for Debian 11/bullseye.

Choose the best default volume icon

In 2.2, there is logic for choosing a different mounted volume icon depending on certain criteria. I want to pick a default set of icons that are attractive and make sense today.

By default, it will pick an icon that looks similar to Apple's standard AppleShare icon, with slight variations depending on whether it's connected via DDP or DSI (the latter has a little globe icon on the tray as well).

If you turn on the -icon option in afpd.conf you get an icon based on platform ifdefs. However, those are all for long deprecated platforms (and the code is actually already removed in 2.x). The platforms and their corresponding icons are:

  • ultrix (declogo): a DEC logo on a tray
  • vax (daemon): what looks like the BSD demon mascot head on a tray -- I assume the Netatalk authors ran a BSD flavor on the VAXStations?
  • sun (sunlogo): a Sun logo on a tray
  • _IBMR2 (hagar): what looks like the head of a penguin wearing a horned helmet on a tray -- Hagar refers to the cartoon character. I am guessing IBMR2 refers to a flavor of AIX. Anyone knows the history behind this one? Was this an unofficial mascot for AIX?
  • the #else fallback (globe): a globe on a tray -- so boring!

I personally really like hagar and daemon. The daemon on a tray is the traditional mascot for Netatalk, and you can actually see his silhouette in the present-day Netatalk logo.

netatalk-icons

Building 2.2 on 64bit raspberry pi OS

Tried compiling and installing on a fresh install of 64 bit raspberry pi OS. Maybe I jumped the gun a little by jumping over to the new 64 bit OS...

Ran bootstrap then configured with the example given over on 68kmla.

./configure --enable-systemd --enable-ddp --enable-a2boot --enable-cups --enable-timelord --disable-zeroconf --disable-quota --sysconfdir=/etc --with-uams-path=/usr/lib/netatalk

When running make the following error occurs:

Making all in afpd
make[3]: Entering directory '/home/shade/source/Netatalk-2.x/etc/afpd'
gcc -DHAVE_CONFIG_H -I. -I../..    -DKAZLIB_TEST_MAIN -I../../include -I../../include -D_U_="__attribute__((unused))" -g -O2 -I../../sys -MT hash-hash.o -MD -MP -MF .deps/hash-hash.Tpo -c -o hash-hash.o `test -f 'hash.c' || echo './'`hash.c
mv -f .deps/hash-hash.Tpo .deps/hash-hash.Po
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -DKAZLIB_TEST_MAIN -I../../include -I../../include -D_U_="__attribute__((unused))" -g -O2 -I../../sys   -o hash hash-hash.o  -lpthread  -L../../libatalk
libtool: link: gcc -DKAZLIB_TEST_MAIN -I../../include -I../../include "-D_U_=__attribute__((unused))" -g -O2 -I../../sys -o hash hash-hash.o  -lpthread -L../../libatalk
gcc -DHAVE_CONFIG_H -I. -I../..    -DFCE_TEST_MAIN -I../../include -I../../include -D_U_="__attribute__((unused))" -g -O2 -I../../sys -MT fce-fce_api.o -MD -MP -MF .deps/fce-fce_api.Tpo -c -o fce-fce_api.o `test -f 'fce_api.c' || echo './'`fce_api.c
mv -f .deps/fce-fce_api.Tpo .deps/fce-fce_api.Po
gcc -DHAVE_CONFIG_H -I. -I../..    -DFCE_TEST_MAIN -I../../include -I../../include -D_U_="__attribute__((unused))" -g -O2 -I../../sys -MT fce-fce_util.o -MD -MP -MF .deps/fce-fce_util.Tpo -c -o fce-fce_util.o `test -f 'fce_util.c' || echo './'`fce_util.c
mv -f .deps/fce-fce_util.Tpo .deps/fce-fce_util.Po
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -DFCE_TEST_MAIN -I../../include -I../../include -D_U_="__attribute__((unused))" -g -O2 -I../../sys   -o fce fce-fce_api.o fce-fce_util.o ../../libatalk/libatalk.la -lpthread  -L../../libatalk
libtool: link: gcc -DFCE_TEST_MAIN -I../../include -I../../include "-D_U_=__attribute__((unused))" -g -O2 -I../../sys -o fce fce-fce_api.o fce-fce_util.o  ../../libatalk/.libs/libatalk.a -L../../libatalk -L../libatalk -lpthread
/usr/bin/ld: fce-fce_util.o:/home/shade/source/Netatalk-2.x/etc/afpd/directory.h:96: multiple definition of `invalid_dircache_entries'; fce-fce_api.o:/home/shade/source/Netatalk-2.x/etc/afpd/directory.h:96: first defined here
/usr/bin/ld: fce-fce_util.o:/home/shade/source/Netatalk-2.x/etc/afpd/volume.h:39: multiple definition of `current_vol'; fce-fce_api.o:/home/shade/source/Netatalk-2.x/etc/afpd/volume.h:39: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:590: fce] Error 1
make[3]: Leaving directory '/home/shade/source/Netatalk-2.x/etc/afpd'
make[2]: *** [Makefile:444: all-recursive] Error 1
make[2]: Leaving directory '/home/shade/source/Netatalk-2.x/etc'
make[1]: *** [Makefile:496: all-recursive] Error 1
make[1]: Leaving directory '/home/shade/source/Netatalk-2.x'
make: *** [Makefile:426: all] Error 2

Can't compile Netatalk-2.x on RPi3b

Please, suggest. I'm having hard times to compile netatalk-2.x. It stops on RPi3 with the following error:

Making all in initscripts
make[3]: Entering directory '/home/pi/Netatalk-2.x/distrib/initscripts'
make[3]: *** No rule to make target 'a2boot.service', needed by 'all-am'.  Stop.
make[3]: Leaving directory '/home/pi/Netatalk-2.x/distrib/initscripts'
make[2]: *** [Makefile:426: all-recursive] Error 1
make[2]: Leaving directory '/home/pi/Netatalk-2.x/distrib'
make[1]: *** [Makefile:479: all-recursive] Error 1
make[1]: Leaving directory '/home/pi/Netatalk-2.x'
make: *** [Makefile:409: all] Error 2

I'm using basic config:

$ ./bootstrap
$ ./configure --enable-systemd --enable-zeroconf
$ make

Fails to compile with GCC 12

GCC devs, in their wisdom, have added some more warnings. In particular, they're now warning on pointer use after realloc. This would be fine if it wasn't producing false positives. I've checked some of the first spots and it's bogus. There's already an unresolved bug report for that.

To compile with GCC-latest, you have to run:

make CFLAGS='-Wall -Werror -Wno-error=use-after-free -Wno-error=address -I$(top_srcdir)/include -D_U_="__attribute__((unused))" -g -O2 -I$(top_srcdir)/sys'

Obviously this needs fixing in the makefile, but I'm leaving how you want to do that up to you. There's an alternative where you set -Wuse-after-free to some lower number than the default 3.

Netatalk server disappears upon connecting

I get this error when connecting with OSX 11.6: "The operation can’t be completed because the original item for “appletalk” can’t be found" and the server window goes away, but I can try again with the same result. Trying to connect with an emulator running OS7 also fails with: "The connection to this server has been unexpectedly broken".

sudo journalctl /usr/local/sbin/afpd output:

Apr 07 20:55:27 SBCserver afpd[31180]: alarm: tickles: 30, flags: -|-|-|-|DSI_DISCONNECTED|-|-|-|-
Apr 07 20:55:30 SBCserver afpd[30992]: fdset_add_fd: adding fd 13 in slot 5
Apr 07 20:55:30 SBCserver afpd[30992]: main: polling 6 fds
Apr 07 20:55:30 SBCserver afpd[30992]: fdset_add_fd: adding fd 14 in slot 6
Apr 07 20:55:30 SBCserver afpd[30992]: main: polling 7 fds
Apr 07 20:55:30 SBCserver afpd[30992]: main: IPC request from child[32253]
Apr 07 20:55:30 SBCserver afpd[30992]: main: polling 6 fds
Apr 07 20:55:30 SBCserver afpd[32254]: dsi_stream_read(2 bytes)
Apr 07 20:55:30 SBCserver afpd[32254]: buf_read(2 bytes)
Apr 07 20:55:30 SBCserver afpd[32254]: buf_read(2 bytes): got: 2
Apr 07 20:55:30 SBCserver afpd[32254]: dsi_stream_read(2 bytes): got: 2
Apr 07 20:55:30 SBCserver afpd[32254]: dsi_stream_read(14 bytes)
Apr 07 20:55:30 SBCserver afpd[32254]: buf_read(14 bytes)
Apr 07 20:55:30 SBCserver afpd[32254]: buf_read(14 bytes): got: 14
Apr 07 20:55:30 SBCserver afpd[32254]: dsi_stream_read(14 bytes): got: 14
Apr 07 20:55:30 SBCserver afpd[32254]: dsi_stream_read(2 bytes)
Apr 07 20:55:30 SBCserver afpd[32254]: buf_read(2 bytes)
Apr 07 20:55:30 SBCserver afpd[32254]: buf_read(2 bytes): got: 2
Apr 07 20:55:30 SBCserver afpd[32254]: dsi_stream_read(2 bytes): got: 2
Apr 07 20:55:30 SBCserver afpd[32254]: AFP/TCP session from XXX.XXX.XX.241:56490
Apr 07 20:55:30 SBCserver afpd[32254]: dsi_stream_send(453 bytes): START
Apr 07 20:55:30 SBCserver afpd[32254]: dsi_stream_send(453 bytes): END
Apr 07 20:55:30 SBCserver afpd[30992]: child[32253]: exited 1
Apr 07 20:55:30 SBCserver afpd[30992]: main: polling 6 fds
Apr 07 20:55:30 SBCserver afpd[30992]: main: IPC request from child[32254]
Apr 07 20:55:30 SBCserver afpd[30992]: main: polling 5 fds
Apr 07 20:55:30 SBCserver afpd[30992]: child[32254]: done
Apr 07 20:55:30 SBCserver afpd[30992]: main: polling 5 fds
Apr 07 20:55:30 SBCserver afpd[30992]: fdset_add_fd: adding fd 13 in slot 5
Apr 07 20:55:30 SBCserver afpd[30992]: main: IPC request from child[32255]
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(2 bytes)
Apr 07 20:55:30 SBCserver afpd[30992]: main: polling 6 fds
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(2 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(2 bytes): got: 2
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(2 bytes): got: 2
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(14 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(14 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(14 bytes): got: 14
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(14 bytes): got: 14
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(6 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(6 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(6 bytes): got: 6
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(6 bytes): got: 6
Apr 07 20:55:30 SBCserver afpd[32255]: AFP/TCP session from XXX.XXX.XX.241:56491
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_send(12 bytes): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_send(12 bytes): END
Apr 07 20:55:30 SBCserver afpd[32255]: unload_volumes_and_extmap
Apr 07 20:55:30 SBCserver afpd[32255]: dircache_init: done. max dircache size: 8192
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_receive: START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_buffered_stream_read: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(16 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(16 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(16 bytes): got: 16
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(16 bytes): got: 16
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(24 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(24 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 24 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(24 bytes): got: 24
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(24 bytes): got: 24
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_receive: DSI cmdlen: 24
Apr 07 20:55:30 SBCserver afpd[32255]: DSI request ID: 2
Apr 07 20:55:30 SBCserver afpd[32255]: <== Start AFP command: AFP_LOGIN
Apr 07 20:55:30 SBCserver afpd[32255]: login noauth
Apr 07 20:55:30 SBCserver afpd[32255]: AFP3.3 Login by nobody
Apr 07 20:55:30 SBCserver afpd[32255]: obj->options.admingid == 0
Apr 07 20:55:30 SBCserver afpd[32255]: login: supplementary groups:  65534
Apr 07 20:55:30 SBCserver afpd[32255]: ==> Finished AFP command: AFP_LOGIN -> AFP_OK
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_cmdreply(DSI ID: 2, len: 0): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_send(0 bytes): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_send(16 bytes): DSI header, no data
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_write(send: 16 bytes): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_write(send: 16 bytes): END
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_cmdreply(DSI ID: 2, len: 0): END
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_receive: START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_buffered_stream_read: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(16 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(16 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(16 bytes): got: 16
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(16 bytes): got: 16
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(8 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(8 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 8 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(8 bytes): got: 8
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(8 bytes): got: 8
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_receive: DSI cmdlen: 8
Apr 07 20:55:30 SBCserver afpd[32255]: DSI request ID: 3
Apr 07 20:55:30 SBCserver afpd[32255]: <== Start AFP command: AFP_GETUSERINFO
Apr 07 20:55:30 SBCserver afpd[32255]: begin afp_getuserinfo:
Apr 07 20:55:30 SBCserver afpd[32255]: END afp_getuserinfo:
Apr 07 20:55:30 SBCserver afpd[32255]: ==> Finished AFP command: AFP_GETUSERINFO -> AFP_OK
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_cmdreply(DSI ID: 3, len: 6): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_send(6 bytes): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_send(6 bytes): END
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_cmdreply(DSI ID: 3, len: 6): END
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_receive: START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_buffered_stream_read: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(16 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(16 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(16 bytes): got: 16
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(16 bytes): got: 16
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(2 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(2 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 2 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(2 bytes): got: 2
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(2 bytes): got: 2
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_receive: DSI cmdlen: 2
Apr 07 20:55:30 SBCserver afpd[32255]: DSI request ID: 4
Apr 07 20:55:30 SBCserver afpd[32255]: <== Start AFP command: AFP_GETSRVPARAM
Apr 07 20:55:30 SBCserver afpd[32255]: load_volumes: user: nobody
Apr 07 20:55:30 SBCserver afpd[32255]: login: supplementary groups:  65534
Apr 07 20:55:30 SBCserver afpd[32255]: readvolfile: seeding default umask: 0000
Apr 07 20:55:30 SBCserver afpd[32255]: readvolfile: "/etc/netatalk/AppleVolumes.system"
Apr 07 20:55:30 SBCserver afpd[32255]: readvolfile: seeding default umask: 0000
Apr 07 20:55:30 SBCserver afpd[32255]: readvolfile: "/etc/netatalk/AppleVolumes.default"
Apr 07 20:55:30 SBCserver afpd[32255]: Parsing volset :upriv,usedots
Apr 07 20:55:30 SBCserver afpd[32255]: createvol: Volume 'appletalk'
Apr 07 20:55:30 SBCserver afpd[32255]: createvol: Volume 'appletalk' -> UTF8-MAC Name: 'appletalk'
Apr 07 20:55:30 SBCserver afpd[32255]: createvol: Volume 'appletalk' ->  Longname: 'appletalk'
Apr 07 20:55:30 SBCserver afpd[32255]: initvol_vfs: enabling EA support with native EAs
Apr 07 20:55:30 SBCserver afpd[32255]: ==> Finished AFP command: AFP_GETSRVPARAM -> AFP_OK
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_cmdreply(DSI ID: 4, len: 16): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_send(16 bytes): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_send(16 bytes): END
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_cmdreply(DSI ID: 4, len: 16): END
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_receive: START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_buffered_stream_read: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(16 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(16 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(16 bytes): got: 16
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(16 bytes): got: 16
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(2 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(2 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 2 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(2 bytes): got: 2
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(2 bytes): got: 2
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_receive: DSI cmdlen: 2
Apr 07 20:55:30 SBCserver afpd[32255]: DSI request ID: 5
Apr 07 20:55:30 SBCserver afpd[32255]: <== Start AFP command: AFP_GETSRVPARAM
Apr 07 20:55:30 SBCserver afpd[32255]: ==> Finished AFP command: AFP_GETSRVPARAM -> AFP_OK
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_cmdreply(DSI ID: 5, len: 16): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_send(16 bytes): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_send(16 bytes): END
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_cmdreply(DSI ID: 5, len: 16): END
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_receive: START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_buffered_stream_read: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(16 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(16 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(16 bytes): got: 16
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(16 bytes): got: 16
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(14 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(14 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 14 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(14 bytes): got: 14
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(14 bytes): got: 14
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_receive: DSI cmdlen: 14
Apr 07 20:55:30 SBCserver afpd[32255]: DSI request ID: 6
Apr 07 20:55:30 SBCserver afpd[32255]: <== Start AFP command: AFP_OPENVOL
Apr 07 20:55:30 SBCserver afpd[32255]: Volume /home/appletalk/afpshare use CNID scheme dbd.
Apr 07 20:55:30 SBCserver afpd[32255]: CNID server: localhost:4700
Apr 07 20:55:30 SBCserver afpd[32255]: cnid_dbd_open: Finished initializing cnid dbd module for volume '/home
/appletalk/afpshare'
Apr 07 20:55:30 SBCserver afpd[32255]: getvolparams: Volume 'appletalk'
Apr 07 20:55:30 SBCserver afpd[32255]: ad_update: checking whether '/home/appletalk/afpshare/.AppleDouble/.Pa
rent' needs an upgrade.
Apr 07 20:55:30 SBCserver afpd[32255]: ad_update: checking whether '/home/appletalk/afpshare/Network Trash Fo
lder/.AppleDouble/.Parent' needs an upgrade.
Apr 07 20:55:30 SBCserver afpd[32255]: ad_update: checking whether '/home/appletalk/afpshare/Temporary Items/
.AppleDouble/.Parent' needs an upgrade.
Apr 07 20:55:30 SBCserver afpd[32255]: ==> Finished AFP command: AFP_OPENVOL -> AFP_OK
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_cmdreply(DSI ID: 6, len: 4): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_send(4 bytes): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_send(4 bytes): END
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_cmdreply(DSI ID: 6, len: 4): END
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_receive: START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_buffered_stream_read: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(16 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(16 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(16 bytes): got: 16
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(16 bytes): got: 16
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(15 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(15 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 15 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(15 bytes): got: 15
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(15 bytes): got: 15
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_receive: DSI cmdlen: 15
Apr 07 20:55:30 SBCserver afpd[32255]: DSI request ID: 7
Apr 07 20:55:30 SBCserver afpd[32255]: <== Start AFP command: AFP_GETFLDRPARAM
Apr 07 20:55:30 SBCserver afpd[32255]: dirlookup(did: 2): START
Apr 07 20:55:30 SBCserver afpd[32255]: dirlookup(did: 2): RESULT: pdid: 1, path: "/home/appletalk/afpshare"

Apr 07 20:55:30 SBCserver afpd[32255]: came('/home/appletalk/afpshare'): {start}
Apr 07 20:55:30 SBCserver afpd[32255]: movecwd: from: curdir:"/home/appletalk/afpshare", cwd:"/home/appletalk
/afpshare"
Apr 07 20:55:30 SBCserver afpd[32255]: movecwd(to: did: 2, "/home/appletalk/afpshare")
Apr 07 20:55:30 SBCserver afpd[32255]: came('/home/appletalk/afpshare') {end: curdir:'/home/appletalk/afpshar
e', path:'.'}
Apr 07 20:55:30 SBCserver afpd[32255]: getfildirparams(vid:2, did:2, f/d:0000/1000) {cwdid:2, cwd: /home/appl
etalk/afpshare, name:'.'}
Apr 07 20:55:30 SBCserver afpd[32255]: of_statdir: stating: '../afpshare'
Apr 07 20:55:30 SBCserver afpd[32255]: ==> Finished AFP command: AFP_GETFLDRPARAM -> AFP_OK
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_cmdreply(DSI ID: 7, len: 10): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_send(10 bytes): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_send(10 bytes): END
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_cmdreply(DSI ID: 7, len: 10): END
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_receive: START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_buffered_stream_read: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(16 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(16 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(16 bytes): got: 16
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(16 bytes): got: 16
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(4 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(4 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 4 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(4 bytes): got: 4
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(4 bytes): got: 4
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_receive: DSI cmdlen: 4
Apr 07 20:55:30 SBCserver afpd[32255]: DSI request ID: 8
Apr 07 20:55:30 SBCserver afpd[32255]: <== Start AFP command: AFP_CLOSEVOL
Apr 07 20:55:30 SBCserver afpd[32255]: closing database connection for volume '/home/appletalk/afpshare'
Apr 07 20:55:30 SBCserver afpd[32255]: ==> Finished AFP command: AFP_CLOSEVOL -> AFP_OK
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_cmdreply(DSI ID: 8, len: 0): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_send(0 bytes): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_send(16 bytes): DSI header, no data
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_write(send: 16 bytes): START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_write(send: 16 bytes): END
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_cmdreply(DSI ID: 8, len: 0): END
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_receive: START
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_buffered_stream_read: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:30 SBCserver afpd[32255]: dsi_stream_read(16 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: buf_read(16 bytes)
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf: 16 bytes
Apr 07 20:55:30 SBCserver afpd[32255]: from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Apr 07 20:55:31 SBCserver afpd[32255]: select timeout 1 s
Apr 07 20:55:31 SBCserver afpd[32255]: buf_read(16 bytes): got: -1
Apr 07 20:55:31 SBCserver afpd[32255]: dsi_stream_read: len:-1, No such file or directory
Apr 07 20:55:31 SBCserver afpd[32255]: dsi_disconnect: entering disconnected state
Apr 07 20:55:39 SBCserver afpd[31157]: alarm: tickles: 31, flags: -|-|-|-|DSI_DISCONNECTED|-|-|-|-

Revised bootstrap checks require package "libtool-bin" on Debian 12.

As above. Installing package "libtool" isn't enough anymore. The actual libtool command requires package "libtool-bin" to be installed on Debian 12 systems, otherwise the bootstrap script will exit complaining about libtool not being installed. This may also be the case on other distributions as well.

Suggest revising documentation to install "libtool-bin" vs. "libtool"

Doc request: compatibility table

It would improve the usability of this fantastic effort of yours greatly if there were a compatibility table that clearly listed what combination of MacOS versions, MacTCP/OpenTransport versions, transports (ethernet, IP, localtalk) and, most importantly, netatalk authentication methods were compatible. I had to abandon trying to get it set up because the combinatorial complexity exceeded my tolerance for uninformed jiggery-pokery. At a minimum, it would be lovely if the authentication methods had their compatibility documented. I accept this info might be somewhere, but I couldn't find it in a reasonable amount of time.

Removal of HAVE_CONFIG_H macro directive causing "missing file" errors building macipgw

This issue cropped up when testing A2SERVER against newer releases of Netatalk-2.x. Since macipgw is built after the initial netatalk configuration and build, the generated config.h file is missing and will throw a "missing file" error and abort. This applies to any 3rd party programs that link to netatalk's headers as well.

Note that this is not an issue with netatalk-classic since that project folded macipgw into the main netatalk distribution.

This is the commit that removed the macro: https://github.com/christopherkobayashi/netatalk-classic/commit/fd796f7d027fe7aed65872d6b982123428a7ad49

Only the headers in "sys/netatalk" are referenced by macipgw.

configure does not run on Illumos (Tribblix 0m28)

Issue is related to https://github.com/rdmark/Netatalk-2.x/issues/13#issue-1341894646. Unable to run the config script on the system with the default configure.ac. Removed the comments on the lines added for Ubuntu in the linked issue and the config script ran fine.

Output shows as below with the default lines:
$ ./configure
Usage: . [ options ] name [arg ...]

I checked my autotools binary location and I am using autotools from pkgsrc.
Documenting the issue for building on Illumos.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.