s4:dsdb Add a memory context for dsdb_get_schema()
authorAndrew Bartlett <abartlet@samba.org>
Tue, 16 Mar 2010 03:41:51 +0000 (14:41 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 16 Mar 2010 08:25:14 +0000 (19:25 +1100)
commit1e6fee4185b726e532c98e0feec1121d59f734c5
treec7669da40c5b088ea143aab8399674dc6f0142ce
parentc874b9f42eebacd9ad6baa90309635db8b8ec3fb
s4:dsdb Add a memory context for dsdb_get_schema()

When specified, we talloc_reference onto this context to ensure that
pointers found in it are valid for the life of the objects they are
placed into.  (Such as the string form of LDAP attributes).

Andrew Bartlett
source4/dsdb/schema/schema_set.c