[Samba] Authentication hook to run extra checks before allowing Windows login

Sebastian Arcus s.arcus at open-t.co.uk
Fri Aug 30 16:12:49 UTC 2024


Hello all. Does Samba in AD mode provide any sort hooks to run a script 
when a user attempts to login, before replying to the authentication 
attempt? I need to prevent certain users from being logged in from more 
than one machine at the same time, and a script to check the username or 
account against a previously saved record of which machine they last 
logged in from and reject the authentication attempt might be able to 
accomplish this. Any ideas much appreciated.

Sebastian



More information about the samba mailing list