User authentication failing on macOS ARM #1860
-
Following up on Homebrew/homebrew-core#202713 (comment): I've installed the forthcoming I've tested using Intel macOS 13 and 14 VMs via VMware Fusion, an ARM macOS 13 VM via UTM, and an ARM macOS 14 Mac. On each I installed the formula, added On Intel:
On ARM:
I'll note that on ARM it's able to receive connections to a separate share with Has anyone else encountered this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
One idea that springs to mind is to make sure the PAM config path translates correctly on the affected systems. In the homebrew formula we defined the path with FWIW: My main testbed is an M1 Mac running macOS 15, and have not experienced this issue. So it's not a fundamental breakage on ARM Macs either... |
Beta Was this translation helpful? Give feedback.
I've found that copying
/opt/homebrew/etc/pam.d/netatalk
to/etc/pam.d
or/usr/local/etc/pam.d
allows authentication to immediately work, no server restart needed.Looking at the manpage for pam.conf, it seems macOS only searches
/etc/pam.d
and/usr/local/etc/pam.d
for policy files, and there doesn't seem to be a way to add any to the search path. This would explain why authentication happens to work when installed on Intel (with a Homebrew prefix of/usr/local
) but not on ARM (with/opt/homebrew
). Since writing to either path would requiresudo
, the formula would have to display a caveat that the file needs to be copied manually.