s4:dsdb/descriptor: always use descriptor_search_callback if we return nTSecurityDesc...
authorStefan Metzmacher <metze@samba.org>
Wed, 21 Nov 2012 14:24:46 +0000 (15:24 +0100)
committerStefan Metzmacher <metze@samba.org>
Sat, 24 Nov 2012 10:32:15 +0000 (11:32 +0100)
commitafb876ed7e0961c872e3e7e01f427cf6238c2a35
tree160334970411026332416ee805535a0e5e8dcc70
parent4ce0f40c33dc2d871620f45c2fadcfdce2f0b9fc
s4:dsdb/descriptor: always use descriptor_search_callback if we return nTSecurityDescriptor

If the nTSecurityDescriptor is explicitly specified
without the SD Flags control we should go through descriptor_search_callback().

This is not strictly needed at the moment, but makes the code clearer
and might avoid surprises in the future.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/samdb/ldb_modules/descriptor.c