Until recently, my 3 main computers could all “see” each other over my home network:
Excalibur (dsktp. PC, Manjaro Linux)
Square Rigger (dsktp. PC, Manjaro Linux)
Ketch (notebook, MS Win 10)
However, about two weeks ago, Square Rigger became invisible to the other two computers, though they are visible to it.
By “Visible”, I mean that each computer could access specifically-shared directories on the other two. This was accomplished by Samba sharing (outbound) and CIFS mounting on lines in “/etc/fstab” (inbound).
But about two weeks ago, attempts to mount Square Rigger’s shared directories in Excalibur – say, “sudo mount /home/aragorn/net/SR/Lothlorien” – suddenly starting producing “mount error(13): Permission denied” errors. Whereas doing the opposite – getting on Square Rigger and doing “sudo mount /home/aragorn/net/EX/Celephais” – works fine.
So I did “sudo systemctl status smb.service” on both computers, with drastically different results:
I don’t see why not. Saves a lot of time, prevents typos, and preserves formatting, colors, non-text markings, etc.
Yes. But the real questions are “Why?” (something to do with that “unknown PAM error”?) and “What can be done about it?”.
That’s the first thing I thought, but no, that isn’t it. I made sure that OS user “aragorn” and Samba user “aragorn” both have the same password on both machines. And, passwords have not changed, and yet Square-Rigger stopped accepting incoming connections about 2 weeks ago. So it’s apparently not a password issue. Something else is going on, but I can’t tell what.
I just went through a similar issue adding a brand new Manjaro machine to my home network. I had the “smb_pam_account: PAM: UNKNOWN PAM ERROR (9)…” errors and it was super frustrating. I used the AppArmor commands I got from one of @linux-aarhus guides.
I’d be curious to know if that fixes your situation.