Long time Manjaro user, but i am learning as I go. I don’t know much about PAM, but i know how to setup a samba password. That is all i have ever really done with PAM.
A recent update (not sure when) killed my ability to access or share any samba file shares. I have had this working for years and it stopped with some update. I have tried everything, including re-installing samba. This is all in my home network behind a router based firewall.
I have backed up my smb.conf file and restoring that does not help. I have about 8 other Linux boxes (mint, KDE Neon, Ubuntu, Windows 10, etc) that all work fine still. My Manjaro is no longer able to access any other machine or be accessed by any other machine.
I believe my PAM services are damaged. I don’t know how to re-install that and there are many warnings on the web to not touch it or i will be locked out. I spent months getting everything working including my outward facing web server and I hate to erase the whole system even though i have my HOME directory all backed up.
When i look at the status of sudo systemctl status smb this is what i get:
Mar 17 16:38:30 manjaro smbd[6047]: [2024/03/17 16:38:30.681619, 0] ../../source3/auth/pampass.c:592(smb_pam_account)
Mar 17 16:38:30 manjaro smbd[6047]: smb_pam_account: PAM: UNKNOWN PAM ERROR (9) during Account Management for User: michael
Mar 17 16:38:30 manjaro smbd[6047]: [2024/03/17 16:38:30.681653, 0] ../../source3/auth/pampass.c:800(smb_pam_accountcheck)
Mar 17 16:38:30 manjaro smbd[6047]: smb_pam_accountcheck: PAM: Account Validation Failed - Rejecting User michael!
Mar 17 16:50:25 manjaro smbd[4075]: pam_unix(samba:session): session closed for user nobody
Mar 17 17:36:29 manjaro smbd[9380]: pam_unix(samba:account): helper binary execve failed: Permission denied
Mar 17 17:36:29 manjaro smbd[9379]: [2024/03/17 17:36:29.041559, 0] ../../source3/auth/pampass.c:592(smb_pam_account)
I am the only user on my internal network and i don’t mind resetting my password of course.
I don’t want to lock myself out of logging in to the system which works fine. It is just my samba that I can’t access remotely and I can’t access any other machines on my network using samba.
I appreciate if you can suggest what I should study to fix this.
I debated posing my smb.conf, but that has worked for a long time, so I don’t think that is the problem.
Moderator edit: “How to” is a preface to a tutorial or what one would use to find a tuturial in a search engine. This is a support forum. Topic title edited.
In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text