dsdb-descriptor: Do not do a subtree search unless we have child entries
authorAndrew Bartlett <abartlet@samba.org>
Sun, 23 Jun 2013 09:47:35 +0000 (19:47 +1000)
committerStefan Metzmacher <metze@samba.org>
Wed, 24 Jul 2013 14:34:58 +0000 (16:34 +0200)
commit03b44d26fd17761675fe33ab29e8f325f59d8a5c
tree6abe734e451c38d0a3ecce1827d6e6730a82d8f3
parentca98d816cc898ed66a0aa065de65938bd4b71c1a
dsdb-descriptor: Do not do a subtree search unless we have child entries

This avoids a subtree search here in most cases where an object is deleted.

Andrew Bartlett

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