The Samba-Bugzilla – Bug 450
Segfaults if unable to connect to DC for trusted dom enumeration (security=server)
Last modified: 2005-08-24 10:18:59 UTC
Samba 3.0.0rc1-rc4 all appear to suffer from a segfault when an attempt to
connect to a DC for enumeration of trusted domains fails. There is a very
simple fix for the segfault, which I'll attach shortly.
This may be tied to a change of behavior in the handling of 'security=server'
between beta2 and rc1; the user reports that in at least one case, a server that
exhibits this problem under rc3 is able to successfully connect to the server
Created attachment 140 [details]
Fix for segfault upon failed attempt to enumerate trusted domains
On error, we may have a NULL pointer instead of a cli_state struct. Check for
this in enumerate_domain_trusts() rather than passing the pointer to shutdown
functions that assume a validt struct.
Checked in. Thanks vorlon!
originally reported against one of the 3.0.0rc[1-4] releases.
Cleaning up non-production versions.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.