s4-dsdb: added dsdb_search_one() and cleanup dsdb_find_dn_by_guid()
authorAndrew Tridgell <tridge@samba.org>
Tue, 16 Feb 2010 04:40:44 +0000 (15:40 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 16 Feb 2010 10:10:51 +0000 (21:10 +1100)
commitb630530730a710b7e850be2f848b1b85dbc25b4d
treece0c7edc9073fd1b4221e1e87043b4d5a6a35202
parent8f4a34272eb26e7c86ce8c0e158b5f6eabd10234
s4-dsdb: added dsdb_search_one() and cleanup dsdb_find_dn_by_guid()

dsdb_find_dn_by_guid() now takes a struct GUID instead of a
guid_string. All the callers in fact wanted a struct GUID, so we now
avoid the extra conversion.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/auth/ntlm/auth_sam.c
source4/dsdb/common/util.c
source4/dsdb/common/util.h
source4/dsdb/kcc/kcc_connection.c
source4/dsdb/kcc/kcc_drs_replica_info.c