Search results

  1. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    Thanks for your feedback! Do you mean moving the "Show Server Status" link to the default tab (File Sharing Services), and keeping the rest under Global Settings, correct? I can see how that would make sense, in that a user would want to check the AFP server's response on the same page that...
  2. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    According to otool, the macOS system libraries we link with are: libSystem, libiconv and LDAP.framework. otool -L libatalk.19.dylib libatalk.19.dylib: @rpath/libatalk.19.dylib (compatibility version 19.0.0, current version 19.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0...
  3. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    While I don't think this will make a big difference for your issues, this inspired me to apply the other workaround supplied by Apple: To instruct the linker to inject a section in the compiled binary with the contents "__DATA,__objc_fork_ok". I have implemented and tested it in the PR below...
  4. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    What tooling to you use for debugging on macOS? Even on Linux, following forking processes in gdb is hit and miss in my experience. There might be a trick that I'm missing. Are you not able to use the "OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES" env variable workaround when developing? The article...
  5. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    The problem is that we link with several of Apple's ObjC libraries on macOS, which do have this policy restriction.
  6. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    I was thinking about this forking situation again recently. Pardon me if this discussed this in detail in a different thread and I forgot about it, but I would like to know more about how afpd's process forking is making your effort in writing a userspace AppleTalk stack more difficult. Using...
  7. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    @Mk.558 I had the inspiration to fiddle with the webmin module this morning. Can you please give me feedback on this approach to a tabbed interface? I thought about making the tabbed interface even more radically flat (f.e. exploding all global settings into top level tabs) however this would...
  8. slipperygrey

    TashRouter: An AppleTalk Router

    Have you escalated this to the kernel devs?
  9. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    I struggled with the debugclass option too. There's some binary arithmetic going on in main.c that I don't quite understand. But Jason's macipgw wiki page thankfully has a useful example that I have applied with success. Quoting:
  10. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    Software engineers don't like writing documentation. Man pages is what you get when you force them to do it anyways.
  11. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    Thanks for sharing your upgrade story! I'm still kind of amazed that you all are having a relatively smooth ride moving from 2.x to 4.0. :) So afppasswd is a little rough around the edges perhaps. Not the most user friendly app. The flow goes something like this: - The root user runs...
  12. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    I see what you're saying. The reason for not enabling the Webmin module by default is primarily a technical one, to do with my lack of skill with Meson scripting. I'm using a dirty workaround that leverages absolute paths in the build dirs to create and access the Webmin module distribution...
  13. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    Thanks for sharing your success story! What was your approach to upgrading the container? Did you just swap out the image in a docker-compose file and that was it?
  14. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    Nice catch. I pushed a fix to the main branch. The html manual will get updated when I publish the next bugfix release. Included where, you mean? The with-webmin Meson option will attempt to detect if Webmin is installed on your system, and if found will package and install the wbm tarball for...
  15. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    The part about starting atalkd before netatalk is a common pitfall, so I agree that it's worth calling out in more places. PR updated.
  16. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    @saybur This should address the gaps in the manual that you encountered. Please let me know if you have other improvement ideas. https://github.com/Netatalk/netatalk/pull/1609
  17. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    Conceptually the two do appear mutually exclusive. I think ideally, they should be combined into one option, with the code detecting whether you specify an interface name or IP addresses. But for starters, I agree the afp.conf man page should be updated. Good call-out. I think it's also...
  18. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    Heads-up that netatalk 4.0.0 is available now as a Debian Sid package. If you add the unstable repo to your package manager you can install it. Although I haven’t tested if all dependencies can be resolved on stable Bookworm or not. At the very least it works great on the latest Testing snapshot...
  19. slipperygrey

    Netatalk 4.0 - Future-proofing Apple File Sharing

    @robin-fo You are talking from the hypothetical scenario where we have a userland AppleTalk stack on macOS that someone might be developing? :)
  20. slipperygrey

    What to put on a Raspberry Pi 3 to act as an intermediary for classic Mac OS to print to a modern Laser printer

    I've tried to create a feature matrix at https://netatalk.io/ that might help give you an idea what Netatalk can do. The primary argument for running Netatalk instead is that you can have a low-powered Raspberry Pi (for example) doing file server duty rather than a gas guzzler of a G4. ;)
Back
Top