Be more careful in extended_dn_out
authorAndrew Bartlett <abartlet@samba.org>
Wed, 10 Dec 2008 03:20:20 +0000 (14:20 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 10 Dec 2008 03:20:20 +0000 (14:20 +1100)
commit9eec4bc2513c64115f5dc666a5cd91ba3294e98c
treed7f964dcd28ba316b592d68643714e6979d9b01e
parentc69f1d2806ec8c9008ace253510fd5568eab5000
Be more careful in extended_dn_out

This fixes the module to operate correctly when the init function has
not yet been called (say for a search during the initilisation of
another module), and to fix memory allocation issues in
dereference_control->dereference.

Andrew Bartlett
source4/dsdb/samdb/ldb_modules/extended_dn_out.c