Netatalk 4.0 - Future-proofing Apple File Sharing

Mk.558

New Tinkerer
Nov 11, 2023
46
7
8
No error. Now to re-enter that all in line by line...

Screenshot at 2024-11-05 20-37-57.png

edit: Launched successfully with command line launch rather than the script. Problem is Fetch still says illegal PORT command from the server, so there must be a problem somewhere.
 
Last edited:

rdmark

Moderator
Staff member
Oct 3, 2021
157
223
43
More updates. Newly compiled 4.0.4 under Mint 22 once again.

No issues with the netatalk file server feature. I compiled for Webmin and got it all set up first, then built & compiled Netatalk. Seems like the Webmin module is still in beta status though:

View attachment 18549View attachment 18550

First image is after doing something simple, like changing the log file location. Simply errors out after saving.
Second image is today. Can't log in to it.

My immediate thought here is that Mint may not include the Perl libraries required by Webmin by default. Or shipping a Perl version that doesn't understand the double dollar sign notation... both seem unlikely though.

Anyhow, both errors are at lines in the codebase with double dollar sign notation, so the dereferencing of the pointer variable to the array data structure representing afp.conf is failing.

What does your afp.conf look like when this error is happening? Perhaps there's something in your afp.conf that when parsed by Perl turns into an invalid data structure. If we can find out what's triggering this, we can improve the error handling.
 

rdmark

Moderator
Staff member
Oct 3, 2021
157
223
43
No error. Now to re-enter that all in line by line...

View attachment 18553

edit: Launched successfully with command line launch rather than the script. Problem is Fetch still says illegal PORT command from the server, so there must be a problem somewhere.
Can you please run macipgw with debug output enabled and share the logs? The debug info was very helpful to me when I was having issues on Debian Testing. It will tell you exactly what is happening in the tunnel, data sent and received, etc.