s4 dsdb util: samdb_client_site_name use dsdb_domain_count
authorGary Lockyer <gary@catalyst.net.nz>
Wed, 13 Feb 2019 20:18:20 +0000 (09:18 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Feb 2019 04:03:24 +0000 (05:03 +0100)
commit2546f2609189ae6075f626de7eb9f63a083d3386
treef50be794d83ce31daff6e510c25d2cdf2f8d600e
parent7fc379ce867ed18e1d4ac508bea4a6b90c59300f
s4 dsdb util: samdb_client_site_name use dsdb_domain_count

Replace the call to samdb_search_count with dsdb_domain_count. As this
is the only remaining caller of samdb_search_count, replacing it will
allow the removal of samdb_search_count.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/common/util.c