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)
committerMichael Adam <obnox@samba.org>
Fri, 30 Nov 2012 16:17:20 +0000 (17:17 +0100)
commit67045fafe8a826792a51a504aa85ee6d8e137059
treee3c6d99e5526c874ef46f2f2897869f7fec6f95f
parent690b5e11618eb0385272d6a003761db22369e620
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>
Reviewed-by: Michael Adam <obnox@samba.org>
source4/dsdb/samdb/ldb_modules/descriptor.c