s4:repl_meta_data LDB module - "dsdb_search_module_dn" already checks if len(res...
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Fri, 14 Oct 2011 07:25:56 +0000 (09:25 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Thu, 27 Oct 2011 16:52:29 +0000 (18:52 +0200)
commit3fe747538bc79633ed7039c6c001902bacecef04
tree8885519620a05eaa7588c66601e560479953e87e
parentd95b4c94978fad40b6cb052522aa191fe77c6663
s4:repl_meta_data LDB module - "dsdb_search_module_dn" already checks if len(res) == 1

No need to perform an additional check here. As a return value we should
always give back the original error code and not generate a new one (to
let the caller know what is going on).

Reviewed-by: abartlet
source4/dsdb/samdb/ldb_modules/repl_meta_data.c