summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-12-21 21:23:18 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-02 08:16:53 +1100
commit7a39340c8ecf4ac9475ae91f721dc979b19c030d (patch)
tree23b447856ab6cef9ec0ae7bf7746a3c9f00fc69c
parente3054ce0fe0f8f62d2f5b2a77893e7a1479128bd (diff)
downloadsamba-7a39340c8ecf4ac9475ae91f721dc979b19c030d.tar.gz
samba-7a39340c8ecf4ac9475ae91f721dc979b19c030d.tar.bz2
samba-7a39340c8ecf4ac9475ae91f721dc979b19c030d.zip
s4-drs: use dsdb_module_guid_by_dn()
We should not be going to the top of the module stack
-rw-r--r--source4/dsdb/samdb/ldb_modules/repl_meta_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
index 8603e1c3dd..4f3ce01cd0 100644
--- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
+++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
@@ -1172,7 +1172,7 @@ static int get_parsed_dns(struct ldb_module *module, TALLOC_CTX *mem_ctx,
status = dsdb_get_extended_dn_guid(dn, p->guid, "GUID");
if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) {
/* we got a DN without a GUID - go find the GUID */
- int ret = dsdb_find_guid_by_dn(ldb, dn, p->guid);
+ int ret = dsdb_module_guid_by_dn(module, dn, p->guid);
if (ret != LDB_SUCCESS) {
ldb_asprintf_errstring(ldb, "Unable to find GUID for DN %s\n",
ldb_dn_get_linearized(dn));