[Samba] preexec and simultaneous logins

Andreas andreas at conectiva.com.br
Fri Mar 5 15:07:22 GMT 2004

While searching for a way to limit simultaneous logins to a
samba PDC/BDC, I found suggestions about using a preexec script.

This makes sense, I could plug such a script in the netlogon share
and parse smbstatus or something to find out if the user has already


What do I do then to deny the logon? Kill the smbd process that is
servicing this request? Won't the workstation just try again? Or
send a winpopup message?

More information about the samba mailing list