git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52ae578
)
s4-repl: use consistent API calls for getting DN GUID
author
Andrew Tridgell
<tridge@samba.org>
Tue, 14 Sep 2010 23:20:14 +0000
(09:20 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 15 Sep 2010 05:39:36 +0000
(15:39 +1000)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/repl/drepl_ridalloc.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/repl/drepl_ridalloc.c
b/source4/dsdb/repl/drepl_ridalloc.c
index e394071c61096cbb814b67c25f2d09d85d3e4ce8..1869af8a1a66a9452eb20eb94d02897a47329d75 100644
(file)
--- 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)));