s4-dsdb: fixed use after free of sasl mechanisms opaque
authorAndrew Tridgell <tridge@samba.org>
Wed, 30 Jun 2010 03:49:05 +0000 (13:49 +1000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 2 Jul 2010 02:49:04 +0000 (12:49 +1000)
commitf9022a1a30dbe57c6b6226c1f3d749b0ba87ce66
tree4eba0a7f69bbdb4b58ac0aba02b72cc11cd99749
parent2671b5aeb0442b1c2a67ba9c43113ba3eec6bc15
s4-dsdb: fixed use after free of sasl mechanisms opaque

the supportedSASLMechanisms opaque must live for at least as long as
the ldb, or we can crash when the first connection is torn down

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/ldap_server/ldap_backend.c