[Samba] Do not allow login to member server
christian.naumer at greyfish.net
Thu Apr 27 10:43:25 UTC 2023
Am 27.04.23 um 12:30 schrieb Luis Peromarta via samba:
> Here I go again with the opposite question.
> Now that I got unix login working, I want to disallow unix login to memberr server for AD users. How shall I configure ? /dev/null for the unixshell in AD ? Or is there a system wide (per server) smb.conf setting I can use ?
you mean ssh login?
I am not aware that there is a smb.conf option for this. Maybe a pam
config option would work here not sure.
We do it via /etc/ssh/sshd_config
AllowGroups or DenyGroups
More information about the samba