r13606: An attempt to fix #3525.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 22 Feb 2006 00:26:56 +0000 (00:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:51:59 +0000 (13:51 -0500)
commitd0b8957f38fda4d84a318d6121ad87ba53a9ddb3
tree6c0d566fa062da71234462de11698ca30118e308
parentb0e7a58cc9e513240c117ad5464c613c7b62410d
r13606: An attempt to fix #3525.

The problem was that the supportedControls were being stolen into the
result sent to the client, then talloc_free()ed.  This caused them to
be invalid on the next rootDSE query.

This also tries to avoid attaching the result to the long-term samdb
context, and avoids an extra loop in the result processing (pointed
out by tridge).

Andrew BARtlett
source/dsdb/samdb/ldb_modules/rootdse.c
source/ldap_server/ldap_backend.c