s4:ldap_server: make sure we shutdown the tls socket before stream_terminate_connecti...
authorStefan Metzmacher <metze@samba.org>
Wed, 5 Aug 2009 08:05:56 +0000 (10:05 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 5 Aug 2009 08:10:14 +0000 (10:10 +0200)
commitf22408913846b2510352c60e6476b2a693e1a7ee
tree55cc8251a210f8d7d16288870b40e44daef80811
parente2ed5029e97671b307af06c9fff1d4f0442553a2
s4:ldap_server: make sure we shutdown the tls socket before stream_terminate_connection() removes the fd event

This fixes a crash bug where tls_destructor() relies on the fd event still being there.

metze
source4/ldap_server/ldap_server.c