sudo pacman -Syu pam lib32-pam
it re-installed with no error.
NOTE: testparm runs with no error.
here is what it says:
testparm ✔
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)
WARNING: The 'client ipc signing' value may mean SMB signing is not used when contacting a domain controller or other server. This setting is not recommended; please be aware of the security implications when using this configuration setting.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
client ipc signing = if_required
client min protocol = NT1
dns proxy = No
log file = /var/log/samba/%m.log
map to guest = Bad Password
max log size = 1000
name resolve order = lmhosts bcast host wins
obey pam restrictions = Yes
pam password change = Yes
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
passwd program = /usr/bin/passwd %u
security = USER
server min protocol = NT1
server role = standalone server
unix password sync = Yes
usershare allow guests = Yes
usershare max shares = 100
usershare path = /var/lib/samba/usershare
idmap config * : backend = tdb
force create mode = 0070
force directory mode = 0070
[homes]
comment = Home Directories
create mask = 0700
directory mask = 0700
read only = No
valid users = %S
[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/spool/samba
printable = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
after i updated the PAM install, i re-entered the smbpasswd
this is the status:
sudo systemctl status smb ✔
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; preset: disabled)
Active: active (running) since Sun 2024-03-17 18:30:10 CDT; 27min ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 1465 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 7 (limit: 38136)
Memory: 21.3M (peak: 49.1M)
CPU: 1.520s
CGroup: /system.slice/smb.service
├─1465 /usr/bin/smbd --foreground --no-process-group
├─1479 "smbd: notifyd "
├─1480 "smbd: cleanupd"
├─2878 "smbd: client [192.168.2.135]"
├─2914 "smbd: client [192.168.2.135]"
├─2998 "smbd: client [192.168.2.229]"
└─3040 "smbd: client [192.168.2.68]"
Mar 17 18:39:02 manjaro smbd[3058]: pam_unix(samba:account): helper binary execve failed: Permission denied
Mar 17 18:39:02 manjaro smbd[3057]: [2024/03/17 18:39:02.332807, 0] ../../source3/auth/pampass.c:592(smb_pam_account)
Mar 17 18:39:02 manjaro smbd[3057]: smb_pam_account: PAM: UNKNOWN PAM ERROR (9) during Account Management for User: michael
Mar 17 18:39:02 manjaro smbd[3057]: [2024/03/17 18:39:02.334847, 0] ../../source3/auth/pampass.c:800(smb_pam_accountcheck)
Mar 17 18:39:02 manjaro smbd[3057]: smb_pam_accountcheck: PAM: Account Validation Failed - Rejecting User michael!
Mar 17 18:39:17 manjaro smbd[3066]: pam_unix(samba:account): helper binary execve failed: Permission denied
Mar 17 18:39:17 manjaro smbd[3065]: [2024/03/17 18:39:17.731122, 0] ../../source3/auth/pampass.c:592(smb_pam_account)
Mar 17 18:39:17 manjaro smbd[3065]: smb_pam_account: PAM: UNKNOWN PAM ERROR (9) during Account Management for User: michael
Mar 17 18:39:17 manjaro smbd[3065]: [2024/03/17 18:39:17.731151, 0] ../../source3/auth/pampass.c:800(smb_pam_accountcheck)
Mar 17 18:39:17 manjaro smbd[3065]: smb_pam_accountcheck: PAM: Account Validation Failed - Rejecting User michael!
Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text