Segfault handling for preexec

Andrew Bartlett abartlet at samba.org
Tue Mar 8 08:13:41 GMT 2005


On Tue, 2005-03-08 at 09:08 +0100, Jan Engelhardt wrote:
> Hello list,
> 
> 
> 
> I once had the case where my preexec script/program segfaulted and logins were 
> refused. So here is yet another patch to allow logins if the preexec script 
> was killed. Once again, opinions please.
> http://linux01.org/~jengelh/samba_AS-sigfix.diff
> (Do not spend attention to the version numbers in the patch..., works with 
> 3.0.9 too)

Why should we allow access if the script failed, and the admin asked
that if the script failed, that the login be refused?

Isn't this something for the script to handle (if it is expected that
the script may segfault)?    

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20050308/1c82b0fd/attachment.bin


More information about the samba-technical mailing list