summaryrefslogtreecommitdiff
path: root/source4/dsdb/kcc/kcc_topology.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/dsdb/kcc/kcc_topology.c')
-rw-r--r--source4/dsdb/kcc/kcc_topology.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/kcc/kcc_topology.c b/source4/dsdb/kcc/kcc_topology.c
index 0b251b781b..72eb5e1137 100644
--- a/source4/dsdb/kcc/kcc_topology.c
+++ b/source4/dsdb/kcc/kcc_topology.c
@@ -1113,7 +1113,7 @@ static NTSTATUS kcctpl_get_all_bridgehead_dcs(struct ldb_context *ldb,
}
site = res->msgs[0];
- schemas_dn = samdb_schema_dn(ldb);
+ schemas_dn = ldb_get_schema_basedn(ldb);
if (!schemas_dn) {
DEBUG(1, (__location__ ": failed to find our own Schemas DN\n"));