[Samba] Do not allow login to member server

Rowland Penny rpenny at samba.org
Thu Apr 27 10:47:13 UTC 2023



On 27/04/2023 11:30, Luis Peromarta via samba wrote:
> 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 already know this ;-) (unless you are talking about SSH)
Either do not set the LoginShell attribute or set it to the template 
default /bin/false

Rowland




More information about the samba mailing list