From fc72e30c8d007afa70cf90eec8a0f0cc5f5f42b0 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 23 May 2006 22:35:08 +0000 Subject: r15845: Ok. This was a tough one. If for some reason the tconX fails towards a domain controller the next time we connect this child ran into a segfault because it tried to reference a half-baked connection. Volker (This used to be commit c8a8204c744cf7aa1a1a6992a3433d99b6bb73a1) --- source3/nsswitch/winbindd_cm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c index 6322a33c02..c9e970c13c 100644 --- a/source3/nsswitch/winbindd_cm.c +++ b/source3/nsswitch/winbindd_cm.c @@ -372,6 +372,7 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain, result = NT_STATUS_UNSUCCESSFUL; cli_shutdown(*cli); + *cli = NULL; goto done; } -- cgit