s4-kcc: fixed a incorrect context to kcctpl_get_all_bridgehead_dcs
authorAndrew Tridgell <tridge@samba.org>
Tue, 28 Sep 2010 02:47:01 +0000 (19:47 -0700)
committerAndrew Tridgell <tridge@samba.org>
Tue, 28 Sep 2010 05:55:04 +0000 (22:55 -0700)
source4/dsdb/kcc/kcc_topology.c

index 9124fc798c4989599d863ad6b3ee82db92d282ae..eab7791a9ac0ea19a26ca99cfb327a472ed23f8d 100644 (file)
@@ -2782,7 +2782,7 @@ static NTSTATUS kcctpl_create_connection(struct kccsrv_service *service,
                return status;
        }
 
-       status = kcctpl_get_all_bridgehead_dcs(service->samdb, tmp_ctx,
+       status = kcctpl_get_all_bridgehead_dcs(service, tmp_ctx,
                                               r_site_guid, cross_ref,
                                               transport, partial_replica_okay,
                                               detect_failed_dcs,