summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-15 09:20:14 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-15 15:39:36 +1000
commit6c45eeb94430d9312c28e6f28da3c9d1db8156cc (patch)
treed4fe46d47efaad4e1ad3a95e0d3088653958b4eb /source4/dsdb
parent52ae57850006abeb5d2ca90deeebf83a989ccf01 (diff)
downloadsamba-6c45eeb94430d9312c28e6f28da3c9d1db8156cc.tar.gz
samba-6c45eeb94430d9312c28e6f28da3c9d1db8156cc.tar.bz2
samba-6c45eeb94430d9312c28e6f28da3c9d1db8156cc.zip
s4-repl: use consistent API calls for getting DN GUID
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/repl/drepl_ridalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/repl/drepl_ridalloc.c b/source4/dsdb/repl/drepl_ridalloc.c
index e394071c61..1869af8a1a 100644
--- a/source4/dsdb/repl/drepl_ridalloc.c
+++ b/source4/dsdb/repl/drepl_ridalloc.c
@@ -71,7 +71,7 @@ WERROR drepl_create_role_owner_source_dsa(struct dreplsrv_service *service,
}
sdsa->repsFrom1 = &sdsa->_repsFromBlob.ctr.ctr1;
- ret = dsdb_find_guid_attr_by_dn(ldb, fsmo_role_dn, "objectGUID", &sdsa->repsFrom1->source_dsa_obj_guid);
+ ret = dsdb_find_guid_by_dn(ldb, fsmo_role_dn, &sdsa->repsFrom1->source_dsa_obj_guid);
if (ret != LDB_SUCCESS) {
DEBUG(0,(__location__ ": Failed to find objectGUID for %s\n",
ldb_dn_get_linearized(fsmo_role_dn)));