Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-PAM DHX2 / DHCAST128 auth doesn't work on macOS #1865

Open
rdmark opened this issue Jan 10, 2025 · 1 comment
Open

Non-PAM DHX2 / DHCAST128 auth doesn't work on macOS #1865

rdmark opened this issue Jan 10, 2025 · 1 comment

Comments

@rdmark
Copy link
Member

rdmark commented Jan 10, 2025

An AFPERR_AUTHCONT error is thrown for the AFP_LOGIN_EXT command when attempting to authenticate with DHX2 or DHCAST128, compiled without PAM support, on a macOS host.

Using netatalk without PAM would be handy on macOS when netatalk is packaged with Homebrew, because brew is sandboxed by default and cannot write the PAM config file.

@rdmark rdmark changed the title Non-PAM DHX2 auth doesn't work on macOS Non-PAM DHX2 / DHCAST128 auth doesn't work on macOS Jan 10, 2025
@EricFromCanada
Copy link
Contributor

Doesn't traditional *nix-style auth rely on /etc/shadow, which macOS doesn't have? Fairly sure that non-PAM auth in that case would need to query Directory Services directly, with e.g. /usr/bin/dscl . auth username password.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants